WPEUTIL reboot/shutdown commands fail in WinRE after KB5053117 update

AZBruno 116 Reputation points
2025-02-12T17:26:07.0266667+00:00

I build custom recovery media using WinRE. To end the WinRE session, the user can use either wpeutil reboot or wpeutil shutdown command to reboot or shutdown the computer.

After Windows Update KB5053117 (1/28/25) is installed, the WinRE version is updated to 10.0.26100.3031. Using this version the wpeutil reboot/shutdown commands fail with error code 0x80070006.

KB5053426 was just released (2/11/25) and replaces KB5053117. It updates WinRE to version 10.0.26100.3180. The problem with wpeutil still persists.

I am able to perform the reboot or shutdown by copying shutdown.exe from Windows to the WinRE image and then using the command shutdown.exe -r -t 00 or shutdown.exe -s -t 00, although I prefer not copying extra programs in for functions which should work.

The release notes are vague for these updates so I don't know whether there may be a particular reason for this behavior or if it's just an undetected bug.

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,815 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,785 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Daisy Zhou 29,561 Reputation points Microsoft Vendor
    2025-02-14T08:15:43.13+00:00

    Hello

    Thank you for posting in Q&A forum.

    The error code 0x80070006 typically indicates an invalid handle error. To address this issue, you might consider the following steps:

    1. Ensure that there are no additional updates available that might fix this issue.
    2. If possible, try using alternative methods to reboot or shut down, such as using the shutdown command directly from the command prompt.
    3. If the issue persists and is critical, you might consider reverting the KB5053117 update temporarily until a fix is released.

    Reference:

    Wpeutil Command-Line Options | Microsoft Learn

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.