Techware Labs Header

Forums have moved

See this announcement for more details, or just go directly there.

  #1  
Old 07-17-2002, 12:42 AM
jjarrin
 
Posts: n/a
Default Restoring the registry from DOS??

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.

Thank you

JJ
Reply With Quote
  #2  
Old 07-17-2002, 08:47 AM
Bear
 
Posts: n/a
Default Re: Restoring the registry from DOS??

Tried scanreg /fix  ?
and did you have space betwix  scanreg and /restore ?
Reply With Quote
  #3  
Old 07-17-2002, 02:27 PM
jinx
 
Posts: n/a
Default Re: Restoring the registry from DOS??

JJ,
Not sure I completely understand the problem, but can you get to the 'run command' ( start/run ) then type in :
scanregw /fix
If not and you can get a DOS C prompt, type in:
scanreg /restore
and see if you are presented with  RBcab000 ( XXX ) with dates, the highest number cab will be the last one.
Or maybe you can do a search/find for :
rb000.cab.
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.
Reply With Quote
  #4  
Old 07-17-2002, 05:16 PM
Uranium-235's Avatar
Uranium-235 Uranium-235 is offline
Administrator
 
Join Date: Nov 2001
Location: Mansfield, TX
Posts: 2,469
Send a message via ICQ to Uranium-235 Send a message via AIM to Uranium-235
Default Re: Restoring the registry from DOS??

I'm not sure if the w2k regedit works console in the same way as the 98 regedit in the dos...but...


Code:
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

  /L:system       Specifies the location of the SYSTEM.DAT file.
  /R:user         Specifies the location of the USER.DAT file.
  filename1       Specifies the file(s) to import into the registry.
  /C filename2    Specifies the file to create the registry from.
  /E filename3    Specifies the file to export the registry to.
  regpath1        Specifies the starting registry key to export from.
                  (Defaults to exporting the entire registry).
  /D regpath2     Specifies the registry key to delete.
Reply With Quote
  #5  
Old 07-17-2002, 05:49 PM
jjarrin
 
Posts: n/a
Default Re: Restoring the registry from DOS??

???
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.
Reply With Quote
  #6  
Old 07-17-2002, 07:58 PM
jinx
 
Posts: n/a
Default Re: Restoring the registry from DOS??

JJ,
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
-------
Mastering the Recovery Console

-------
edit, and restore the registry in Windows 2000?

-------
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:43 AM. Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Forum style by ForumMonkeys.