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?