View Full Version : Restoring the registry from DOS??
07-17-2002, 01:42 AM
Recently I tried boosting my cable/dsl performance with registry entries from speedguide.net. Before I did this however I exported my registry to a file on my desktop in Windows 2K.
Luck will have it that the registry entries corrupted my system giving me ntoskrnl.exe errors and stop errors.
I have tried to boot to dos to run scanreg /restore but it says that it does not recognize the command. I have also tried F8 for last known configuration and that is corrupt also. I tried using the win 2k cd and do a repair but it will not let me login into my documents and settings folder without a password that is different than the administrator password.
I know that a good export of my registry exists on my desktop. The only question is how do I get to it to recover my registry and once I get to it what do i use. Like a fool I never made an ERD or a good backup so any help would be very much appreciated.
Tried scanreg /fix SPAM?
and did you have space betwix SPAMscanreg and /restore ?
Not sure I completely understand the problem, but can you get to the 'run command' ( start/run ) then type in :
If not and you can get a DOS C prompt, type in:
and see if you are presented with SPAMRBcab000 ( XXX ) with dates, the highest number cab will be the last one.
Or maybe you can do a search/find for :
They will be found in directory c:\windows\sysbckup. browse to that directory. See how many total copies of rb00*.cab files there are. The RB is registry backup and should contain 4-5 backups with dates, if not the highest number is the latest.
From there you should be able to restore it.
07-17-2002, 06:16 PM
I'm not sure if the w2k regedit works console in the same way as the 98 regedit in the dos...but...
Imports and exports registry files to and from the registry.
REGEDIT [/L:system] [/R:user] filename1
REGEDIT [/L:system] [/R:user] /C filename2
REGEDIT [/L:system] [/R:user] /E filename3 [regpath1]
REGEDIT [/L:system] [/R:user] /D regpath2
SPAM/L:system SPAM SPAM SPAM Specifies the location of the SYSTEM.DAT file.
SPAM/R:user SPAM SPAM SPAM SPAM Specifies the location of the USER.DAT file.
SPAMfilename1 SPAM SPAM SPAM Specifies the file(s) to import into the registry.
SPAM/C filename2 SPAM SPAMSpecifies the file to create the registry from.
SPAM/E filename3 SPAM SPAMSpecifies the file to export the registry to.
SPAMregpath1 SPAM SPAM SPAM SPAMSpecifies the starting registry key to export from.
SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM SPAM(Defaults to exporting the entire registry).
SPAM/D regpath2 SPAM SPAM Specifies the registry key to delete.
07-17-2002, 06:49 PM
It seems scanreg does not come with Win2k only 98 and ME.
However, I am able to boot into safe mode which allows me to see the exported registry file I created before this problem. I just cannot re-import the file while in win2k because it says some of the keys are in use. (even in safe mode)
That's why I was hoping for a dos alternative.
I have also done a search for the user and sytem.dat files but I am still new to Win2k and seems that they don't exist. Only files like NTuser.dat and System with no extension.
I thought that maybe if I could rename those and recover the backups I might have a chance.
You are 100 percent correct, win 2k is nothing like the other ver's on restoring the registry, I don't have win 2k, maybe someone with that experience will post some help, meanwhile , if you haven't already read this, it may help some:
Backing Up and Securing the Registry (http://www.windowsitlibrary.com/Content/267/1.html)
Mastering the Recovery Console
edit, and restore the registry in Windows 2000?
vBulletin® v3.6.5, Copyright ©2000-2017, Jelsoft Enterprises Ltd.