.REG files |
Hits: Failed to execute CGI : Win32 Error Code = 3
|
Information in c:\winnt\regscripts\yourscript.REG has been successfully entered into the registry.
As you can see above, I recommend that you create a \winnt\regscripts directory to store all .REG files you apply to your system. It makes a record of all changes made to your system and the scripts can be modified to undo the changes (in many cases by changing yes to no, 1 to 0 or whatever. It goes without saying the any registry change is dangerous. Unfortunately there is little choice in too many cases. Be sure to have a good backup BEFORE applying any registry hack.
The syntax of a .REG file:
REGEDIT4In the examples I give, I will always use the following form:
REGEDIT4
BLANK LINE GOES HERE
[HKEY_HIVE\KEY\KEY] @="keyvalue"
BLANK LINE GOES HERE
Replace the BLANK LINE GOES HERE with a blank line. The last character in a .REG file needs to be a carrage control. Just insert a blank line and press enter and then save the .REG file. Other examples:
REGEDIT4
BLANK LINE GOES HERE
[HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}] @="Trash"
BLANK LINE GOES HERE
REGEDIT4
BLANK LINE GOES HERE
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoStartBanner"="1"
BLANK LINE GOES HERE
On/Off keys are enabled with "1". Such keys are disabled by "0". Others are enabled with "yes", disabled with "no". Be careful, some keys are worded negatively and some positively - that is, "yes" or '1" can mean ON or it can mean OFF. Some keys have sliding numeric scale values 0-xxxx. Others have string values. No one rule.