Solved

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

Posted on 2013-12-02
5
7,779 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
ID: 39691620
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
ID: 39691629
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
ID: 39691679
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
ID: 39693951
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
ID: 39702969
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

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

867 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

16 Experts available now in Live!

Get 1:1 Help Now