Click to See Complete Forum and Search --> : RECONSTRUCT the WIN98 registry


koshi
June 3rd, 2001, 08:53 PM
what are the commands(in order) for the six steps (DOS Commands) to RECONSTRUCT the WIN98 registry?

koshi

condor
June 4th, 2001, 05:21 AM
you should thank Tech666 for this file...

1. take the following lines and and past the to a file called cleanreg.bat.

2. put it in c:\

3. run cleanreg.bat windir (e.g. : cleanreg.bat C:\windows)

---------------------------------------------
Cleanreg.bat
---------------------------------------------

attrib %1\system.dat -s -h -r
attrib %1\user.dat -s -h -r
pause 'press a key to continue or ctrl c to end'
cls
copy %1\system.dat %1\system.jjh
copy %1\user.dat %1\user.jjh
pause 'press a key to continue or ctrl c to end'
cls

regedit /l:%1\system.dat /e %1\system.jbk
pause 'press a key to continue or ctrl c to end'
cls

del %1\system.dat
pause 'press a key to continue or ctrl c to end'
cls

regedit /l:%1\system.dat /c %1\system.jbk
pause 'press a key to continue or ctrl c to end'
cls

regedit /r:%1\user.dat /e %1\user.jbk
pause 'press a key to continue or ctrl c to end'
cls

del %1\user.dat
pause 'press a key to continue or ctrl c to end'
cls

regedit /r:%1\user.dat /c %1\user.jbk

------------------------------------------------------------------------------------------

this fdoies take a long time (hours) but can restore a dead registry..

Stalemate
June 4th, 2001, 02:51 PM
Originally posted by Condor:
<STRONG>you should thank Tech666 for this file...

...this fdoies (SIC) take a long time (hours) but can restore a dead registry..</STRONG>

What would be the success rate for this procedure VS clean reinstall? Is it worth it?

condor
June 5th, 2001, 02:44 AM
okay..

let me clear it up..


sorry for the typo.. it should be "does" <IMG SRC="smilies/smile.gif" border="0">


this takes hours unless you have a very fast CPU (1GHz+) and still takes a long time.

this is not an option to a clean install (format+install) this is for computers you cannot format (software/setting).

Installing windows Over itself is NOT a good idea to fix problems - they will come back pretty soon, as the reinsallation doesn't clean corrupted keys and errors from the registry.


using Scanreg /fix (win98) is usefull but still this batch file is better.


It does have a price - it takes a long time and requires some one to watch it (it pauses on every error..)

Stalemate
June 5th, 2001, 09:38 AM
Originally posted by Condor:
[QB]...Installing windows Over itself is NOT a good idea to fix problems - they will come back pretty soon, as the reinsallation doesn't clean corrupted keys and errors from the registry...QB]

As we've all experienced at one time or another <IMG SRC="smilies/rolleyes.gif" border="0">

Thank you very much for this info. I appreciate this feedback, event though I did not initiate the thread.