So I needed to shrink a C: partition of a Windows 7 (Server 2008 R2) machine. After shrinking with Gparted (my open-source partitioning tool of choice), Windows no longer booted, with the boot manager complaining of 0xc0000225 (awesome error message as usual, Microsoft).
To get things working again, it was necessary to execute the following BCDedit.exe commands from a rescue disk (WinPE worked fine for me):
bcdedit /set {bootmgr} device boot
bcdedit /set {default} device boot
bcdedit /set {default} osdevice boot
After that, life is again normal.
Thank you!
I’ve search all the Internet on this 0xc0000225 error after partition resize.
And it’s only your tip that actually worked!
Glad it worked out for you! Believe me I was very frustrated before I figured this out.
Typical unhelpful error code, hopefully you solved this problem, if not have a look at this threadpartition ideas.
Hey Randy,
Thank you very much for sharing these commands… They finally solved my problem
Feels soooooo gooooooood