After resizing a system disk on a Windows 2008 Server, an error occured when rebooting the server :
\Windows\System32\winload.exe
The selected entry could not be loaded because the application is missing or corrupt
To solve this issue, I inserted the Windows 2008 installation CD and booted from it. I selected Repair and then started the command prompt.
The Windows 2008 boot configuration can be configured with the tool BCDEDIT.EXE. (command-line options)
First you can run the tool to see the current settings. It should probably look something like this :
Windows Boot Manager
——————–
identifier {bootmgr}
device unknown
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30Windows Boot Loader
——————-
identifier {current}
device unknown
path \Windows\system32\winload.exe
description Microsoft Windows Server 2008
locale en-US
inherit {bootloadersettings}
osdevice unknown
systemroot \Windows
resumeobject {12f74cff-e685-11dd-8438-93c12396c12f}
nx OptOut
To solve the issue for the starting location (currently unknown) you can use the following 3 commands :
c:\windows\system32\bcdedit /set {default} device partition=c:
c:\windows\system32\bcdedit /set {default} osdevice partition=c:
c:\windows\system32\bcdedit /set {bootmgr} device partition=c:
After a reboot the server was starting normally.





Simply a life saver!
hi dear
i had been solved the problem of winload.exe by the above instructions that you givin, and the server start again but when i put the username and password its login to a blank blue screen with no icones and start bar, please can you tell me how to fix that.
yours
akram A.Q
It work for me, thanks. it was a big pain in the @$$! the last option was to format may server untill I see this forum. keep it up!
worked like a charm, thanks for posting this fix
You are the man! Keep this page up for other poor souls in the future!!!!!
Akram,
We have the same issue and got the same login problem, how did you fix it?
i had been solved the problem of winload.exe by the above instructions that you givin, and the server start again but when i put the username and password its login to a blank blue screen with no icones and start bar, please can you tell me how to fix that.
Simply amazing. Thanks! After doing a data recovery on a failed set of drives, the recovered drive failed and I thought all was lost. This is what the internet is about.
win 2008 x64 changing partitions from one hd to a bigger one to increase the C: partition. Your post save the job. Thanks. I agree “you are the man!”
In german we say:”Geil!” (it means “hot!”). Fantastic solution. I am a Windows(-Server) supporter since 20 years. But this problem was hard and the solution heavenly. Thanks
you deserve a medal!
works like a charm! 
thnx in advance for writing this post!
Regards,
Leon
Post a comment