Link to home
Start Free TrialLog in
Avatar of laltobelli
laltobelliFlag for United States of America

asked on

DISM error 1920

Hello,

I have a laptop running Windows 8.1.  Updates were failing and other issues, so I decided to run DISM to try to repair the OS.

The command I ran was: DISM /Online /Cleanup-Image /RestoreHealth

Which gave me an error 1920 - An error occurred accessing the temporary folder C:\Users\Username\appdata\local\temp\098F.....2FA

I browsed to the temp fold and the folder 098F....2FA does not even exists.

Let me know what you think.

Thanks
Avatar of pjam
pjam
Flag of United States of America image

Are hidden files/folders viewed in Folder Options?
If you find that folder do you have access?
Avatar of Ogandos
Are you running this command on a privileged 'cmd' window (cmd window running it as administrator)?
Also DISM may have gotten out of date with the current Windows 8 version. This happens a lot with Windows 10 (Version 1511 and earlier at least).
Avatar of laltobelli

ASKER

Hidden files and folders are available.

Command prompt is being run as administrator.

John, is there a way of updating DISM?
It is very tricky. You need to go to Microsoft Tech Bench and get the proper ISO file

Burn the ISO to a DVD so as to see all the files

First mount the file as follows:
DISM.exe /Mount-Wim /WimFile:C:\test\images\myimage.wim /index:1  /MountDir:C:\test\offline

Then run the DISM command.

Messy!
Ok,

Let's make it using a different path:

Make the directory c:\test1 and ensure that you have correct NTFS permissions on it.
DISM /Online /Cleanup-Image /RestoreHealth /LogPath:c:\test1\dism.log
Here's the results from running Dism on the cd:

D:\sources>DISM.exe /Mount-Wim /WimFile:C:\test\images\myimage.wim /index:1  /Mo
untDir:C:\test\offline

Deployment Image Servicing and Management tool
Version: 6.3.9600.17483


Error: 3

The system cannot find the path specified.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

The log file is the attached dism.log




Running the 2nd command results

D:\sources>DISM /Online /Cleanup-Image /RestoreHealth /LogPath:c:\test1\dism.log


Deployment Image Servicing and Management tool
Version: 6.3.9600.17483


Error: 1920

An error occurred accessing the temporary folder C:\Users\username\AppData\Local
\Temp\F35CA4BE-86BE-426F-9294-EEF01ED94F8C.
Ensure that the path to the temporary folder exists and that you have Read/Write
 permissions on the folder.


The folder C:\Users\username\AppData\Local\Temp\F35CA4BE-86BE-426F-9294-EEF01ED94F8C does not exists.

The DISM log file can be found at c:\test1\dism.log

D:\sources>

The log file is the attached dism1.log
dism.log
dism1.log
ASKER CERTIFIED SOLUTION
Avatar of John
John
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
FYI - After some additional testing it looks as if I also have errors on the drive.  I'm going the safest route and replacing it.
Thanks for the update and I was happy to help.