Hello,
Thank you for writing to Microsoft Community Forums.
- Since when are you facing this issue?
- Did you make any changes prior to this issue?
- What is the error message you get when you run Dism /Online /Cleanup-Image /RestoreHealth?
Method 1: Run the following commands in the PowerShell (administrator) and see if you get the same error message.
- Repair-WindowsImage -Online -CheckHealth
- Repair-WindowsImage -Online -ScanHealth
- Repair-WindowsImage -Online -RestoreHealth
Method 2: Download Windows 10 ISO .
- Double click on the Windows 10 ISO file > double click on sources folder > click on the address bar and copy the file location the file location would be E:\sources, so copy E:\sources and open notepad and paste E:\sources.
- Now, add to E:\sources\install.esd:1 /limitaccess.
Note: If you do not have install.esd in sources folder, then you will have install.wim, so add whichever install file you have in the notepad.
The complete command in the notepad should look like: Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:E:\Sources\Install.esd:1 /limitaccess
You can run the above command either in command prompt or in PowerShell.
Note: This will take some long time, so wait patiently and don't power off the computer or use the computer when this process is going on, otherwise the computer will definitley go in no boot and we can only do a custom installation.
- Open command prompt and copy and paste the above command and let the scan run.
- Once the scan is completed, restart the pc once for the changes to take effect and check for the issue.
Hope it helps.
Let us know if you got the help you needed by clicking Yes or No.
Mala.S
Microsoft Community - Moderator