![]() Then you can just run the batch file anytime to restore your registry (preferably after booting to DOS). A window called 'Registry Editor' should show. If a message pops up saying ' do you want to allow this app to make changes to your device ' click YES. Then save the file somewhere as MS-DOS Batch File " restore.bat". Press Windows R Type regedit and hit ENTER. Instead just use full paths for each command i.e. Tip: You can copy and paste the commands above into a file in Notepad with slight modifications (no " cd" commands. ![]() Power on your computer and see if your problem(s) are fixed. Now you have properly restored your windows registry. Type in these commands in sequence to restore your registry:Ĭd c: \windows (changes directory to Windows)Īttrib user.dat -h -r (makes file not hidden/restricted)Ĭd c: \backup (changes directory to your backup dir)Ĭopy user.dat c: \windows (copy file to backup folder)Ĭd c: \windows ( attrib user.dat h r (gives attributes back to file) Reset the Windows Update Agent, delete temporary files, repair system corruptions, scan and replace corrupted files, fix invalid registry values, and reset. Choose " Command Prompt Only" as your boot option. This tutorial assumes you have backed up your registry according to the guidelines in Backup Windows Registry.īoot your computer with a boot disk or by pressing F8 just before your computer says " Starting Windows.". You will just have to reinstall the software after restoring your registry. You took out its memory of when that program was installed, so as far as the registry knows, that software was never installed (even though its files exist on the hard drive). Edit the Registry entries in the new node. A new node with your key name appears under HKEYLOCALMACHINE. Of course, it won't remove any files or anything, but the registry is like Windows' brain. In the File menu, click 'Load Hive.' Enter an arbitrary key name when prompted. Be aware though that this will most likely cause software that was installed after you backed up your registry to not work properly. If your computer is crashing and you don't know why, restoring a recent working registry can be very helpful and will often fix your problems.
0 Comments
Leave a Reply. |