Computer Performance, Windows Vista Registry

Vista Registry Editor - Examples of .Reg Files

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

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

What to do once you have applied 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 - 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.

AutoAdminLogon

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_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

Solarwinds Config GeneratorGuy Recommends: The Free Config Generator

SolarWinds' Config Generator is a free tool, which puts you in charge of controlling changes to network routers and other SNMP devices.  Boost your network performance by activating network device features you've already paid for.

Guy says that for newbies the biggest benefit of this free tool is that it will provide the impetus for you to learn more about configuring the SNMP service with its 'Traps' and 'Communities'. Try Config Generator now - it's free!

Download your free copy of Config Generator


Autoplay - Disable with NoDriveTypeAutoRun

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_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:00000091

See more on NoDriveTypeAutoRun


Build Number and PaintDesktopVersion

What 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


Guy Recommends:  A Free Trial of the Network Performance Monitor (NPM)Review of Orion NPM v11.5 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


DontDisplayLastUsername

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:

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]


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\HideDesktopIcons\NewStartPanel]
"{4336a54d-038b-4685-ab02-99bb52d3fb8b}"=dword:00000001


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\HideDesktopIcons\ClassicStartMenu]
"{4336a54d-038b-4685-ab02-99bb52d3fb8b}"=dword:00000001
 

 

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:
"{4336a54d-038b-4685-ab02-99bb52d3fb8b}"=dword:00000000.

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]


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\HideDesktopIcons\NewStartPanel]
"{4336a54d-038b-4685-ab02-99bb52d3fb8b}"=dword:00000000


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\HideDesktopIcons\ClassicStartMenu]
"{4336a54d-038b-4685-ab02-99bb52d3fb8b}"=dword:00000000
 

 

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

Recommended: Solarwinds' Permissions Analyzer - Free Active Directory ToolFree Permissions Analyzer for Active Directory

I like the Permissions Analyzer because it enables me to see WHO has permissions to do WHAT at a glance.  When you launch this tool it analyzes a users effective NTFS permissions for a specific file or folder, and takes into account network share access, then displays the results in a nifty desktop dashboard!

Think of all the frustration that this free SolarWinds utility saves when you are troubleshooting authorization problems for user's access to a resource.  Give this permissions monitor a try - it's free!

Download SolarWinds' Free Permissions Analyser - Active Directory Tool


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 Icon

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. 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 Example

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 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 - Disable

Registry 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 Arrow

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.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Shell Icons]
"29"="%SystemRoot%\\noarrow.ico,0"
 

See more details on how to remove arrows on shortcuts

Solarwinds Config GeneratorGuy Recommends: The Free Config Generator

SolarWinds' Config Generator is a free tool, which puts you in charge of controlling changes to network routers and other SNMP devices.  Boost your network performance by activating network device features you've already paid for.

Guy says that for newbies the biggest benefit of this free tool is that it will provide the impetus for you to learn more about configuring the SNMP service with its 'Traps' and 'Communities'. Try Config Generator now - it's free!

Download your free copy of Config Generator


UAC - Disable ConsentPromptBehaviorAdmin

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.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"ConsentPromptBehaviorAdmin"=dword:00000000
"EnableLUA"=dword:00000001

Summary of .reg 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

 


Windows Vista Registry Tweaks:

 

 *


Custom Search

Site Home

Guy Recommends: SolarWinds' NPM - Review of Orion NPM
Network Performance Monitor

SolarWinds' performance monitor is designed for detecting network outages, making it easy to see what's working, and what needs your attention.

This utility guides you through creating network maps; it also helps identifying whether the root cause is faulty equipment, or resource overload. Give NPM a try.

Download a free trial of Network Performance Monitor

Article by: Guy Thomas Copyright © 1999-2016 Computer Performance LTD All rights reserved.

Please report any broken link, or an error to: