edit the windows registry file, system.dat
Emily Wong
I need to edit a corrupted system.dat file (windows registry), I have a copy of access to this file. How do I open and edit this file using regedit?
3 Answers
Yes.
You can open another "hive" with regedit.
- Start regedit.
- Select the HKEY_LOCAL_MACHINE root key.
- Go to the menu "File->Load Hive..."
- Choose the DAT file for the registry you wish to edit.
- You will be prompted for a name to load the hive into. The name does not matter. It just loads the registry hive into a subfolder using the name you provide.
- You can then edit the registry you just loaded in the same manner as any other registry. All changes are made in real time, just as normal.
- When you're done, go to the menu "File->Unload Hive..."
However, this will only work on Win2k/Xp/Vista/7, there is no way to load the registry like his in Win9x/ME.
2I wonder if a different tactic would be better? Restoring an old system.dat.
Do some operating systems keep system.old or system.something?
Booting into safe mode? Running regedit.
What I am thinking is even if you could edit it, could you repair it?
2If you have a copy can you just overwrite the bad file? Otherwise you can use your favorite binary editor. I use Hex Edit Neo. They have a freeware version also.