Vista Registry Editor - Examples of .Reg FilesVista Registry Editor - Examples of .Reg FilesThe 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 registryTypical 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.
What to do once you have applied the .reg fileOnce 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:
Next, I have specific examples of .reg files. AutoAdminLogonHere are the settings that you must change in order for my Auto.reg example file to work on your system. "AutoAdminLogon"="1" 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_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "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 . Autoplay - Disable with NoDriveTypeAutoRunMedia 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_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoDriveTypeAutoRun"=dword:00000091
See more on NoDriveTypeAutoRun Build Number and PaintDesktopVersionWhat this .reg file does is add a message displaying the Build Number to the bottom right of you desktop. Copy the instructions below into a text file, save the file with .reg extension, for example Build.reg. Then refer to How to transfer the .reg settings into the registry.
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Desktop] "PaintDesktopVersion"=dword:00000001
Note this registry setting is a dword (and not a REG_SZ), consequently, observe the colon and the lack of speech marks around the 000000001. See more on Vista Build Number DontDisplayLastUsernameThe 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:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] "dontdisplaylastusername"=dword:00000001
Copy the instructions below into a text file, save the file with .reg extension, for example NoDisplay.reg. See more on DontDisplayLastUsername Hide the Public Folder from the Vista Desktop
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\HideDesktopIcons]
Note: There was no Public folder on my Vista Desktop, thus, to see this registry hack in action I created an additional 'opposite' script. In this script I set the value of each dword
to zero: What this script below does, is to turn 'hide' off, in plain English, it displayed the Public folder on my Vista desktop. 'Opposite' Script to Display the Public Folder
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\HideDesktopIcons]
See more on Hide Public Folder Increase Simultaneous Downloads
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings] "MaxConnectionsPerServer"=dword:0000000a "MaxConnectionsPer1_0Server"=dword:0000000a
NoControlPanel - Disable the Control Panel
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoControlPanel"=dword:00000001 See more about NoControlPanel here Rename the Computer IconIs 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. Then refer to How to transfer the .reg settings into the registry. Perhaps it would be better to review this article before you start with the script below
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}] "LocalizedString"=hex(2):25,00,75,00,73,00,65,00,72,00,6e,00,61,00,6d,00,65,00,\ 25,00,20,00,61,00,74,00,20,00,25,00,63,00,6f,00,6d,00,70,00,75,00,74,00,65,\ 00,72,00,6e,00,61,00,6d,00,65,00,25,00,00,00
Notice that LocalizedString=hex(2): This is the way to script the data type called 'Expanded String'. What's encoded in hex is: %username% at %computername%. If you need to investigate further, then read this article. Registered Owner Classic Registry Editor ExampleLet 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 Owner.reg. Then refer to How to transfer the .reg settings into the registry.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion] "RegisteredOrganization"="Computer Performance" "RegisteredOwner"="Guy"
Here is the story of Evans Twp and RegisteredOwner Roaming Profile - DisableRegistry tweak to prevent roaming profiles saving on the local machine. Example registry .reg file.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System] "DeleteRoamingCache"=dword:00000001
Shortcut - Remove ArrowCopy 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.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Shell Icons]
See more details on how to remove arrows on shortcuts UAC - Disable ConsentPromptBehaviorAdminDisable 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.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] "ConsentPromptBehaviorAdmin"=dword:00000000 "EnableLUA"=dword:00000001
Summary of .reg examplesThe 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.
Watch a Vista Training Video Demo. Windows Vista Registry Tweaks:
^
|
|||||