Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error unable to convert #8

Open
FreeJAC opened this issue Aug 29, 2020 · 1 comment
Open

Error unable to convert #8

FreeJAC opened this issue Aug 29, 2020 · 1 comment

Comments

@FreeJAC
Copy link

FreeJAC commented Aug 29, 2020

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"

@rzander
Copy link
Owner

rzander commented Aug 30, 2020

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants