Tuesday, September 19, 2023

DISM From USB Windows Installer

If your windows pc wont boot, I will show you some command we can use from Windows Recovery to try and fix and repair Windows 11 or Windows 10

dism command using your windows image
dism /image:c:\ /cleanup-image /restorehealth /source:c:\windows

Add this command you yours and change path to your path
/scratchdir:{path}

This command uses the windows image on USB drive we created.
dism /image:c:\ /cleanup-image /restorehealth /source:{path to install.wim or install.esd}

sfc /scannow from windows recovery
sfc /scannow /offbootdir={drive}\ /offwindir={drive}\windows

Important: Make sure you change drive letters to your drive letters 

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Pin Not Available

Crazy Error I had not seen before. Pin not available blah blah. I restarted a few times and it finally worked. If it doesn't some say to...