Click to See Complete Forum and Search --> : Clean the Registry - The Old Skool Way


Negative
June 18th, 2004, 02:14 PM
Here's a little trick to clean your registry for useless references:

Open a DOS prompt:

C:\>REGEDIT /E C:\REGFILE.TXT
C:\>REGEDIT /C C:\REGFILE.TXT


The first line will export the registry to a text-file (regfile.txt).
The second line restores the registry from that text-file. A nice "side-effect" of this method is that this will screen the programs in regfile.txt to check if they still exist. If they don't, they aren't restored.

mjk
July 10th, 2004, 07:19 AM
Got an error "Cannot import c:\regfile.txt: Not all data was successfully written to the registry. Some keys are open by the system or other processes."

Does this mean that it worked? Or does it mean I'm screwed? Or should I not worry about it? :)