Windows 10: scannow and dism don't work right
scannow and dism don't work right
I ran sfc/scannow (trying to diagnose a sleep problem) and it found irreparable files, and I ran it again in safe mode, and again, irreparable.
I ran dism and it couldn't access the source files. (Afterwards, I checked windows update, and it says that the computer is up to date, and the last check was at the time I ran dism!)
Is this behavior normal for windows 10 pro x64?
What do you mean they don't work right? Details!
Are you using an administrative command prompt (right click Start, select Command Prompt [Admin])?
yes, elevated command prompt.
my message indeed contains the errors I encountered.
scannow complains of irreparable files
dism complains that it couldn't access the source files
Sorry, dark on dark (dark theme), couldn't see the context of the message.
Have you tried running sfc /scannow Command at Boot?
I didn't try that one yet, too lazy... maybe I will give it a go.
You first need to run dism command to fix the component store then you can proceed to run sfc.
You also need the Windows 10 ISO from Windows 10 Download - Tech Bench. extract with Winrar or 7-zip
1- Create a folder on desktop: mount
2- Copy install.wim to desktop from the extracted ISO in the Sources folder.
Open Admin Command prompt, copy each line then run:
Dism /mount-wim /wimFile:%USERPROFILE%\Desktop\install.wim /index:1 /MountDir:%USERPROFILE%\Desktop\mount
Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /RestoreHealth /Source:%USERPROFILE%\Desktop\mount\windows /LimitAccess
Dism /unmount-wim /Mountdir:%USERPROFILE%\Desktop\mount /discard
After done with component store repair, run: sfc /scannow
NOTE: You might have to re-run sfc multiple times until you get a clean message.
I made the mount folder on my desktop, and I mounted a ISO of windows 10, it is an ISO that I downloaded after the big november update.
I copied the install.wim file from it, and pasted it in the mount folder.
I ran admin cmd prompt, and entered the first command.
It returned the error pasted below, even though I can clearly see that the file is in the specified folder:
The system cannot find the file specified.
The DISM log file can be found at C:\windows\Logs\DISM\dism.log
I just now ran dism check health, and it shows no problems.
If no problems, then why did scannow say there were problems?
this is the message I got:
C:\windows\system32>Dism /Online /Cleanup-Image /CheckHealth
Deployment Image Servicing and Management tool
Image Version: 10.0.10586.0
No component store corruption detected.
The operation completed successfully.
I saw this post on reddit.
It sounds like maybe windows.old is the source of the "corrupt and unrepairable" files.? If that is true, there really is no problem to begin with.
Windows 10 can't repair corrupt files! : Windows10
see link in sig below - program runs all the needed cmds.. to SFC and Restore health
Recently updated to windows 10 I've tried a scannow to resolve another issue and I get a failure message with files being corrupted. I've tried a reset keeping my files but I've got no idea where to look next. Attached is my log file from...
Windows 10 user. Having some trouble with my system after coming back from a weekend. Nothing major...just having trouble playing some games that require plugins etc
Regardless if it's related, I just wanted to run an SFC/Scannow or...
I know this may be old news to some of you guys, but posting anyway.
So I installed a game which did some net framework installing and after that had a hang. Removed the game, did sfc and found corrupt files. ...
This is on a new pc I bought today. Bad news! Where can I get an ISO 10240 which I can use on my external disk as a source file to repair - or where can I go for a source file? Appreciate any help. Thanks!
Hello. My laptop become slower and slower every year, but seeing my father's PC running Windows 10 flawlessly with about a half of my laptop specs, I've started to wonder if i'm doing something wrong. Therefore, searching the forums, I've found ...