The purpose of this page is to provide examples of Windows 7 .reg files. In addition, I will show you how to merge,
import apply these text files with your registry.
The concept is simple; create a text file with notepad, then type, or
copy and paste the relevant settings. Crucially, save not as a
.txt, but as a .reg file.
Once you have the information about the key, settings and values in
that file, typical Microsoft, there are at least three ways of importing
the information into your registry. There are also a couple of tricky ways that I only mention for completeness.
Double-click the .reg file.
Right-click the .reg file, select Merge from the drop-down menu.
With .Reg files remember that the second line should be blank.
The only oher problem with .reg files is their power. It's like
holding a loaded gun, if you fire it, then the text instructions shoot
into the registry. Just make sure they hit the right spot.
Unlike a real gun if you miss then nothing bad happens, it just does not
work.
Tip for Windows 7 .Reg Files
A simple idea, but effective tip is to launch regedit. This
editor provides a two-way troubleshooting street, you can see where in
the registry your script changes values. Also, you can export
registry settings to (re)create .reg files.
Favorites Menu
If you are working on a section in the registry, click on Favorites
(Menu), Add to favorites. Such a simple idea to remember obscure
registry settings, but so few people take advantage of this time-saver.
Once you have added the new values to the registry, what next? How do you view the
new settings? You could take the ruthless approach and reboot the machine. Alternatively, you could run through this progression:
Press F5 - This simple technique works in some contexts, e.g. desktop settings.
Close, then reopen the interface, e.g. Control Panel.
Log off / Log on. Works well for many of the HKCU settings.
Reboot, it's often the only way to see changes in the HKLM hive.
Guy
Recommends: Permissions Analyzer - Free Active Directory Tool
I like the
Permissions Monitor because it enables me to see quickly WHO has permissions
to do WHAT. When you launch this tool it analyzes a users effective NTFS
permissions for a specific file or folder, takes into account network share
access, then displays the results in a nifty desktop dashboard!
Think of all the frustration that this free utility saves when you are
troubleshooting authorization problems for users access to a resource.
Here are the settings
(xxx) that you must change in order for my example file to work on
your system.
"AutoAdminLogon"="1"
"DefaultUserName"="xxx" "DefaultPassword"="xxxx0xxxx" "DefaultDomainName"="xxx.xxx". Definitely needed in a domain situation.
Copy
the settings below into a text file. Make the amendments to suit your machine and username, save the file with .reg extension, for example Auto.reg. If necessary, refer to How to transfer the .reg settings
into the registry.
Media Change Notification (MCN) messages from the CD-ROM driver
will trigger AutoPlay. However, if these messages are
suppressed then the CD will not automatically start playing. You can
disable Autoplay by configuring the appropriate value of NoDriveTypeAutoRun. Here is an example .reg file.
The idea is to prevent one user inadvertently locking out another
user account. Stops the name of the last user displaying in the Logon dialog box. Here is my example .reg file:
The default in Windows Explorer 7 and earlier was 2. However, in
Windows Explorer 8 this has been increased to 6. Here is how to
increase to 10
Internet Explorer 8 Settings.
Windows Registry Editor Version 5.00
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_MAXCONNECTIONSPERSERVER
"iexplore.exe "=dword:0000000a
Note: dword:0000000a is ten in decimal.
Note: Observer that Internet ... Explorer wraps to the
next line.
Internet Explorer 7 and Lower Settings
These use FEATURE_MAXCONNECTIONSPER1_0SERVER instead of
FEATURE_MAXCONNECTIONSPERSERVER
Windows Registry Editor Version 5.00
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_MAXCONNECTIONSPER1_0SERVER
"iexplore.exe "=dword:0000000a
Thus utility makes it easy to check the health of a router or
firewall. Check the real-time performance and availability statistics for any device
on your network.
Is the example script below voodoo? It sure is magic. The code below will change the desktop icon called 'Computer' to display:
Username at MachineName. Copy the instructions below into a text file, save the file with .reg extension, for example Computer.reg.
Let me take a wild guess. Your organization is not called "Computer Performance", and, your RegisteredOwner is not "Guy". My point is that you should make changes
before you import my Owner.reg file.
Copy the instructions below into a text file, save the file with .reg extension, for example Arrow.reg. Note: For
this .reg example to work, you must get noarrow.ico, unzip and copy to Vista's \windows folder.
Note: In the .reg file you need a double
back-slash (D:\\W7\\noarrow.ico),
However, when you merge the .reg file with the registry, one of the
back-slashes gets removed.
Encouraging computers to sleep when not in use is a great idea -
until you are away from your desk and need a file on that remote sleeping machine!
Wake-On-LAN really will save you that long walk to awaken a hibernating
machine; however my reason for encouraging you to download this utility is
just because it's so much fun sending those 'Magic Packets'. As Wake-On-LAN (WOL) is free, see
if I am right, and you get a kick from arousing those sleeping machines.
WOL also has business uses for example, wakening machines so that they can have
their patches applied.
Disable the
annoying UAC 'Continue' pop-up box; copy and paste this .reg example into notepad, save with .reg extension. Double click and merge with your Vista registry.
Quite reasonably, the, very first line of your .reg file contains the name of the Registry editor. For
Windows 7, Vista, XP and Windows Server 2003 (8), the correct name is: 'Windows
Registry Editor Version 5.00'. Older registries such as Windows 95 and NT 4.0 use 'REGEDIT4'. Later registries are backwardly compatible, thus Vista understands 'REGEDIT4'. Incidentally, even though Vista's regedit reports to be version 6.0 in its Help / 'About'
menu, the .reg files that it
creates report to be from Version 5.00, strange but true.
Windows Registry Editor Version 5.00
; Created by Guy Thomas [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "Values"="settings"
Blank Lines
You need a blank line between each set of .reg paths. There is also a blank line between the Registry Editor Version, and the
first path. There is no need for a blank line between individual entries for the same path. (See first example in the blue table above.)
; Comments
If you create your own .reg
file, then it is possible to place judicious comments by preceding that line with a semi-colon.
Windows Registry Editor Version 5.00
; Created by Guy Thomas. Purpose to display the Build Number on the desktop [HKEY_CURRENT_USER\Control Panel\Desktop] "PaintDesktopVersion"=dword:00000001
; Created by Guy Thomas. Purpose to display the Build Number on the desktop.
»
Summary of Windows 7 .Reg Files Examples
The technique is the same for all these files. Copy my example into notepad, save the file with .reg extension, then double click and merge with your
registry. Remember to include the name of the Registry Editor, also keep the second line blank. In order to see the fruits of your work, try this progression: press f5 (refresh), logoff / logon,
finally try restarting your computer.
If you need more information on producing .reg files then check out this page:
How to create .reg files.
If you like this page then please share it with your friends