Windows 7 boot fails “autochk not found skipping autocheck”

bootwindows 7

I deleted an old Windows XP partition and moved the Windows 7 partition to the left using gParted. The first reboots failed completely with the error "No operating system found".

Then I used a Windows 7 repair disc, got into command prompt and used different bootrec commands:

bootrec /fixboot

bootrec /fixmbr

bootrec /rebuildbcd

The last command is still saying

Total identified Windows installations: 0

Fortunately, through these commands I was able to start Windows again but it fails with the autochk program not being found.

autochk not found skipping autocheck

Running repair disc again I got the following repair details:

Session details
---------------
System Disk = \Device\Harddisk0
Windows directory = C:\Windows
AutoChk Run = 0
Number of root causes = 1

Root cause found:
Unspecified changes to system configuration might have caused the problem.

Repair action: System files integrity check and repair
Result: Failed. Error code = 0x57

How can I successfully boot into Windows now?

Best Answer

There is no rocket science behind Windows booting. Windows Vista and later boot sequence on MBR disks:

  1. MBR code
  2. PBR code (partition boot record code of active partition)
  3. bootmgr on active partition uses BCD (boot config data)

Boot Configuration Data (BCD) for Vista and later is stored in a file "\Boot\BCD" on active partition.

When you move partitions which are critical for booting Vista (Win7, Win8) the data stored in BCD is out of sync with real partition address (disk id + partition offset) so boot fails.

To correct problem with BCD the utility bcdboot.exe can be used:

bcdboot c:\windows

where c:\windows is the root of the OS (Vista, Win7, Win8) which fails to boot, change drive letter if necessary to reflect drive mapping on your system.

To correct boot sector code the command -

bootsect /nt60 all /mbr

can be used.

The commands above are available in WindowsPE and WindowsRE and usually don't fail.

It is possible that some system critical files are also loaded relative to partition address so autochk.exe "\windows\system32\autochk.exe" cannot be found when you move partition start.

The address of a mapped partition is stored in Windows registry (HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices\DosDevices\C: for example)

Related Question