Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Restore registery from cab?

Status
Not open for further replies.

TopHat2

Technical User
Jun 12, 2001
116
GB
Using Windows 98 SE.

What gives with scanreg.exe? I regularly backup *.cab files in the SYSBCKUP directory, on the theory that I can use scanreg.exe to restore them if needs be. Tonight for the first time I needed to do just that.

I renamed one of my backuped cab files to rb000.cab, but it did not show up in the scanreg dialogue. After a number of attempts I now have three rb005.cab files showing in the restore dialogue, but still can’t see my rb000.cab file!!!

What new form of torture have Micro$oft implemented in scanreg.exe, and how can I restore the registery files from my cab under DOS?
 
If you've still got access to windows, I'd extract the files from the cab file to for example \windows\temp - remove any hidden/system/read only attributes (winzip will do this or you can use the extract dos command). Then boot to dos prompt and copy them to \windows folder, overwriting system.ini, system.dat, win.ini & user.dat (so you might want to back those up first).
 
Thanks Wolluf. I would still like to know how scanreg.exe desides which files it is going to display in the restore dialogue. I had assumed it would display any cab file in the SYSBCKUP directory starting with "rb" and followed by three digets, but this does not seem to be the case.
 
Generally speaking, if I needed to revert to a good registry, due to problems, I would run scanreg /restore from DOS. This should give up to 5 previous versions saved by Windoze. I woud then choose the one I want and run it.

You may deal with this problem differently, but I think that my method is simpler. Regards
Phil
 
I AM running scanreg from DOS. What I want to do is restore a cab file that I saved as "copy (A) of rb004.cab" I thought that renaming it to "rb000.cab" should allow me to restore it via scanreg, but this does not seem to work, and I want to know why?
 
TopHat2,

Don't know if this and links on there will be of any help fathoming scanreg! I must admit, I would have thought your renaming method would have worked. Perhaps you need to change date/time attributes of your renamed cab file. Have you tried moving all the other rb.cab files elsewhere and just leaving your file in place? (presume windows must keep a 'database' of these cab files somewhere).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top