Vista Registry Editor - Examples of .Reg Files
The purpose of this page is to provide examples of .reg files. In addition, I will show you how to merge these text files with your registry.
How to transfer the .reg settings into the registry
What to do once you have applied 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
♦
Typical Microsoft, there are at least three ways of transferring information from the .reg file. into your registry. There are also a couple of tricky ways that I only mention for completeness.
1. Double-click the .reg file
2. Right-click the .reg file, select Merge from the drop-down menu
3. Launch Regedit then select, File (menu) Import
4. Execute the command: Regedit /s path to xyz.reg
5. Create a VBScript file employing the .regwrite method
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 - It 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, often the only way to see HKLM changes.
Next, I have specific examples of .reg files.
Here are the settings that you must change in order for my Auto.reg 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.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon]
"AutoAdminLogon"="1"
"DefaultUserName"="Guyt"
"DefaultPassword"="P££sw0rd"
"DefaultDomainName"="cp"
Setting AutoAdminLogon requires you to restart the operating system.
For lots more information on AutoAdminLogon see here
Media Change Notification (MCN) messages from the CD-ROM driver 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.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer]
"NoDriveTypeAutoRun"=dword:00000091
See more on NoDriveTypeAutoRun