Windows Vista / Windows 7: 0xc0000225 after resizing partition

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.

4 Responses to Windows Vista / Windows 7: 0xc0000225 after resizing partition

  1. Andycar says:

    Thank you!
    I’ve search all the Internet on this 0xc0000225 error after partition resize.

    And it’s only your tip that actually worked!

  2. Randy says:

    Glad it worked out for you! Believe me I was very frustrated before I figured this out.

  3. Typical unhelpful error code, hopefully you solved this problem, if not have a look at this threadpartition ideas.

  4. Anonymus says:

    Hey Randy,

    Thank you very much for sharing these commands… They finally solved my problem ;)
    Feels soooooo gooooooood :)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>