Registry MenuREGISTRY MAINTENANCEFull screen

Microsoft ERU (Emergency Recovery Utility)
Regclean from Microsoft
Windows Registry Editor

      The registry in Windows 95 is constantly changing. If you move an icon, change you screensaver or visit a WEB site, your registry records it. And after a time it becomes huge. If it becomes corupted, Windows can or will be started in SAFE mode. If it senses that the registry is damaged it will copy a backed up set. This backup set was created the last time you got Windows to run in normal mode. Consequently, if a problem occurred but didn't block you from starting Windows, the backup registry copies are also corrupt. And you're up the creek without a paddle.

A Simple Backup

      A simple method of protecting yourself is simply to copy the important files to another location. There are 2 important files to copy:
c:\windows\system.dat
and
c:\windows\user.dat
These two files are automatically duplicated each time Windows sucessfully starts. The backup copies are:
c:\windows\system.da0
and
c:\windows\user.da0
Windows 98 can be set to keep several backup copies so you can undo recent changes if needed.

      Two other files you might want to make copies of are:
c:\windows\system.ini
and
c:\windows\win.ini
These two files do not change constantly. But they are needed to start Windows.

If you type:
dir c:\windows\system.dat
you will normally find nothing. This is because these four files:
user.dat, user.da0, system.dat and system.da0
are normally hidden. This also makes them hard to copy.

1) Start by typing:
attrib -r -h -s c:\windows\system.dat
attrib -r -h -s c:\windows\user.dat
This makes them "viewable" and "copyable", as they are no longer hidden.
2) Type:
copy c:\windows\system.dat c:\backup\
copy c:\windows\user.dat c:\backup\
copy c:\windows\win.ini c:\backup\
copy c:\windows\system.ini c:\backup\
Note: c:\backup\ is the path you choose for the backup.

      Now if Windows fails to boot after some modification or error, you can copy these files to the Windows directory and you might get it working. If you don't update these when you add new programs or make changes, your Windows will revert to the settings at the time you copied these files. If you removed programs since then, you may get errors that programs or files were not found. But generally, Windows will work.


 

EMERGENCY RECOVERY UTILITY

On the Windows install disk is a utility called ERU.EXE, Emergency Recovery Utility. On my disk it is in the OTHER\MISC\ERU\ directory on the CDROM. Run this program from Windows, either by finding it with MY COMPUTER or typing the full path in the RUN window. This will call up a simple menu. The Utility will make copies of the important files that you need to run windows and store them where you want. One of its options is Floppy A:. FORGET IT! The Registry is usually much larger than a floppy can hold all by itself. You can put it in a directory on you C: drive or any other location. By default it will name the directory ERD.

If the Windows fails or you just want to get back to the way it was when you made this backup, Boot in DOS mode. Change to the ERD directory (or what ever you named it) and type ERD. It will bring up a menu where you can restored those files and get Windows back the way it was.

You should run the ERU any time you have added programs or made changes that work correctly and want that to be you backup. It will keep multiple copies so you can pick how far back you want to go in time.

 

REGCLEAN From Microsoft
When programs are deleted and uninstalled, many time some of the registry entries are left intact. This can create conflicts for new programs being installed and leave you with an overgrown registry. It can also give you error messages if a file is not where the Registry is looking for it.

This program rebuilds the registry, trying to remove unnecessary entries. It can be downloaded form the Microsoft Website. See INFO: RegClean 4.1a Description and General Issues For useage and Download.

 

 

REGEDIT; THE WINDOWS REGISTRY EDITOR
This is not designed for the amateur. That's probably why it is not on the menus. Nor is there an icon for it. However, there are some automatic features you can use.

Open the Registry Editor by opening the RUN window on the START menu. Type REGEDIT and select OK. On the Registry menu select Export Registry File. This will make a text file copy of you Registry which you can look at with a Text editor or Wordprocessor program. You have to name the file and give a path to store it in.

You can also do this in DOS mode by changing to the c:\windows directory. Type:
Regedit /e c:\filename.txt

To rebuild the Registry at DOS type:
regedit /c c:\filename.txt
This is supposed to only add links that actually exist on your system eliminating links to programs that have been removed from the system.

More sophisticated are commercial programs such as Symantec Cleen Sweep.

PoliTalk Technical Menu
E-Mail

Comment to PoliTalk
Updated July 12, 2001
1