Avatar of Sabbir Ahmed Khan
Sabbir Ahmed Khan
 asked on

706 GB of Temporary Files!!!!

Can someone please help me? My windows server 2016. My server windows>temp location have created a lot of .temp files and it is created automatically. if I deleted this and it is again created within a short time. How can stop this?
Windows 10AzureWindows Server 2016

Avatar of undefined
Last Comment

8/22/2022 - Mon

You'll have to run Process Monitor for a while to know which thread is responsible for that.

And even if you find out who's responsible, sometimes it can't be helped (hardcoded program/service).
Dr. Klahn

How many is "a lot" of files?  100 ... 1000 ... 10,000?  And how big is each file?  Do the sizes vary, or are they all more or less the same size?  Is there any indication from the filename what is creating them?

Kimputer is right.  Find out who the guilty party is, then you can see if anything can be done about it.
Robert Retzer

It sounds like it could be malware, I heard for malware filling up the drive with useless files. If you cant find the process that is creating the temp files I would run a malware scan to see if it can find the virus or malware that is causing this issue especially if it is in the temp folder.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy

It could just be Windows updates.  I've seen a few systems where Windows updates keeps failing, and it keep downloading and expanding a new cab file into C:\windows\temp\.  What sort of files are you seeing?
Sabbir Ahmed Khan

I used in here exchange server

post a screenshot of these files
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
fred hakim

First, I assume you have used the disk cleanup tools, including the clean system files option without getting any significant results.  

My next step would be to use a directory tree size viewer,  like Treesize,  to find out exactly what folder(s) is using all the space.   Once you know that, you can proceed to take appropriate actions.  

For treesize, you would need the professional edition to examine a server.  I believe they offer a free trial, that may be all you need for now.

See:  https://www.jam-software.com/treesize/index.shtml
Sabbir Ahmed Khan

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Thanks for marking your own answer as the answer, when the first reply was "And even if you find out who's responsible, sometimes it can't be helped (hardcoded program/service).", as in.... what you marked yourself as the answer.