On Windows to Go What's the Syntax for DISM /CheckHealth /ScanHealth and /RestoreHealth to Fix Drive C:?

Alvin777 20 Reputation points
2024-05-11T02:38:01.5066667+00:00

Hello Microsoft experts, on Windows to Go what're the syntaxes for DISM's: /CheckHealth /ScanHealth and /RestoreHealth to fix drive D: which is drive letter as it appears on Windows to Go of the main Windows 11 installation that's in the main internal drive?

Thank you in advance.

God bless Microsoft experts.

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,416 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 31,166 Reputation points Microsoft Vendor
    2024-05-14T01:48:29.99+00:00

    Hi Alvin777,

    Thanks for your post.

    You can use the /Cleanup-Image option to perform cleanup or recovery operations on the specified image.

    Dism /Image:D:\ /Cleanup-Image /CheckHealth
    Dism /Image:D:\ /Cleanup-Image /ScanHealth
    Dism /Image:D:\ /Cleanup-Image /RestoreHealth
    

    Please refer to this link for more details.

    https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism-operating-system-package-servicing-command-line-options?view=windows-11#cleanup-image

    Best Regards,

    Ian Xue


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