I am hoping someone can help with issues I am having using Regset64.
The value I am trying to set contains quotations and no matter what I have tried I can’t get it to apply correctly.
The machine is 64bit and I am trying to apply to the 64bit key not Wow6432Node key.
The key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
AppSetup=UsrLogon.cmd, cmstart.exe, c:\windows\syswow64\ssiwtslg.exe "C:\Program Files (x86)\Scalable Software\Survey\SSI Survey Client"
Exporting from registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AppSetup"="UsrLogon.cmd, cmstart.exe, c:\\windows\\syswow64\\ssiwtslg.exe \"C:\\Program Files (x86)\\Scalable Software\\Survey\\SSI Survey Client\""
I know you have to manually escape the backslashes but how do you handle the quotes? I have also tried replacing the inner set of quotes with "%22 followed by %22 after the last quote, but no luck with that either.
I can get it to apply to the 32bit registry correctly by doing the following:
createfile until end-reg-edit-commands
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon]
"AppSetup"="UsrLogon.cmd, cmstart.exe, c:\\windows\\syswow64\\ssiwtslg.exe \"C:\\Program Files (x86)\\Scalable Software\\Survey\\SSI Survey Client\""
end-reg-edit-commands
move __createfile setup.reg
wait regedit /s setup.reg
But since I am assuming that regedit is run by Bigfix client which is a 32bit app, it will only apply to 32bit registry?
Here is my action:
regset64 "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]" "AppSetup"="UsrLogon.cmd, cmstart.exe, c:\\windows\\syswow64\\ssiwtslg.exe \"C:\\Program Files (x86)\\Scalable Software\\Survey\\SSI Survey Client\""
any ideas what I am doing incorrectly?
Thanks for any help provided. Generally, its a pretty simple action, export registry, and use either regset or regset64 to apply the key to the correct location.
Scott