Go Back   PCMech Forums > General & Off Topic > Archives > PC Mechanic Hall of Fame

Need Some Help? Type Your Keywords Here:

 
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 09-15-1999, 12:28 PM   #1
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
Cool

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!

------------------
Who needs a life?, I have internet!
Cheers, Jim
http://members.cnx.net/reboot
reboot is offline  
Old 09-16-1999, 05:41 AM   #2
Member (10 bit)
Premium Member
 
Jomama's Avatar
 
Join Date: Jul 1999
Location: Fairfax, Va
Posts: 1,003
Question

Very interestiing RB, I understand exporting the Registry but then you say to also copy it, is this just a saftey thing as in 2 condoms?
Secondly, what is the /c switch, Can you expond on this a little more? Thanks


------------------
I Survived the PC Mechanic Move.
Jomama is offline  
Old 09-16-1999, 10:30 AM   #3
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
Post

The /C switch is to compare entries. It scans the HD for anything associated with the registry entry. If nothing is found, it removes the entry, then writes the reg.
The idea of copying the files to root c is to compare them later to see how much difference there is. It's just a recommended step, not really necessary, as the registry export function literally does the same thing.
As far as I know it will work on all Win9x versions, but I haven't tried it with Win95a.

------------------
Who needs a life?, I have internet!
Cheers, Jim
http://members.cnx.net/reboot
reboot is offline  
Old 09-16-1999, 03:27 PM   #4
Moderator
 
dan3223's Avatar
 
Join Date: Apr 1999
Location: Boston
Posts: 1,225
Send a message via AIM to dan3223
Post

Reboot, I did a search on my system, and I don't have system.dat or user.dat anywhere, and I'm running Win98

dan
dan3223 is offline  
Old 09-16-1999, 04:36 PM   #5
Member (12 bit)
 
Tiretool's Avatar
 
Join Date: Jul 1999
Location: Shreveport, LA
Posts: 2,119
Send a message via ICQ to Tiretool Send a message via Yahoo to Tiretool
Post

I'm ashamed to say that after following your advice I got a difference of right at a meg in my system.dat file! Does that indicate that I keep a sloppy machine? LOL I got about 200k difference in my user.dat file. That was a great post! Thanks alot!

------------------
Is it further to Chicago than by bus?
************************************
tiretool@rednecks.com
Tiretool is offline  
Old 09-16-1999, 07:03 PM   #6
Moderator
 
dan3223's Avatar
 
Join Date: Apr 1999
Location: Boston
Posts: 1,225
Send a message via AIM to dan3223
Post

I tried it (without moving the system.dat and user.dat file, which i don't have on my system) and it took less than 5 mins, i guess my registry wasn't too bad. i like that command a lot.

okay, i think this one might belong in the hall of fame...... what do you guys think?
dan3223 is offline  
Old 09-16-1999, 07:12 PM   #7
Member (8 bit)
 
leethehund's Avatar
 
Join Date: Jun 1999
Location: SF Bay area (CA)
Posts: 237
Question

Thanks for the info ! Next question - will this work on win95 as well?? I have one 98 and one 95 system in the house so I would like to use it on both!

lee
leethehund is offline  
Old 09-16-1999, 07:23 PM   #8
Member (11 bit)
 
Carl Price's Avatar
 
Join Date: Jun 1999
Location: Memphis, Tn
Posts: 1,828
Post

I second the Hall of Fame recommendation.

Carl
Carl Price is offline  
Old 09-16-1999, 07:39 PM   #9
Moderator
 
dan3223's Avatar
 
Join Date: Apr 1999
Location: Boston
Posts: 1,225
Send a message via AIM to dan3223
Post

It turns out the System.dat and User.dat files have the atttibutes +s +h +r on my system. To make the file readable, type ATTRIB -S -H -R XXXXXX.XXX

dan3223 is offline  
Old 09-17-1999, 09:28 AM   #10
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
Post

dan3223 nailed it. They are hidden files, but you can find them by selecting "view all" in Explorer view folder options > view > all...

p.s. Thanks for the nomination...

------------------
Who needs a life?, I have internet!
Cheers, Jim
http://members.cnx.net/reboot
reboot is offline  
Old 09-17-1999, 09:47 AM   #11
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
Post

Tiretool: It means that you have installed and uninstalled a lot of stuff.
Imagine just how much text is in a 200k file! That's 200,000 keystrokes. Go figure.

BTW, I like the sig, here's another:
Do you walk to work, or take a lunch?

dan3223: 5 minutes is great. That means that your system is in good shape, and it's probably a fairly new install of windows. There hasn't been enough time for it to get full of crap.

BTW, I did this on a 1 gig Western Digital on a 486 DX, with Win95a. It took just over 17 hours to complete , but it worked like a charm! 1.2MB diff in system.dat, and 126k in user.dat

------------------
Who needs a life?, I have internet!
Cheers, Jim
http://members.cnx.net/reboot
reboot is offline  
Old 09-18-1999, 07:23 PM   #12
Member (6 bit)
 
Join Date: Jun 1999
Location: Adelaide, Australia
Posts: 40
Send a message via ICQ to Ant007
Question

Hi People...

From what I've gathered, the process sounds great.

However, after perusing a bit more, 17 hours is a long time. Not that power outs occur in my area, I know that murphey is ALWAYS by my side.

What happens if the system is turned off accidentally, or power out, black out, brown out, meteorite, earthquake, or Hurricane Floyd decides to grace it's presence in OZ.

Thanks in advance!

Kev...*

Hmmmm... such a nice array of icons to choose from... ine mine mone mo....
Ant007 is offline  
Old 09-18-1999, 07:24 PM   #13
Member (6 bit)
 
Join Date: Apr 1999
Location: Blue Springs, MO, USA
Posts: 56
Thumbs up

Great Post!

160K on System.dat
88K on User.dat

Might be my imagination but it seems like the ole Celery 300 is a little snappier too.

Many thanks,
Warren
whist is offline  
Old 09-20-1999, 10:25 AM   #14
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
Post

If (God forbid) you have a power outage, or other interruption, just copy user.dat and system.dat back to the c:\windows directory, and restart.
This restores the original registry as it was before you started the process.

------------------
Who needs a life?, I have internet!
Cheers, Jim
http://members.cnx.net/reboot
reboot is offline  
Old 09-20-1999, 01:16 PM   #15
Member (8 bit)
 
Join Date: Mar 1999
Location: Upstate NY
Posts: 133
Question

I tried this on two machines. Interesting results.

First machine took 32 minutes and decreased system.dat by 4KB and decreased user.dat by 40KB. Not what I expected because the change is in inverse proportion to the size of the files.

Second machine (faster processor) took 20 minutes. INCREASED the size of system.dat by 16KB and decreased user.dat by 36KB.

To keep the registry up to snuff, every month or so I start with Regclean v4.1 then run CleanSweep's Registry Cleaner and finish up with Scanreg /fix. I'm hoping that this keeps the registry from ever getting in too bad shape. I'll try your system again too, Reboot. But how do you account for the increase in size mentioned above.

[This message has been edited by tomr (edited 09-20-1999).]
tomr is offline  
Old 09-20-1999, 05:53 PM   #16
Member (8 bit)
 
Le Pacha's Avatar
 
Join Date: Aug 1999
Location: Philadelphia
Posts: 208
Send a message via ICQ to Le Pacha Send a message via MSN to Le Pacha Send a message via Yahoo to Le Pacha Send a message via Skype™ to Le Pacha
Question

I tried this on my machine over 10 times, at first the computer seemed to hang every time at either 26% or 86%, i would reboot and start all over again, the last couple of times, it actually worked to 100% but then it said it can't access registry bec it can't read c:\temp.reg and the original registry is restored. Any clue? I'm using Win 95 btw and I'm using the command prompt from the start menu not the restart in MS-DOS command from the shutdown menu, could it be that? I can't use the latter bec it doesn't detect my drives right!!! But yet i did try, same result.

[This message has been edited by Le Pacha (edited 09-20-1999).]
Le Pacha is offline  
Old 09-20-1999, 07:00 PM   #17
Member (3 bit)
 
Join Date: Apr 1999
Location: Dallas, Tx. USA
Posts: 6
Post

ReBoot
Believe I know what I was doing wrong. It sounds like a great thing. Will let you know if I have any trouble. By the way, my E-mail address is two fold. lemIII@aol.com and nnil@ti.com.Keep up the great work. It sure makes it easer on us.

Linn
pepicker is offline  
Old 09-21-1999, 10:09 AM   #18
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
Post

The odd time you will get an increase in file size. This is because the process found files on your HD that are not correctly identified in the reg. The process checks vxd, dll, etc. files, and if it finds a correct install with a reg error, it will write the correct stuff to the reg, so the program may be uninstalled correctly, or otherwise run with no errors.


------------------
Who needs a life?, I have internet!
Cheers, Jim
http://members.cnx.net/reboot
reboot is offline  
Old 09-21-1999, 03:50 PM   #19
Member
 
archie's Avatar
 
Join Date: Mar 1999
Location: Ontario, Canada
Posts: 3,392
Thumbs up


Here's my results.
System 1 - (clean install 4 mths ago): System.dat from 1.89mB to 1.8 and user.dat from 432kB to 248kB in 2 minutes.
System 2 -(clean install 10 mths ago): System.dat from 3.95mB to 3.71mB and user.dat from 1.08mB to 0.704mB in 1 hour and 50 minutes.
System 3 - (strange configuration - let's not go there) After completion (2 min), received the following message "cannot import c:\temp.reg - Error accessing the registry. The previous version has been restored."

While I haven't tested System 1 enough to make a fair evaluation, system 2 is noticeably more responsive and I plan to take out the "SHOP VAC" at the beginning of every season.

archie is offline  
Old 09-21-1999, 07:29 PM   #20
Member (10 bit)
 
Join Date: Mar 1999
Location: Zurich, Switzerland
Posts: 797
Talking

I also vote for the hall of fame. It's a cool one. I guess it's the only way to *really* remove M$ office from a system except from reformat.

[This message has been edited by Felix (edited 09-21-1999).]
Felix is offline  
Old 09-21-1999, 09:59 PM   #21
Member (13 bit)
 
Toaster's Avatar
 
Join Date: Apr 1999
Location: Now in Phoenix, AZ. Where next? Only 8 states left to see.
Posts: 4,661
Post

**Applause**
Reboot, now there be something useful.
Hall of fame stuff fer sure!

------------------
Love, love is like pee`ing your pants, it`s warm and wonderful at first, then grows cold, then leaves you a mess.

Toaster is offline  
Old 09-22-1999, 01:16 AM   #22
Member (12 bit)
 
Tiretool's Avatar
 
Join Date: Jul 1999
Location: Shreveport, LA
Posts: 2,119
Send a message via ICQ to Tiretool Send a message via Yahoo to Tiretool
Post

I agree! I second the motion for this to go to the hall of fame. Do I hear thirds?
Tiretool is offline  
Old 09-22-1999, 02:14 AM   #23
Member (6 bit)
 
Join Date: Aug 1999
Posts: 43
Thumbs up

I have been meaning to do this for about a week now and haven't. I actually printed this up as soon as Reboot posted it so I could always have a hardcopy.

Anyway....I'll 3rd that nomination!!!
COPEN II is offline  
Old 09-22-1999, 04:31 AM   #24
Member (12 bit)
 
fred's Avatar
 
Join Date: Mar 1999
Posts: 2,463
Post

Uh, well, I had a go too. I have been trying to clean up the registry on one machine, that was in a bit of a mess, for a while with limited success. It took about two hours, as you said Reboot.
I must admit, I was a little worried when the PC powered back up and said my video drivers did not work with the card, but that was corrected with another boot.
Well, I claim a poor position with only 320K off System Dat, but a staggering first prize I think for 412K off User.dat
I have started the process on another machine now! Six smile today!


fred is offline  
Old 09-22-1999, 05:53 AM   #25
Member (8 bit)
 
Le Pacha's Avatar
 
Join Date: Aug 1999
Location: Philadelphia
Posts: 208
Send a message via ICQ to Le Pacha Send a message via MSN to Le Pacha Send a message via Yahoo to Le Pacha Send a message via Skype™ to Le Pacha
Post

hey archie, if you ever find a solution for the problem you had with system 3 would you post it. I have the same problem with my only system here.

Thanks
Le Pacha is offline  
Old 09-22-1999, 10:38 AM   #26
Member (10 bit)
 
Join Date: Mar 1999
Location: Zurich, Switzerland
Posts: 797
Post

Le Pacha and archie: Maybe boot into safe mode, let Windozze re-arrange things, reboot and then process again? Who knows...
Felix is offline  
Old 09-22-1999, 12:53 PM   #27
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
Post

LePacha, you didn't read the whole thing maybe?
I stated (more than once) let it go! It will work. Do not shut it down and restart, walk away, leave it overnight, it may takeseveral hours.
I also stated that you must start in DOS mode, not a dos box.

Archie, what's with the strange config that it wouldn't work? Using something like EZBIOS maybe ?


------------------
Who needs a life?, I have internet!
Cheers, Jim
http://members.cnx.net/reboot
reboot is offline  
Old 09-22-1999, 01:58 PM   #28
Member (8 bit)
 
Le Pacha's Avatar
 
Join Date: Aug 1999
Location: Philadelphia
Posts: 208
Send a message via ICQ to Le Pacha Send a message via MSN to Le Pacha Send a message via Yahoo to Le Pacha Send a message via Skype™ to Le Pacha
Post

reboot, I read your messages carefully, one question, do you leave it to go even if stays for over 30 minutes with the HDD led off all the time, never lights and the %counter is fixed to the same value all thru the 30 minutes? If you mean this I'll try it again. I never meant to say I used a DOS box, I used the "Command Prompt Mode" by using F8 during start up, and the reason I have to use this mode is in my question posted in the Win 95 forum last week with no good answers till today, may be you can help here it is -

http://www.pcmech.com/ubb/Forum1/HTML/000365.html

Cheers


[This message has been edited by Le Pacha (edited 09-22-1999).]
Le Pacha is offline  
Old 09-22-1999, 02:14 PM   #29
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
Post

The only thing I can suggest is booting to a floppy, and running scandisk from there. It appears as though you have more problems. Extra partitions being reported, etc. Not good. This is an indication that your FAT is corrupt, and/or at least mis-reporting the right # of disk drives/partitions.
Try a reinstall of win98 over top of itself first. It would appear that you must sort out the other problems and be able to boot to DOS mode before running this.

------------------
Who needs a life?, I have internet!
Cheers, Jim
http://members.cnx.net/reboot
reboot is offline  
Old 09-22-1999, 06:46 PM   #30
Member
 
archie's Avatar
 
Join Date: Mar 1999
Location: Ontario, Canada
Posts: 3,392
Unhappy

Allrighty Sir 'Boot, you twisted my arm,
it's a computer set up from an image on a client/server network - with pointers that, IMHO, are unavailable - the typical setup it is not.


My attempt to try it on another workstation with the same configuration gave the same results. Quite frankly I won't put further effort in getting this to work but I wanted to include those results to show that if the procedure fails, the OS isn't going to be caughing blood - it is forgiving.
archie is offline  
 

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are On



All times are GMT -5. The time now is 01:05 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.1