Link to home
Start Free TrialLog in
Avatar of MIKOAKE
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\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoFileAssociate"=dword:00000000

Here is the error -
Cannot import fix.reg. Error accessing the registry
ASKER CERTIFIED SOLUTION
Avatar of flubbster
flubbster
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of MIKOAKE
MIKOAKE

ASKER

It funny how such a small detail could make such a big difference.

Thanks.