How to Fix Windows XP
Date: Sunday, February 15, 2009 @ 09:25:56 PST
Topic: Tips, Tricks & Tweaks


Repair Windows XP Options

 
  1. Lost admin password Use Linux boot disk to reset admin password: “http://home.eunet.no/~pnordahl/ntpasswd/
  2. Try to boot the system into the “Last Known Good Configuration”.
  3. Boot into Safe Mode and try fixing from there first (disable services, or drivers ).
  4. Run CHKDSK /R /P to repair disk errors.
  5. Run Windows Systems Restore if XP boots.
  6. Replace corrupt NTLDR file, From Recovery Console type: COPY E:i386NTLDR C:
  7. Run System Restore from cmd prompt, type:  %systemroot%system32 restore strui.exe
  8. Insert windows XP Disk and try to do a repair install “Bypass the recovery console”.
  9. Recovery Console: run BOOTCFG /Rebuild to repair Boot.ini. (follow the steps below)

Ø      C: ATTRIB -H C:boot.ini

Ø      C: ATTRIB -S C:boot.ini

Ø      C: ATTRIB -R C:boot.ini

Ø      C: del boot.ini

Ø      C: bootcfg /rebuild

  • Add installation to boot list? (Yes/No/All): Type: Y
  • Enter Load Identifier: Type in any description you want that will identify the installation of Windows (e.g., Windows XP SP2)
  • Enter OS Load Options, Type in:   "/fastdetect" and/or "/NoExecute=OptIn" without the quotes

Ø      C: fixboot

Typical boot.ini looks like this:



[boot loader]
timeout=30default=multi(0)disk(0)rdisk(0)partition(1)WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /fastdetect

  1. Recovery Console: run FIXBOOT to write a new partition boot sector to the system partition
  2. Recovery console: run FIXMBR to repair the master boot record.
  3. Recover the registry: (press ENTER after you type each line)
md tmp

copy c:windowssystem32configsystem c:windows mpsystem.bak

copy c:windowssystem32configsoftware c:windows mpsoftware.bak

copy c:windowssystem32configsam c:windows mpsam.bak

copy c:windowssystem32configsecurity c:windows mpsecurity.bak

copy c:windowssystem32configdefault c:windows mpdefault.bak



delete c:windowssystem32configsystem

delete c:windowssystem32configsoftware

delete c:windowssystem32configsam

delete c:windowssystem32configsecurity

delete c:windowssystem32configdefault



copy c:windows epairsystem c:windowssystem32configsystem

copy c:windows epairsoftware c:windowssystem32configsoftware

copy c:windows epairsam c:windowssystem32configsam

copy c:windows epairsecurity c:windowssystem32configsecurity

copy c:windows epairdefault c:windowssystem32configdefault







This article comes from JayMor Computing, L.L.C
http://www.jaymor.com

The URL for this story is:
http://www.jaymor.com/modules.php?name=News&file=article&sid=9