How to run DISM against a local source?

9

How can I run DISM agaisnt a USB Windows installer to repair my local Windows files?

This is what I tried in Windows 8.1:

DISM /Online /Cleanup-Image /RestoreHealth

It returns error 0x800f081f:

enter image description here

Note that my WinSxS folder has several folders and sizes 6.88 GB, however DISM won't detect it.

I understand that a healthy source can be a Windows USB Installer.

How can I do this?

windows-8
windows-8.1
dism
asked on Super User Jan 29, 2015 by Gabriel • edited Nov 23, 2015 by Ƭᴇcʜιᴇ007

1 Answer

19

You can point to the WIM file of the Windows 8.1 RTM DVD:

Dism /Online /Cleanup-Image /RestoreHealth /source:wim:D:\sources\install.wim:1 /limitaccess

(where D: is your Windows DVD drive or mounted Win8.1 ISO)

answered on Super User Jan 29, 2015 by magicandre1981 • edited Mar 11, 2016 by Dave

User contributions licensed under CC BY-SA 3.0