Forum     

Go Back   Digit Technology Discussion Forum > Community > Tutorials
Register FAQ Calendar Mark Forums Read

Tutorials This section offers tutorials and How to's on just about anything related to computers and IT. Note: All tutorials are courtesy the posters and not verified by Digit


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 26-09-2006, 06:50 AM   #1 (permalink)
Alpha Geek
 
sabret00the's Avatar
 
Join Date: Aug 2006
Location: Calcutta
Posts: 732
Default How to recover a corrupted registry in Microsoft® Windows® XP?


When you try to start or restart Windows XP, you may receive one of the following error messages:

Windows XP could not start because the following file is missing or corrupt:
\WINDOWS\SYSTEM32\CONFIG\SYSTEM

Windows XP could not start because the following file is missing or corrupt:
\WINDOWS\SYSTEM32\CONFIG\SOFTWARE

Stop: c0000218 {Registry File Failure} The registry cannot load the hive
(file): \SystemRoot\System32\Config\SOFTWARE or its log or alternate


Boot from the Microsoft® Windows® XP cd,

At the Press any key to boot from CD prompt, perform the following steps:

Press the <Spacebar>.
The Windows Setup screen appears, and several files are loaded.
Press the <R> key.
If prompted, select the number corresponding to the Windows installation you want to log on to (usually C:\WINDOWS).
Press the <Enter> key.
Enter the Administrator password (if any) and press the <Enter> key.
The C:\WINDOWS> prompt appears.
NOTE: If the system fails to boot, the following method of recovery is not possible.


To copy the restore point in the recovery console, perform the following steps:

Type cd \ and press the <Enter> key.
Type cd system~1\_resto~1 and press the <Enter> key.



NOTE: If a message Access Denied is displayed while attempting this fix, perform the following steps:
Type cd \ and press the <Enter> key.
Type cd windows\system32\config and press the <Enter> key.
Type ren system system.bak and press the <Enter> key.
Type exit and press the <Enter> key.
Restart the computer.
Continue troubleshooting below.



Type dir and press the <Enter> key.
A list of restore points appear. Choose the restore point which is dated the day prior to the occurence of the reported error.
Type cd rpx (where x represents the restore point you chose in the step above) and press <Enter>.
Type cd snapshot and press the <Enter> key.
Type dir and press <Enter>.
Type copy _registry_machine_system c:\windows\system32\config\system and press <Enter>.
Overwrite system? (Yes/No/All): appears.
Type Y and press the <Enter> key.
Type copy _registry_machine_software c:\windows\system32\config\software and press the <Enter> key.
Overwrite software? (Yes/No/All): appears.
Type Y and press the <Enter> key.
Type copy _registry_machine_sam c:\windows\system32\config\sam and press the <Enter> key.
Overwrite sam? (Yes/No/All): appears.
Type Y and press the <Enter> key.
Type copy _registry_machine_security c:\windows\system32\config\security and press the <Enter> key.
Overwrite security? (Yes/No/All): appears.
Type Y and press <Enter>.
Type copy _registry_user_.default c:\windows\system32\config\default and press the <Enter> key.
Overwrite default? (Yes/No/All): appears.
Type Y and press the <Enter> key.
Type exit and press <Enter> to restart the computer and remove the Windows CD.
NOTE: If any error message is returned while in the recovery console, use an earlier restore point.
__________
Method 2:

Run the CHKDSK /R command in the Microsoft® Windows® XP operating system.

Insert the Windows XP CD into the CD drive.

Boot the system from the CD drive.

The prompt Press any key to boot from CD... appears.

Press the spacebar.

The Welcome to Setup dialog box appears.

Press the <R> key to repair Windows by using the Recovery Console.

Select the number that is associated with the Windows installation you want to log into, and then type the administrator password (or press the <Enter> key if no administrator password exists).

From Recovery Console, type the following command:

CHKDSK /R

Press the <Enter> key.

From the Recovery Console, type the following command:

EXIT

Press the <Enter> key to restart your computer.


NOTE: If the system still does not boot to the hard drive, attempt to run the CHKDSK /R command again. Depending on the corruption on the hard drive, it may take several tries to achieve a complete repair.
__________________
C2D E6600,Asus P5N32 e SLI,1GB 667mhz,Samsung 940BW,Zeb 8600GT,Seagate 250GB sata II,16x Sony(OEM) dvd RW,Zeb Anitibiotic & Platinum 500W,Microsoft desktop pro 700,bluetooth,Logitech MX Revolution

Last edited by sabret00the; 26-09-2006 at 06:50 AM. Reason: Automerged Doublepost
sabret00the is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 04-10-2006, 02:46 PM   #2 (permalink)
Alpha Geek
 
jz2linkinpark's Avatar
 
Join Date: Jul 2006
Location: Rorikstead
Posts: 560
Default Re: How to recover a corrupted registry in Microsoft® Windows® XP?

superb tutorial, and you wrote it urself too!
__________________
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
jz2linkinpark is offline  
Old 04-10-2006, 11:15 PM   #3 (permalink)
Alpha Geek
 
sabret00the's Avatar
 
Join Date: Aug 2006
Location: Calcutta
Posts: 732
Default Re: How to recover a corrupted registry in Microsoft® Windows® XP?

@ jz2linkinpark : Hey thnx bro but I did'nt write it all by myself.I work as a tech support for one of the world's largest computer companies.Thought of sharing wat i do for a living almost everyday.
__________________
C2D E6600,Asus P5N32 e SLI,1GB 667mhz,Samsung 940BW,Zeb 8600GT,Seagate 250GB sata II,16x Sony(OEM) dvd RW,Zeb Anitibiotic & Platinum 500W,Microsoft desktop pro 700,bluetooth,Logitech MX Revolution
sabret00the is offline  
Old 04-10-2006, 11:24 PM   #4 (permalink)
Super Hero - Super Powers
 
n2casey's Avatar
 
Join Date: Sep 2006
Location: Dynamic
Posts: 766
Default Re: How to recover a corrupted registry in Microsoft® Windows® XP?

then also, thx for ur tute
__________________
Minds are like Parachutes :arrow: They work best when open
n2casey is offline  
Old 04-10-2006, 11:33 PM   #5 (permalink)
Alpha Geek
 
sabret00the's Avatar
 
Join Date: Aug 2006
Location: Calcutta
Posts: 732
Default Re: How to recover a corrupted registry in Microsoft® Windows® XP?

hey ur wlcm and if u guys have a PATA/SATA hdd and not able to clean the HDD entirely(i mean strip it off the partition table entirely).then try to use the The MS-DOS "DEBUG SCRIPT" to completely remove partition table from HARD DRIVE The MS-DOS "DEBUG SCRIPT" to completely remove partition table from HARD DRIVE
__________________
C2D E6600,Asus P5N32 e SLI,1GB 667mhz,Samsung 940BW,Zeb 8600GT,Seagate 250GB sata II,16x Sony(OEM) dvd RW,Zeb Anitibiotic & Platinum 500W,Microsoft desktop pro 700,bluetooth,Logitech MX Revolution
sabret00the is offline  
Old 06-10-2006, 12:47 AM   #6 (permalink)
Human Spambot
 
swatkat's Avatar
 
Join Date: Mar 2004
Location: India
Posts: 2,033
Default Re: How to recover a corrupted registry in Microsoft® Windows® XP?

Hi,
It's better to run chkdsk first. If it doesn't solve the problem, then go for restoring the Registry hive files. Another method can be found here.
__________________
http://swatrant.blogspot.com/
swatkat is offline  
Old 07-10-2006, 08:02 PM   #7 (permalink)
Alpha Geek
 
sabret00the's Avatar
 
Join Date: Aug 2006
Location: Calcutta
Posts: 732
Default Re: How to recover a corrupted registry in Microsoft® Windows® XP?

Quote:
Originally Posted by swatkat
Hi,
It's better to run chkdsk first. If it doesn't solve the problem, then go for restoring the Registry hive files. Another method can be found here.
Very nice observation bro.thnx a lot for posting the comment though.Chkd out ur blog.Nice effort must say.
__________________
C2D E6600,Asus P5N32 e SLI,1GB 667mhz,Samsung 940BW,Zeb 8600GT,Seagate 250GB sata II,16x Sony(OEM) dvd RW,Zeb Anitibiotic & Platinum 500W,Microsoft desktop pro 700,bluetooth,Logitech MX Revolution
sabret00the is offline  
Old 08-10-2006, 08:35 PM   #8 (permalink)
Alpha Geek
 
sabret00the's Avatar
 
Join Date: Aug 2006
Location: Calcutta
Posts: 732
Default Re: How to recover a corrupted registry in Microsoft® Windows® XP?

think u guys will find this helpful as well:The MS-DOS "DEBUG SCRIPT" to completely remove partition table from HARD DRIVE
__________________
C2D E6600,Asus P5N32 e SLI,1GB 667mhz,Samsung 940BW,Zeb 8600GT,Seagate 250GB sata II,16x Sony(OEM) dvd RW,Zeb Anitibiotic & Platinum 500W,Microsoft desktop pro 700,bluetooth,Logitech MX Revolution
sabret00the is offline  
Old 08-10-2006, 09:23 PM   #9 (permalink)
gooby pls
 
Third Eye's Avatar
 
Join Date: Apr 2006
Location: Not very far from you
Posts: 4,293
Default Re: How to recover a corrupted registry in Microsoft® Windows® XP?

thanks man !
__________________
:|
Third Eye is offline  
Old 08-10-2006, 10:08 PM   #10 (permalink)
Alpha Geek
 
Stalker's Avatar
 
Join Date: Jul 2006
Location: closer than u think..
Posts: 992
Default Re: How to recover a corrupted registry in Microsoft® Windows® XP?

gr8 tutorial
__________________
| C2Q Q6600 G0 | Intel DG33FB | 4 GB Corsair 6400C5G DDR2-800Mhz | XFX 8800GTX | CM Extremepower 600W | 250GB Seagate HDD | Lite-ON 1635S DVD RW | Logitech MX-518 | Zalman RS6F | APC RS 800 |
Stalker is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Tenida
- by clinton
- by Anorion

Advertisement




All times are GMT +5.5. The time now is 03:34 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2