Reg2CI
Reg2CI copied to clipboard
Error unable to convert
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\Client\RunVirtual] @=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\Client\RunVirtual\excel.exe] @="b57326c2-5a80-42a7-b633-a55e19f3f5d3_69c5de76-cd51-4797-9990-ee19d6de2613"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\Client\RunVirtual\outlook.exe] @="b57326c2-5a80-42a7-b633-a55e19f3f5d3_69c5de76-cd51-4797-9990-ee19d6de2613"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\Client\RunVirtual\powerpnt.exe] @="b57326c2-5a80-42a7-b633-a55e19f3f5d3_69c5de76-cd51-4797-9990-ee19d6de2613"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\Client\RunVirtual\winword.exe] @="b57326c2-5a80-42a7-b633-a55e19f3f5d3_69c5de76-cd51-4797-9990-ee19d6de2613"
I'm getting the following PowerShell as result, and it seems to be correct ?!?
if((Test-Path -LiteralPath "HKLM:\SOFTWARE\Microsoft\AppV\Client\RunVirtual") -ne $true) { New-Item "HKLM:\SOFTWARE\Microsoft\AppV\Client\RunVirtual" -force -ea SilentlyContinue };
if((Test-Path -LiteralPath "HKLM:\SOFTWARE\Microsoft\AppV\Client\RunVirtual\excel.exe") -ne $true) { New-Item "HKLM:\SOFTWARE\Microsoft\AppV\Client\RunVirtual\excel.exe" -force -ea SilentlyContinue };
if((Test-Path -LiteralPath "HKLM:\SOFTWARE\Microsoft\AppV\Client\RunVirtual\outlook.exe") -ne $true) { New-Item "HKLM:\SOFTWARE\Microsoft\AppV\Client\RunVirtual\outlook.exe" -force -ea SilentlyContinue };
if((Test-Path -LiteralPath "HKLM:\SOFTWARE\Microsoft\AppV\Client\RunVirtual\powerpnt.exe") -ne $true) { New-Item "HKLM:\SOFTWARE\Microsoft\AppV\Client\RunVirtual\powerpnt.exe" -force -ea SilentlyContinue };
if((Test-Path -LiteralPath "HKLM:\SOFTWARE\Microsoft\AppV\Client\RunVirtual\winword.exe") -ne $true) { New-Item "HKLM:\SOFTWARE\Microsoft\AppV\Client\RunVirtual\winword.exe" -force -ea SilentlyContinue };
New-ItemProperty -LiteralPath 'HKLM:\SOFTWARE\Microsoft\AppV\Client\RunVirtual' -Name '(default)' -Value '' -PropertyType String -Force -ea SilentlyContinue;
New-ItemProperty -LiteralPath 'HKLM:\SOFTWARE\Microsoft\AppV\Client\RunVirtual\excel.exe' -Name '(default)' -Value 'b57326c2-5a80-42a7-b633-a55e19f3f5d3_69c5de76-cd51-4797-9990-ee19d6de2613' -PropertyType String -Force -ea SilentlyContinue;
New-ItemProperty -LiteralPath 'HKLM:\SOFTWARE\Microsoft\AppV\Client\RunVirtual\outlook.exe' -Name '(default)' -Value 'b57326c2-5a80-42a7-b633-a55e19f3f5d3_69c5de76-cd51-4797-9990-ee19d6de2613' -PropertyType String -Force -ea SilentlyContinue;
New-ItemProperty -LiteralPath 'HKLM:\SOFTWARE\Microsoft\AppV\Client\RunVirtual\powerpnt.exe' -Name '(default)' -Value 'b57326c2-5a80-42a7-b633-a55e19f3f5d3_69c5de76-cd51-4797-9990-ee19d6de2613' -PropertyType String -Force -ea SilentlyContinue;
New-ItemProperty -LiteralPath 'HKLM:\SOFTWARE\Microsoft\AppV\Client\RunVirtual\winword.exe' -Name '(default)' -Value 'b57326c2-5a80-42a7-b633-a55e19f3f5d3_69c5de76-cd51-4797-9990-ee19d6de2613' -PropertyType String -Force -ea SilentlyContinue;
Do you get an error during conversion or is the result not correct ?