09 November 2008

Repair Windows

This will bring you to a prompt that says: C:\WINDOWS>

Type: cd \ and then click enter

( Note: between "cd" and "\" there should be a "blank space" otherwise the command won't work. If you find that a command hasn't worked make sure you typed it correctly. These are similar to old DOS commands where spaces had to go between each command so DOS knew where one command stopped and another started.)

You are now at the ROOT of the drive where it all begins. The Prompt should now say C:\>

Now type: CHKDSK /R and click enter.

The chkdsk / r command also includes the P command and will also look for lost recoverable information in bad sectors.

This Disc check takes some time especially if you have a lot of information on your drive, so you should go take a break now and come back periodically to check on the progress. It has taken as much as several hours for this on some machines I've worked on so be patient.

Now after the chkdsk has run type: FIXBOOT then click enter. It may prompt you with a warning but continue through it and once fixboot has finished type: EXIT and click enter.

Your system should reboot and when it does click the F8 button to get a windows start menu. Use the up or down arrow to highlight the LAST KNOWN GOOD CONFIGURATION and click enter. If it was a simple drive error this should have fixed it.

If you still get a system32 error reboot the system to the Recovery Console and follow the steps below.

________________________________________________________________



I. Boot to Recovery Console as described above.



II. Restore the registry with the steps below.

1. Type: cd \

( Reminder: between "cd" and "\" there should be a "blank space" otherwise the command won't work. These are similar to old DOS commands where spaces had to go between each command so DOS knew where one command stopped and another started.)



2.Type: Cd system~1\_resto~1

If it gives an error "Access Denied" while accessing the folder, follow the method below

Type: cd \

Then click enter

Type: cd windows\system32\config

Then click enter

Type: ren system system.bak

Then click enter

(note the spaces between ren and system, and then between system and system.bak)

Type: exit

Then click enter

now the computer should restart, then follow steps 1-6 of the article.



3.Type: dir

Then click enter

NOTICE: When you hit enter it will list all the restore points folders like "rp1", "rp2" we have to see the last restore point to copy the file from a recent backup. If the restore points have more than one page then you have keep on hitting the key to view the last restore point folder.



NOTICE: It is a good rule of thumb to choose the files from the restore point folder which the second to the last one.



4.Type: cd rp {with the second to the last restore point no. } (Note: Example: cd rp9. if rp10 is the last restore point. where last restore point no. =10)

Then click enter

5.Type: cd snapshot

NOTICE: Now the command Prompt will look like this

c:\system~1\resto~1\rp9\snapshot

( Note : restore point 9 assumed for clarity of the content, you have to go to the last restore point folder as described in the previous lines) Now according to the error message we have to copy the appropriate file from the restore point folder.



II.

NOTE: The appropriate command should be used according to the error message. But often times I do both to make sure they match each other.



If the file "system" is corrupted

Type: copy _registry_machine_system c:\windows\system32\config\system

Then click enter



If the file "software" is corrupted

Type: copy _registry_machine_software c:\windows\system32\config\software

Then click enter

Type Exit

Then click enter to restart computer and boot to the hard drive normally.

Entri berkaitan

Tiada ulasan:

Catat Ulasan

Related Posts Plugin for WordPress, Blogger...