Script registry key verification ALWAYS fails.
The first step I go for is to verify a registry key exist - we don't want this thing annoying people that already have it removed so I chose in Verify:
1. Verify a Registry Key Exist
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\00004109110000000000000000F01FEC\Patches\5DD666CF85A8B104B9E1C2BB5491238E
I didn't put quotes, of course when it failed I tried quotes, but it doesn't get much more specific than that. Even when running again a the system I exported that key from then copy-pasted the key into the blank it fails every single time. Is there something I'm missing here?
1. Verify a Registry Key Exist
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\00004109110000000000000000F01FEC\Patches\5DD666CF85A8B104B9E1C2BB5491238E
I didn't put quotes, of course when it failed I tried quotes, but it doesn't get much more specific than that. Even when running again a the system I exported that key from then copy-pasted the key into the blank it fails every single time. Is there something I'm missing here?
3 Comments
[ + ] Show comments
Answers (0)
Please log in to answer
Be the first to answer this question
If it is 64-bit put HKLM64 instead of HKEY_LOCAL_MACHINE. - flip1001 9 years ago