Solved

Is it safe to delete DismHost.exe & associated files from my AppData\Local\Temp folder

Posted on 2013-12-02
5
7,671 Views
Last Modified: 2013-12-07
Hello--

Immediately after running Disk Cleanup, a folder appeared in Cate\appdata\local\temp that contains DismHost.exe along with a bunch of dll's and mui's.  I understand that DISM is Deployment Image Servicing and Management, just not sure why this appeared where it wasn't before.  Hating Temp clutter, I'd like to delete but don't know if it's serving a purpose.

OS: Win 7 Home Prem.
Attached screenshot.

Thanks for your help!
Dism-related-files.png
0
Comment
Question by:terrafax
5 Comments
 
LVL 12

Expert Comment

by:ibrahim52
Comment Utility
I suggest you to download the pro trial version of smartprotector from the link below and click ERASE it will take care of all cleaning and its quick.

http://smartprotector.com/eraser/


Also that folder should be in %system% than temp. In case if smartprotector couldn't erase it then I'd suggest you to delete it manually but first create a restore point of your existing OS and in case if you think somethings wrong after deleting the folder then restore your PC again. Simple.
0
 
LVL 11

Accepted Solution

by:
MajorBigDeal earned 500 total points
Comment Utility
Yes, you can remove that.  Assuming it is real, it was used to create (deploy) your image and is no longer needed.
0
 
LVL 2

Expert Comment

by:ANUPKUMAR NAIR
Comment Utility
Please use the Disk clean up wizard under disk properties. I t will clean up all those files & generally the files kept in temp folder are for temporary purpose. Example: while installing antivirus the .msi file gets generated in the temp folder & this will not be used after the installation.

so you can go ahead and delete the file.
0
 
LVL 19

Expert Comment

by:marsilies
Comment Utility
I wouldn't bother deleting it; from what I understand, Windows will just recreate it, with a different folder name:
http://www.wilderssecurity.com/showpost.php?s=ff102ef519d1b040ee1fdcbd4eaf9449&p=2265931&postcount=2412

Apparently it's the default "scratch directory" for DISM. You can change the scratch directory to something else if you want to keep TEMP completely clean.


From:
http://technet.microsoft.com/en-us/library/hh825079.aspx
/ScratchDir:<path_to_scratchdirectory>
Specifies a temporary directory that will be used when extracting files for temporary use during servicing. The directory must exist locally. If not specified, the \Windows\%Temp% directory will be used, with a subdirectory name of randomly generated hexadecimal value for each run of DISM.

More info:
http://social.technet.microsoft.com/Forums/windowsserver/en-US/1a99a1ae-72a4-47ee-b53a-0126176dbac4/dismwindows-updates-failing-when-temporary-folder-moved?forum=winserverManagement
http://systemexplorer.net/file-database/file/dismhost-exe
0
 

Author Comment

by:terrafax
Comment Utility
Many thanks to all who made suggestions! Y'all are lifesavers. (Meant to accept multiple solutions and hit wrong button.) I was flummoxed because I had already run Disk Cleanup but the folder was still there in temp.  There are 4 iterations of DismHost.exe and its associated files--which I'm leaving alone!  Decided to leave scratch directory alone, manually deleted the folder from Temp. Issue hasn't recurred.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now