August 7, 2008

How To Restore System Files Using Recovery Console?

Viruses, Malwares or Trojans may corrupt modifies system files to reduce security of the system or to make an workable environment for malicious process. Sometimes anti-virus may not be able to clean or restore these files due to access or other permission problems. Or if you accidentally removed a system file then the OS become unstable and abnormal. In such situations we can use Recovery Console restore system files from Windows CD.

How To Restore System Files Using Recovery Console?

1. Put your Windows CD into the computer and restart.

2. Go to BIOS and change the boot option to Boot from CD,Save and Exit. (Restart again)

3. "Press any key to boot from CD" appears on screen, Then press any key to continue.

4. When the "Welcome to Setup" screen appears, press R to start the Recovery Console.

5. Recovery console ask you Administrator password , type password and press enter.

6. Type the following command to change directory to the location where the corrupted system file resides.

cd C:\Windows\[Directory Name]

eg: cd C:\Windows\System32

7. Copy or rename corrupted system file using any one of these commands

copy filename.dll filename.backup

or

ren filename.dll filename.backup

eg: copy userinit.exe userinit.backup

** filename.dll, filename.backup, userinit.exe and userinit.backup are just examples

8. Restore the file from Windows CD using this command shown below.

expand [CD drive]:\i386\filename.dll C:\Windows\System32


eg: expand D:\i386\userinit.exe C:\Windows\System32

9. Type this command exit recovery console.

exit

10. Restart Windows normally.


No comments: