Anyone know how to save the registry before I start messing with registry file values - without miles of code?
Printable View
Anyone know how to save the registry before I start messing with registry file values - without miles of code?
Start Regedit.exe (For Win9x) or RegEdt32.exe (for W2K or NT).
Go to Registry menu and use the "Export Registry File" Option.
Just remember to "My Computer" in the left Pane should have the focus. This will save the current registry file. When you want to undo the changes, just double click on the saved file. It will restore it back to the original state.
Go into REGEDIT
click MyComputer
In the menu select Registry > Export
takes about 20 seconds.
Thanks, but I meant programatically. I'm running a program for an email merge system that creates an object and sends it on every record. Works fine, only I've got a documentation management system that runs in the background and pops up everytime I send that object off. The only way to stop the pop up is to
1. make a backup of the registry.
2. Change a registry value which causes the popup to activate and
3. change the registry value back once the program has finished running.
(The backup is there in case the program freezes and doesn't change the registry value back to its original value.)
All the code I've seen so far is complicated and miles long - can't I just copy the registry files in the windows directory or something?