MIKOAKE
asked on
Editing HKEY_USERS using a .REG file
I am trying to use a .REG file to change the NoFileAssociate setting in HKEY_USERS, but it keeps giving me a error. The .REG file runs without any errors when I use HKEY_LOCAL_MACHINE but, it does not accomplish what I need.
Below is my code for HKEY_USERS -
Windows Registry Editor Version 5.00
[HKEY_USERS\DEFAULT\Softwa re\Microso ft\Windows \CurrentVe rsion\Poli cies\Explo rer]
"NoFileAssociate"=dword:00 000000
Here is the error -
Cannot import fix.reg. Error accessing the registry
Below is my code for HKEY_USERS -
Windows Registry Editor Version 5.00
[HKEY_USERS\DEFAULT\Softwa
"NoFileAssociate"=dword:00
Here is the error -
Cannot import fix.reg. Error accessing the registry
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This error usually means that the entries in the .reg file are not in the correct format. If you're not sure about the format, you could pull up a registry entry and save it to file, then copy the format from that .reg file.
ASKER
It funny how such a small detail could make such a big difference.
Thanks.
Thanks.