Make a
backup!
Because the registry is an essential Windows NT component, any file
corruption can cause serious problems. To avoid headaches, always back up the
registry before making any significant changes. To back up the registry,
follow these simple steps:
- Click Start | Run to open the Run pop-up box.
- Type regedit and click OK or press [Enter]
on the keyboard.
- From the Regedit window, click Registry | Export
Registry.
- Select the location where you want to save the
registry backup and click Save.
Your registry is now safely duplicated. If you are running Windows NT, you
should also update your Emergency Repair Disk (ERD) at this time.
| Not just
for your registry... |
| This advice
is not only applicable to the registry. Backing up system critical
files prior to changing them should always be your first step. If
something goes wrong, and it eventually will, a recent backup is
your quickest, and often only, solution. |
Starting Registry Editor
(Regedt32.exe)
There are two applications you will generally use when working with the
Windows registry”XRegedit, which we just used to make a backup of the
registry, and Registry Editor (Regedt32.exe). Both have their strengths and
weaknesses, but for the following procedures, we will be using Registry Editor
(Regedt32.exe) exclusively. To run this application, click Start | Run, type regedt32
and click OK or press [Enter].
Setting the initial [Num
Lock] position
To set the [Num Lock] key automatically to ON when Windows NT boots, open
Registry Editor and navigate to the following key:
HKEY_CURRENT_USER/Control Panel/Keyboard/
InitialKeyboardIndicators
Set this value to 2.
Hiding the last login user
ID
When logging on to Windows NT, the user ID of the last successful logon is
displayed in the Login dialog box. To disable this so that no user ID appears,
open Registry Editor and navigate to the following key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\
Current Version\WinLogon\
Add a new value called "DontDisplayLastUserName" as a REG_SZ data
type, with a value of 1.
Disabling CD-ROM Autorun
Windows NT automatically runs CD-ROMs placed in the CD-ROM drive. To
disable the CD Autorun feature, open Registry Editor and navigate to the
following key:
HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/Cdrom
Set the Autorun value to 0.
Removing uninstalled
applications from the Add/Remove Programs box
Sometimes after uninstalling an application, it's not always removed from
the Add/Remove Programs box. The uninstall may have failed or just not
finished. If you then try to remove the program from the Add/Remove Programs
box, you may get an error message. If you know you've already uninstalled a
program and need to remove it from the Add/Remove Programs box, open Registry
Editor and navigate to the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
\Currentversion\Uninstall
From here, you should see a list of all applications appearing in the
Add/Remove Programs box. Delete the desired program's folder, and it's gone.