Windows 7 Registry .Reg Files
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.
- How to Import .Reg Files Into the Registry
- What To Do Once You Have Imported The .Reg File?
- AutoAdminLogon
- Autoplay – Disable with NoDriveTypeAutoRun
- Build Number and PaintDesktopVersion
- DontDisplayLastUsername
- Hide the Public Folder from the Vista Desktop
- Increase Simultaneous Downloads
- NoControlPanel – Disable the Control Panel
- Rename the Computer Icon
- Registered Owner – Classic Registry Editor Example
- Roaming Profile – Disable
- Shortcut – Remove Arrow
- UAC – Disable ConsentPromptBehaviorAdmin
♦
How To Import .Reg Files Into the 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.
- Launch Regedit then select, File (menu) Import.
- Execute the command: Regedit /s path to xyz.reg.
- Create a VBScript or PowerShell script.
Trap with .Reg Files
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.
What To Do Once You Have Imported The .Reg File?
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: A Free Trial of the Network Performance Monitor(NPM)v11.5
SolarWinds’ Orion performance monitor will help you discover what’s happening on your network. This utility will also guide you through troubleshooting; the dashboard will indicate whether the root cause is a broken link, faulty equipment or resource overload.
What I like best is the way NPM suggests solutions to network problems. Its also has the ability to monitor the health of individual VMware virtual machines. If you are interested in troubleshooting, and creating network maps, then I recommend that you try NPM now.
Download a free trial of Solarwinds’ Network Performance Monitor
Specific Examples of .Reg Files to Import Into Your Registry
AutoAdminLogon
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.
®