PDA

View Full Version : I fcked up the registry :(



pcw
05-13-2004, 01:17 PM
Need help pretty quickly to get rid of this problem..

what i did was that i read about some memory management guide and they suggested that i took away "posix" in the registry to improve performance so I did that.. of course i backed up the registry before doing that.. so after reboot it wont go into windows.. just comes up a bunch of error messages and i cant F8 safe boot into windows either..

so i put in the win xp pro cd and boot it up and went into the recovery option.. not the ASR... and in there i get acces to c:\ in a black and white DOS environment.. mm so I thought okay Ill just copy the registry file I exported and copy it over the original and reboot.. but thing is i cant find the original registry file.. i thought it would be named xxxxxx.reg and would be inside c:\windows or c:\windows\system32 but there are no .reg whatsoever in there.. i even searched on this laptop im writing on right now at the moment..

please :) need help urgently...

cheers :beer:

Wrench
06-01-2004, 09:27 AM
Because registry hive is not saved as a reg file its a .dat file. I think its User.dat and or system.dat I think its. Check google.

What I would do is find your reg file then copy it onto a disk go to a functional machine use a prog that can open external registry files and undo your changes.

benonmsn
06-04-2004, 11:06 AM
In part one, you start the Recovery Console, create a temporary folder, back up the existing registry files to a new location, delete the registry files at their existing location, and then copy the registry files from the repair folder to the System32\Config folder. When you have finished this procedure, a registry is created that you can use to start Windows XP. This registry was created and saved during the initial setup of Windows XP. Therefore any changes and settings that occurred after the Setup program was finished are lost.

To complete part one, follow these steps:
Insert the Windows XP startup disk into the floppy disk drive, or insert the Windows XP CD-ROM into the CD-ROM drive, and then restart the computer.
Click to select any options that are required to start the computer from the CD-ROM drive if you are prompted to do so.
When the "Welcome to Setup" screen appears, press R to start the Recovery Console.
If you have a dual-boot or multiple-boot computer, select the installation that you want to access from the Recovery Console.
When you are prompted to do so, type the Administrator password. If the administrator password is blank, just press ENTER.
At the Recovery Console command prompt, type the following lines, pressing ENTER after you type each line:
md tmp
copy c:\windows\system32\config\system c:\windows\tmp\system.bak
copy c:\windows\system32\config\software c:\windows\tmp\software.bak
copy c:\windows\system32\config\sam c:\windows\tmp\sam.bak
copy c:\windows\system32\config\security c:\windows\tmp\security.bak
copy c:\windows\system32\config\default c:\windows\tmp\default.bak

delete c:\windows\system32\config\system
delete c:\windows\system32\config\software
delete c:\windows\system32\config\sam
delete c:\windows\system32\config\security
delete c:\windows\system32\config\default

copy c:\windows\repair\system c:\windows\system32\config\system
copy c:\windows\repair\software c:\windows\system32\config\software
copy c:\windows\repair\sam c:\windows\system32\config\sam
copy c:\windows\repair\security c:\windows\system32\config\security
copy c:\windows\repair\default c:\windows\system32\config\default


Type exit to quit Recovery Console. Your computer will restart.