I’m told that I should backup the registry before manually uninstalling a program –
How do you do that?
I’ve been scared off of EVER touching the registry, so I want to be sure I
don’t do something stupid. Thanks
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Registry backup
Home » Forums » AskWoody support » Windows » Windows Vista, XP and earlier » Questions: Vista, XP back to 3.1 » Registry backup
- This topic has 27 replies, 10 voices, and was last updated 17 years, 7 months ago.
AuthorTopicViewing 3 reply threadsAuthorReplies-
WSPhil Rabichow
AskWoody LoungerJanuary 31, 2003 at 9:35 pm #649623post 201506 by R2 (Rick) should provide the information. It also has a link to a more complete explanation.
Cheers, -
WSR2
AskWoody LoungerFebruary 1, 2003 at 12:30 am #649663Just to add some thoughts:
1) Windows 98 automatically holds five backup copies for you at all times.
2) A backup is made for each new date that you reboot your computer. Therefore, if you reboot your computer five times today, only ONE backup from today will be saved — the other four will be from different days.
3) You can force windows to save a new copy for today by opening a Run box (Start | Run) and typing “scanregw” (no quotes) and hitting Enter. If Windows has already saved a copy for today, it will tell you this and ask you if you want to overwrite today’s previously saved copy.
4) There are multiple other ways to backup your registry — including third party programs. But two ways that you can use without getting anything new are these:a) Open a Run box again and type “regedit” (no quotes) and hit Enter. This opens your registry. Click Registry and select Export Registry file. Make sure the Export range is set at “All”. Export the file to a new folder called “Registy Backup” (or something easy to identify). Title the file with today’s date (013103.reg or 31Jan2003.reg) ) and hit save. Now you have a complete backup as of today.
While you are at it, open a Find box and find user.dat and system.dat. Copy both of these into the same “Registry Backup” folder. Once they are there, rename them “user.31Jan2003.dat” and “system.31Jan2003.dat” — or something equally useful.
You now have compulsively backed up your registry with several levels of redundancy.
-
WSStuartR
AskWoody Lounger -
WSR2
AskWoody LoungerFebruary 2, 2003 at 6:13 pm #649899I assume that comment is facetious, but…
1) The simplest method to restore is to use the scanreg.exe /restore function.
2) You cannot “restore” (read: Import) an entire registry using regedit — however, you CAN restore entire sections.
3) You CAN restore your entire registry using the user.dat and system.dat files — hence the reason for backing up these separately.
__________One more thing worth mentioning — It is also nice to have a “picture” of your registry before you do any major installing/uninstalling. Then you can get another “picture” afterwards and compare the two.
You can do this by simply comparing the entire registry files using something like WinDiff — but the process and the analysis is, eh, challenging. A better method is to use “RegShot” — which is a very cool program for several reasons. Combining the use of RegShot with your backed up .reg file, you can go in and surgically return specific sections of you registry back to exactly the way they were before the ‘event’ that you were monitoring.
-
WSbigaldoc
AskWoody Lounger -
WSStuartR
AskWoody Lounger -
WSR2
AskWoody LoungerFebruary 3, 2003 at 5:09 pm #650019In case someone actually needs to use Scanreg /restore, I am sure there are multiple references out there. The first one I came to was this one:
…which is about Scanreg in general, but it touches on the /restore function. The process is fairly intuitive, so it does not need a ton of explanation.
If someone want to try to restore using the user.dat and system.dat files, it is a little more complicated. This used to be the only way to do it in Win95! It is done in DOS, so it is nice to have a basic knowledge of DOS commands:
Restoring the Registry
BACKING UP / RESTORING THE REGISTRY
Backup & Restore your Registry -
WSbigaldoc
AskWoody LoungerFebruary 3, 2003 at 1:57 pm #650021In case you haven’t read it, I’m taking advantage of the timliness of your tutorials to try to help Duchess in this thread. I’m hoping she has a backup that usable from BEFORE her problem started.
-
WSR2
AskWoody LoungerOctober 23, 2007 at 12:47 am #650103Edited by HansV to remove link that no longer worked and to replace another link
I was asked to combine my above posts into one. Here is a sample. Let me know what should be changed. Thanks.
___________________________________________________Backing up — and Restoring — the Windows98 registry
A. Backup – using ScanReg
1) Windows 98’s ScanReg program automatically holds five backup copies of your registry at all times. These are held within “.cab” files (a type of zipped folder) inside a hidden folder named “C:WindowsSysbckup”.
2) A backup is made for each new date that you reboot your computer. Therefore, if you reboot your computer five times today, only ONE backup from today will be saved — the other four will be from previous days.
3) You can force windows to save a new copy for today by opening a Run box (Start | Run) and typing “scanregw” (no quotes) and hitting Enter. If Windows has already saved a copy for today, it will tell you this and ask you if you want to overwrite today’s previously saved copy.
B. Backup – other methods There are several other ways to backup your registry — including third party programs. But two ways that you can use without getting anything new are these:
1) Open a Run box again and type “regedit” (no quotes) and hit Enter. This opens your registry. Click Registry and select Export Registry file. Make sure the Export range is set at “All”. Export the file to a new folder called “Backup” (or something easy to identify). Title the file with today’s date (013103.reg or 31Jan2003.reg) ) and hit save. Now you have a complete backup as of today.
2) While you are at it, open a Find box and find user.dat and system.dat. Copy both of these into the same “Registry Backup” folder. Once they are there, rename them “user.31Jan2003.dat” and “system.31Jan2003.dat” — or something equally useful.
You now have compulsively backed up your registry with several levels of redundancy.
____________________
Restoring a Backed-up Registry
A. Using ScanReg to Restore your Registry
The simplest method to restore is to use the scanreg.exe /restore function. This must be run from true DOS — not from a DOS window inside of Windows. Since the registry controls essentially everything Windows does, you cannot restore the registry with Windows running. You must reboot your computer into DOS to restore the registry.
At the “C:/ Prompt”, type “scanreg /restore” (no quotes) and hit Enter. I am sure there are multiple references out there. The first one I came to was this one:
…which is about Scanreg in general, but it touches on the “/restore function”. The process is fairly intuitive, so it does not need a ton of explanation.
B. Restoring your Registry from the User.dat and System.dat files
This is a little more complicated, but it used to be the only reliable to way to do it in Win95. As above, this must be done in true DOS, so it helps to have a basic knowledge of DOS commands. After rebooting into DOS you need to change to the Windows directory, modify the attributes for the two .dat files, change back to the root directory, copy the desired backed-up .dat files to the Windows directory, then reboot. In “DOS” that is:
cd
cd windows
attrib -h -s -r system.dat
attrib -h -s -r user.dat
cd
copy c:Backupsystem.dat c:windows
copy c:Backupuser.dat c:windowsThen hit CTRL+ALT+DELETE to reboot.
Please note: The names of the files that you wish to restore should be renamed back to their originals — that is, “user.31Jan2003.dat” should be renamed “user.dat” — prior to restoring. Keep them in the “Backup” folder, but for the exact files that you wish restore, remove the date in the center. That will make it easier for you to find and copy them in DOS.
For more information or restoring your registry from the user.dat and system.dat files, please see:
Restoring the Registry
BACKING UP / RESTORING THE REGISTRYC. Restoring specific sections of your Registy
Regedit is generally a Windows application. Therefore, for the same reasons as above, you cannot “restore” (read: Import) your entire registry using regedit — however, you CAN restore entire sections.
One more thing worth mentioning — It is also nice to have a “picture” of your registry before you do any major installing/uninstalling. Then you can get another “picture” afterwards and compare the two. If you wish to ‘fix’ a certain section of your registry after some event, you can find out what has changed by “comparing” the two pictures.
You can do this by simply comparing the entire registry files (.reg) using something like WinDiff — but the process and the analysis is, well, challenging. A better method is to use “regshot” — which is a very cool program for several reasons. Combining the use of RegShot with your backed up .reg file, you can go in and surgically return specific sections of you registry back to exactly the way they were before the ‘event’ that you were monitoring.
-
WSPhil Rabichow
AskWoody LoungerFebruary 4, 2003 at 8:11 pm #650475Hi R2:
Thank you, R2. Good explanation!! I thought I recall you saying somewhere that although you can have more than 5 back ups, you can only restore from the last 5 using Scanreg. I take it that you would use the other method (e.g. the files named with the dates) for restoring anything other than the last 5 backups?P.S. I’m wondering why the view of your message is “wide”. It probably has something to do with the attachment, but I don’t know what you could do so it you could read it without scrolling back & forth.
Cheers, -
WSbigaldoc
AskWoody Lounger -
WSKenK
AskWoody LoungerFebruary 4, 2003 at 10:43 pm #650554I’ve found that sometimes individual posts appear wider, or at a different vertical resolution, than others on the same page.
If I leave that page, then come back to it, it is usually back to normal.
Don’t know why, and it doesn’t bother me, so I’ve never questioned it……..but now I’m curious???Have a Great day!!!
Ken -
WSR2
AskWoody LoungerFebruary 5, 2003 at 1:10 am #650605Sorry, the only thing that I can see that might be controlling the width is the line up top — which I shortened.
I am not sure it is worth adding the ‘more than five’ backup stuff into this post — I think it is already long enough. In all honesty, it is pretty rare that one needs more than five backups. In most cases, people are just happy to have one!
FYI: The Microsoft pages with information on this stuff are here:
Description of the Windows Registry Checker Tool (Scanreg.exe)
How to Customize Registry Checker Tool Settings
Command-Line Switches for the Registry Checker Tool -
WSPhil Rabichow
AskWoody Lounger -
WSrabee
AskWoody LoungerFebruary 5, 2003 at 6:38 am #650701It’s me again-
I backed up the registry and followed instructions from McAfee (I was trying to get rid of the remnants of their Virus program)
Nothing they told me works, and now, going directly into DOS gets me nothing but
“bad command or something”
Here’s what they told me to enter:
Go to Dos
type cd
CD C:WINDOWSSYSTEM
MsiExec.exe/X{E4DC62CE-5F95-11D6-B254-00C04FF4B435}
exit
If the operation is successful, you will have to restart your computer……………….
I have never made it that far in about 7 or 8 tries so far.
Any ideas (other than write to McAfee again? – I’ve already done that, and am waiting……..) -
WSPhil Rabichow
AskWoody LoungerFebruary 5, 2003 at 10:32 am #650815I’m not sure what you’re trying to do. Your first question was how to back up the registry & R2 has now posted complete instructions on backup & restore. This is the first you’ve mentioned McAfee. If your trying to uninstall it, what happens if you use Add/Remove Software from the Control Panel?
-
WSR2
AskWoody LoungerFebruary 5, 2003 at 2:19 pm #650901It looks like they are telling him to uninstall using the MS Installer — and via the Class ID number — which is a little strange. The /x switch is for uninstall. and the parameters are Package|ProductCode. I guess the ProductCode could be the CLSID, but is the line missing the “Package”???
Info on msiexec.exe:
http://www.swynk.com/trent/Articles/msiexeccom.asp%5B/url%5D -
WSbigaldoc
AskWoody LoungerFebruary 5, 2003 at 3:03 pm #650909Can you tell us some more about this McAfee story, please? McAfee has always been “fussy” about un-installation, but one should always first do the “normal” uninstall via Windows. Usually after that, one needs to erase the McAfee (NAI) folder or folders from the hard drive and then use REGEDIT to delete the McAfee/NAI keys in the registry. I’m hesitant to suggest you do that, unless you’re “comfortable” with modifying the registry, even IF you’ve made a backup! We need more info…..
-
Albert M Avery
AskWoody Plus -
Anonymous
InactiveMarch 3, 2003 at 3:00 pm #658235Unfortunately, very little is applicable to Win2K or WinXP. I highly recommend the freeware program ERUNT
It is the only free program I have found that allows you to backup a Win2K / WinXP registry.
-
WSR2
AskWoody LoungerMarch 3, 2003 at 5:32 pm #658255This was never meant to be for Win2K-XP — that is why it is under the Windows98 forum.
However, I did post some information on backing up the Win2K Registry in this thread.
-
-
-
-
-
WSrabee
AskWoody LoungerFebruary 5, 2003 at 7:15 pm #650978OK, the McAfee story:
It came with the Dell computer in 2000, along with Win98SE. The problem started when I could never get a connection
to update McAfee…..tried many times – it just never would connect. So, I THOUGHT I had uninstalled it, and got a new and
different AntiVirus program.
Things were “normal” for the next year or so, then out of the blue, McAfee screens started popping up when I downloaded
something (pictures, small programs, etc.). It was at this point I wrote to McAfee to find out why I couldn’t get rid of the
remnants of McAfee. They sent me the instructions, and when they wouldn’t do what they said………….several tries………
I wrote to you guys.
In the meantime, I have used FIND, then deleted whatever McAfee stuff showed up, including a vshwin.exe file.
What bothers me is, I think I did all this same stuff (except for the DOS attempt- with the registry) before……then, it came back
like a ghost. It’s gone for a year, then, out of nowhere, it’s back. That’s where we are now.
One other note: I do a lot of graphics, and when the computer get “loaded” with bmps, it starts acting up. Could this
cause some of the other stuff? I usually unload the BMPs onto a CD – that seems to help matters. Just a clue. -
WSleif Erickson
AskWoody LoungerFebruary 8, 2003 at 2:20 am #651634(Edited by DaveA on 07-Feb-03 19:20. )
Rabee: I had a similar experience with McAfee. Then my organization asked me to shift to Norton. I uninstalled McAfee via WIN 98 – and discovered later there were approx 600+ McAfee entries still in Register because I was still having problems even after running SystemWorks. I ended up buying RegCleaner at http://www.vtoy.fi/jv16/shtml/software.shtml%5B/url%5D. This site had people praising RegCleaner. It found them and deleted them and I still have McAfee showing up during start up, but I did get rid of all the problems, folders, etc. Like you, I was nervous about those deletes/changing registry, but it cured a bunch of problems and didn’t seem to cause new ones. Only problem with RegCleaner web site is that it seems non-www-compliant and I had to fire up IE instead of Opera to browse it just now. leif, Erickson?
-
WSR2
AskWoody LoungerFebruary 7, 2003 at 7:33 pm #651637FYI and FWIW: RegCleaner is no longer supported — and if you ‘bought it’, ask for your money back. As long as I can remember it was always freeware.
The newest JV16 product is called jv16 PowerTools and it includes the Registry Tool — which is the decendant of RegCleaner.
-
-
-
WSrabee
AskWoody LoungerFebruary 7, 2003 at 1:50 am #651451Another question – re:registry – dos – McAfee remnants……
Since I was having so much trouble getting anything done in DOS,
I decided to try “regedit” in the Run box, and sure enough, there was the registry.
I didn’t do anything but look around, but, I found a McAfee folder listed there.
Would I be able to delete the folder safely in Windows rather than having to go to DOS?????
If so, exactly what do I have to do (obviously I’m too chicken to experiment)
Hope this isn’t getting too long-drawn out, and thanks for the help. -
WSR2
AskWoody LoungerFebruary 7, 2003 at 4:04 am #651476What looks like a “folder” in the registy is really a “key”. No, you cannot delete a “key” in Windows or DOS, per se — you do it in regedit.
But you don’t have to delete anything — simply rename it. The standard way of temporarily “removing” a registry key is to simply put a minus sign (-) in front of the name. That way, Windows will not find the key since it is not looking for keys with minus signs.
You can do the same thing with your Folders or Files. A renamed folder or file cannot be found by Windows.
-
WSbigaldoc
AskWoody LoungerFebruary 7, 2003 at 11:09 am #651516And may I add to what R2 said by a reminder that while in Regedit, you need to look in TWO places: HKEY_CURRENT_USER and HKEY_LOCAL_MACHINE. For both of those trees, open Software and look for keys with EITHER McAfee or NAI. They have not always been consistent in the past and I’ve sometimes found both references. I usually delete ’em when I find ’em but I think you’d be well served to take R2’s suggestion about disabling.
-
Viewing 3 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
.NET 8.0 Desktop Runtime (v8.0.16) – Windows x86 Installer
by
WSmeyerbos
6 hours, 20 minutes ago -
Neowin poll : What do you plan to do on Windows 10 EOS
by
Alex5723
2 hours, 4 minutes ago -
May 31, 2025—KB5062170 (OS Builds 22621.5415 and 22631.5415 Out-of-band
by
Alex5723
4 hours, 54 minutes ago -
Discover the Best AI Tools for Everything
by
Alex5723
5 hours, 3 minutes ago -
Edge Seems To Be Gaining Weight
by
bbearren
5 hours, 46 minutes ago -
Rufus is available from the MSFT Store
by
PL1
3 hours, 14 minutes ago -
Microsoft : Ending USB-C® Port Confusion
by
Alex5723
1 day, 6 hours ago -
KB5061768 update for Intel vPro processor
by
drmark
12 hours, 30 minutes ago -
Outlook 365 classic has exhausted all shared resources
by
drmark
8 hours, 41 minutes ago -
My Simple Word 2010 Macro Is Not Working
by
mbennett555
1 day, 1 hour ago -
Office gets current release
by
Susan Bradley
1 day, 4 hours ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
2 days, 18 hours ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
2 days, 3 hours ago -
Stop the OneDrive defaults
by
CWBillow
2 days, 19 hours ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
3 days, 5 hours ago -
X Suspends Encrypted DMs
by
Alex5723
3 days, 7 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
3 days, 7 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
3 days, 8 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
3 days, 9 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
2 days, 21 hours ago -
Enabling Secureboot
by
ITguy
3 days, 4 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
3 days, 16 hours ago -
No more rounded corners??
by
CWBillow
3 days, 12 hours ago -
Android 15 and IPV6
by
Win7and10
3 days, 2 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
4 days, 5 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
4 days, 7 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
4 days, 2 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
4 days, 15 hours ago -
May preview updates
by
Susan Bradley
4 days, 2 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
3 days, 18 hours ago
Recent blog posts
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.