There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tech Tips & Tricks
Tag Cloud
audio blue screen boot bsod computer cpu crash dell desktop driver drivers dvd error excel external hard drive firefox format freezes freezing hard drive hardware hijackthis internet internet explorer ipod itunes laptop malware mouse network networking outlook 2007 power printer problem ram router screen slow sound trojan upgrade usb virus vista vista 32-bit windows windows xp winxp wireless
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > General Technology > Tech Tips & Tricks >
Clean your registry with stuff you already have-W95 Only


Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
LarryCore's Avatar
Distinguished Member with 5,244 posts.
 
Join Date: Aug 1999
Location: Rockford, IL
Experience: Advanced
24-Dec-1999, 06:36 PM #1
The method below worked wonders for me - it cut out over a megabyte from my SYSTEM.DAT file and almost 150K from my USER.DAT file. I wish I knew who had written in, but I don't. I picked it up a while ago...

If someone knows where it came from, let us know so proper credit can be given.
------------------------------------------------------
This method is virtually foolproof for cleaning the registry, without the dreaded crashes associated with editing it.
Follow the instructions exactly!
Beware, this may take some hours to complete, depending on fragmentation of your HD, size of your vcache, size of HD, number of programs you have.

Shut down everything in the taskbar.
Do a thorough scandisk.
Do a thorough defrag.
Copy SYSTEM.DAT and USER.DAT to your root C: drive. (they're in
the c:\windows directory)
START > RUN > REGEDIT.EXE
Select REGISTRY > EXPORT REGISTRY
At the flashing cursor, type: C:\TEMP.REG and hit Enter.
START > SHUTDOWN > RESTART in DOS MODE
At the C:\Windows prompt, type: REGEDIT /C C:\TEMP.REG
Wait several hours.
When it completes, type EXIT to return to windows.

Remember this could take several hours to complete. Even if it seems to
hang, leave it and walk away, it will work.
It seems to hang around 20%, and again at about 80%, this is normal, and
it will continue!

Providing your system does not overheat, and crash, it will work.

When it's done, compare the size of your old user.dat and system.dat files (in root C to the new ones in the C:\windows dir). Remember that this is pure text, and a 2k difference is a lot of data.

If everything is working fine, delete user.dat, system.dat, and temp.reg from the root c dir.

Cheers, and good luck.

p.s. There is no software anywhere that will clean out the registry of invalid references like this method, and this is free!
Alexiyies's Avatar
Junior Member with 24 posts.
 
Join Date: Nov 1999
24-Dec-1999, 09:55 PM #2
What are the user.dat and system.dat files for?

My user.dat file is 445k, my system.dat is 2.5 megs...
LarryCore's Avatar
Distinguished Member with 5,244 posts.
 
Join Date: Aug 1999
Location: Rockford, IL
Experience: Advanced
25-Dec-1999, 11:34 AM #3
They are your Registry. They contain all sorts of information about your hardware and software.
Ratboy's Avatar
Senior Member with 938 posts.
 
Join Date: Feb 1999
Location: La Verne, CA USA
Experience: Know how to handle a mouse
25-Dec-1999, 07:22 PM #4
Larry,

Could you explain what the "REGEDIT /C C:\TEMP.REG" command does?

How does running the command "REGEDIT /C" on a copy of the registry effect the actual registry?

Just curious.
LarryCore's Avatar
Distinguished Member with 5,244 posts.
 
Join Date: Aug 1999
Location: Rockford, IL
Experience: Advanced
26-Dec-1999, 10:50 AM #5
Well, like I said, I didn't write the article...

But, if I understand it correctly /C stands for compress. What it does is take the .REG file that you specify and search through it for references to things that no longer exist. It removes those entries while creating new SYSTEM.DAT and USER.DAT files.

Again, this is just my understanding of the command - I am not 100% sure about this.

The longer you have used windows and the more things you have added/removed, the more bad entries you will have. There was a BIG difference in mine because the machine had been using 95 since 1995 with lots of installs and removals of programs.
Ari's Avatar
Ari Ari is offline Ari has a Profile Picture
Senior Member with 278 posts.
 
Join Date: Aug 1999
Location: Perry, IA
Experience: Intermediate
26-Dec-1999, 05:30 PM #6
I tried it on mine. THANKFULLY it only took about 20 minutes.

System.dat and User.dat went from 4233K/677K to 4073K/649K.

Just for the heck of it I exported another copy of the registry, wierd thing the first one was 4992K and the one I JUST did was up to 4994K.

------------------
To err is human, to really foul things up you need a computer.
Ratboy's Avatar
Senior Member with 938 posts.
 
Join Date: Feb 1999
Location: La Verne, CA USA
Experience: Know how to handle a mouse
26-Dec-1999, 07:22 PM #7
Thanks for the info Larry. Always good to learn something new.
LarryCore's Avatar
Distinguished Member with 5,244 posts.
 
Join Date: Aug 1999
Location: Rockford, IL
Experience: Advanced
26-Dec-1999, 10:58 PM #8
Ari - yeah, that isn't too surprising. The first time through it does a great job - doing it a second time right away is a waste of time, and much like ZIPping a file that is already ZIPped it can add overhead.
mike private's Avatar
Junior Member with 13 posts.
 
Join Date: Dec 1999
29-Dec-1999, 06:10 AM #9
Hi, just a couple of extra bits of info re compacting the registry.
It compacts by exporting the registry in its entirety,empty lines where previous settings were,included.
When imported back, it imports only the lines of text/data. (no empty spaces).
1.Run regclean several times (or your prefered regcleaner) prior to compacting to remove unwanted entries.
2.When in real dos mode (F8 | Command Prompt only) type :
Smartdrv (befor typing in regedit commands)
This will speed up the process considerably.
You can add: C+10240 (or any multiple of RAM) :

Smartdrv C+10240 (if C is your windows drive)

3.Reimporting the compacted file in DOS can sometimes cause an error if it is too large for avaible conventional memory. (Article Q132064 at MS.)
4.Also win95 and win95a, should have an updated version of REGEDIT.exe ver 4.00.111 .
This is win95b version. This updated version can stop a possible crash on importing.
(I have 95b and have no errors.)
You may have to do an FTP search at MS for it.
6.In win 95 or 95a , move the old regedit.exe
from the windows folder and move the new regedit.exe in.
Restart | F8 | Command Prompt only and type

SETVER REGEDIT.EXE 7.10

Restart computer, and you are ready to regclean,smartdrv and compact.

I got a good tip from here last week,so I thought I should put one back,before someone misses it.
HIH,cheers.
Kristi's Avatar
Senior Member with 128 posts.
 
Join Date: Aug 1999
29-Dec-1999, 08:55 PM #10
Larry,

I'm not sure where you found this tip, but it was posted on PC Mechanic University web site on 9-15-99 by "Computer Professor" and was nominated and added to their hall of fame. This is a direct quote by Computer Professor:

"Here's the credit I promised.
This process is due to the hard work of Shane Chen, whose web page is no longer available."

Kristi
LarryCore's Avatar
Distinguished Member with 5,244 posts.
 
Join Date: Aug 1999
Location: Rockford, IL
Experience: Advanced
30-Dec-1999, 09:36 PM #11
mike private - good additions that make perfect sense.

Kristi - Thanks! It was PC Mechanic! I couldn't for the life of me remember where it had come from.

And Shane, if you are out there somewhere THANK YOU!

Wishing Bubble's Avatar
Senior Member with 181 posts.
 
Join Date: Feb 2001
Location: United Kingdom
Experience: Intermediate
27-Feb-2001, 11:13 AM #12
Thanks Larry

Your advice about "cleaning the registry with stuff I already have," was great. I follwed your instructions to the letter and benefited from a difference in the user.dat of 88kb and in the system.dat of 136kb.

But I do have one question. What I would like to know is why do I still have folders listed in the registry (seemingly empty ones at that) that relate to software that I have deleted many moons ago, also I still have odd references to programs in the add/remove dialogue box that I can't delete.
Can you please advise? I know it may only be nip-picking but it irritates the hell out of me. *grins!
Your further advice would be greatly appreciated.
PC_DISK1's Avatar
Senior Member with 313 posts.
 
Join Date: May 2000
27-Feb-2001, 01:52 PM #13
Is there something like this for NT\2000?
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:53 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.