Evening all,
I am just curious on the best way to install software that needs to write to HKCU, I have a client that has some software that is custom and they are new to AVD. I have set them up with FSLogix and multi-session but this one bit of software needs to write to the following locations :
Set-RegistryKey -Key 'HKCU\Software\Microsoft\VSTO\SolutionMetadata\{20770A70-7470-49B6-B565-1FA1398189D5}' -Name 'PreferredClr' -Value 'v4.0.30319' -Type String -SID $UserProfile.SID
Set-RegistryKey -Key 'HKCU\Software\Microsoft\VSTO\SolutionMetadata\{219EEE1C-85C7-49F9-AC95-CB3BA073FD77}' -Name 'PreferredClr' -Value 'v4.0.30319' -Type String -SID $UserProfile.SID
Set-RegistryKey -Key 'HKCU\Software\Microsoft\VSTO\SolutionMetadata\{3ED92CF8-2820-4570-A4A8-67DAA4E07E73}' -Name 'PreferredClr' -Value 'v4.0.30319' -Type String -SID $UserProfile.SID
Set-RegistryKey -Key 'HKCU\Software\Microsoft\VSTO\SolutionMetadata\' -Name 'C:\ProgramData\UpSlide\Binaries\Finance3point1.UpSlide.Excel.vsto' -Value '{20770A70-7470-49B6-B565-1FA1398189D5}' -Type String -SID $UserProfile.SID
Set-RegistryKey -Key 'HKCU\Software\Microsoft\VSTO\SolutionMetadata\' -Name 'C:\ProgramData\UpSlide\Binaries\Finance3point1.UpSlide.PowerPoint.vsto' -Value '{219EEE1C-85C7-49F9-AC95-CB3BA073FD77}' -Type String -SID $UserProfile.SID
Set-RegistryKey -Key 'HKCU\Software\Microsoft\VSTO\SolutionMetadata\' -Name 'C:\ProgramData\UpSlide\Binaries\Finance3point1.UpSlide.Word.vsto' -Value '{3ED92CF8-2820-4570-A4A8-67DAA4E07E73}' -Type String -SID $UserProfile.SID
What is the best way to solve this? I did suggest GPO but they really would like it done another way, they are not using intune as yet otherwise I could have written a run-as-user script.
Any ideas?
Comments (4 comments)