Replace C:\install.wim with your image’s file path and C:\Offline with your dedicated offline image’s root folder. Now, run the below command to mount the image ( install.wim) to your dedicated folder ( C:\Offline). But for this tutorial, the folder is named C:\Offline.Ĥ. Create a folder with your preferred name where you’ll mount the offline image ( install.wim). wim is required since /Mount-Wim option only mounts.
If you have the install.wim file already, you can jump to step five to repair your Windows 10 image.įor this tutorial, the converted install.wim file is saved on the C:\ drive directly, but you can save it on your preferred location.Ĭonverting the image from. If you have the install.esd file, convert the file to install.wim, so you can mount the image on a folder (step four). Next, check whether you have the install.esd or install.wim file. You can skip this step if you have an image only instead of an ISO.Ģ.
Mount your ISO and confirm the drive letter as you did in the “Repairing an Image with a Windows 10 Image Copy” section (steps two-three). If so, appending the /Image switch can help, where you’ll specify the path to the root directory of the offline image copy.ġ. Perhaps a client tasked you to repair an offline Windows 10 image. Finally, restart your device after the successful repair, and your Windows 10 should now be fully functional. Repairing the Image Online with a Fresh Copy of Windows 10 Image as the Sourceĥ. This command will show you the size of the component store, so you can see if there are reclaimable packages and if cleanup is recommended. Run the following command to tell DISM to analyze the component store ( /AnalyzeComponentStore). Related: 9 Ways to Clean Up Windows 10 With Disk Cleanup Cmd’sīut before cleaning up the component store, you’ll first have to use the /AnalyzeComponentStore argument together with a DISM command.ġ. Insufficient storage is known to cause issues, not just with Windows 10 but also other OS.
I wasnt at my PC when I posted last night. And the files and sub-folders inside my ESD folder are dated 2018. Some people have the ESD folder, and some dont.
Knowing that your Windows 10 image is repairable, take this opportunity to free up some disk space by reducing the size of the component store. Stigg said: The Windows ESD Installation Files option is not there in Disk Cleanup for me. Finally, when you’ve successfully repaired your Windows 10 system files, restart your device to test if the repair fixed your Windows 10 issues. If you get an error after running sfc /scannow command, check Microsoft’s documentation about using the System File Checker. Remember to always run command prompt as administrator before running DISM commands since DISM requires elevated permissions.Ĭhecking and Repairing Corrupt System Files with System File Checker (sfc) The /Online switch in the command targets the running Windows 10 OS. Launch your command prompt as an administrator, and run the DISM command below to scan ( /ScanHealth) your Windows image and log errors and/or corruptions when detected.
The component store tracks and services all components that make up the Windows operating system.
In this tutorial, you’ll first use the /ScanHealth argument, which tells DISM to check individual items for corruption in the component store. Essentially, check if your image is still repairable with the DISM cleanup-image option and two arguments ( /ScanHealth and /CheckHealth). Scanning for Corrupted Items with dism cleanup-imageīefore running DISM commands, don’t waste time repairing your Windows 10 image just to hit a roadblock. A Windows user account with administrator privileges.A Windows 10 PC – This tutorial uses Windows 10 Version: 21H2, but other versions will also work.If you’d like to follow along, be sure you have the following: This tutorial will be a hands-on demonstration. Repairing an Image Using /Cleanup-MountPoints.Repairing an Image Offline with a Windows 10 Image Copy.Checking the Component Store for Existing Detected Corruptions.Scanning for Corrupted Items with dism cleanup-image.So I was able to clean out more than 31 GB of files with a few clicks. Check the box next to "Temporary Windows Installation Files" to delete installation files you no longer need. It's expected that Windows itself will delete the folder after 30 days. You have only 30 days from the date of your Windows 10 installation to revert to it. If you do that, of course, you won't be able to revert to your old operating system. Check the box next to it if you want to delete it, and then click OK. Scroll down to "Previous Windows installation(s) and you'll see how much space your Windows.old folder uses. After a short while it shows you a list of all the files it can clean for you. Click "Clean up system files," and the tool examines your system for files to clean. To run it, type Disk Cleanup in the search bar, and then click the Disk Cleanup program entry that appears.