SSD Drive fillling up, which files can be deleted in Windows\Temp

My main computer crashed yesterday and I'm moving everything to another computer in the office.

This computer is a Win 7 Pro Dell Desktop, 32GB memory, 256GB SSD drive as C: and 2TB I: drive

All of my data and applications are on the I: drive.  When I moved to this computer I didn't put anything on the C: drive but when I just opened the 'Computer' option on the start menu the C:Drive usage bar is in red with 15.7 GB free of 226GB.  This is obviously a very bad situation.

I ran the Disk Cleanup utility but that only gave me a couple GB.

I used 'TreeSize' to find that C:\Windows\Temp is 90GB in size.  I'm sure there are files I can delete from there but I really don't know which ones.  There are 6,154 files in 129 folders.

I really need to free up some space.  Any suggestions.  I really don't need this computer to crash after my other computer crashed yesterday.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Create another folder in C called Hold_Temp.  MOve the files/folders in temp to it then reboot.  If anything has a fit, move them back, but I would not expect any issues in deleting them.  Some may not if they are in use by an App or the OS.
RaminTechnical AdvisorCommented:
Right click on C:  >> properties >> Disk Cleanup, and Select the checkbox for these items:

Temporary internet files.
Recycle Bin
Service pack Backup files
Temporary files
Windows update Cleanup
Click "OK".

Note: check if any item is not selected and takes up some GB space.

To free up more space and only if your Computer is working fine and you don't want all your System Restore files but the last one,  then from the above menu  also select "More Options" tab.

from System Restore and Shadow copy click on Clean Up >> Delete >> "OK".

David Johnson, CD, MVPOwnerCommented:
you can delete all of your %temp% folders, if the files are in use you will be stopped from deleting them

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

if your 256GB drive is nearly filled upon your new system, and all your data and applications are on the i: drive, there's something VERY wrong
post your treesize screenshot  for more info
There is no risk deleting files in c:\windows\temp.
Qlemo"Batchelor", Developer and EE Topic AdvisorCommented:
90GB on Windows\Temp is shocking. As recommended above, I would delete the content while Windows runs (skipping used files), and keep an eye on the size of the folder for some time, to watch irregular growth.
Wes MillerIT  SupportCommented:
There is a program called WinDIRStat ,
Download and Run it, choose your C drive to be analyzed.
Look in the C:\Windows\Temp folder and look to see if there is a particular file using a lot of storage space.
Right Click on the File, Properties, Details.
The details should help you find out what's using the space.
You can then check that program and determine if you can delete the file to free up space.
Wes - he used treesize - which does the same
mlcktmguyAuthor Commented:
Thanks for the suggestions.
I attached a copy of the Windows\Temp directory.  Perhaps viewing the contents will give a better idea of what can be deleted.

I really appreciate the interest in my situation.  We had a similar problem in the office on another machine a while ago and I deleted everything in the C:\Windows\Temp directory.  I never understood why but after that I had issues with the SQL Server loaded on the machine.  That functionality wasn't critical to the machine and everything else seemed to be OK.

The current machine with the SSD filling issue has to have SQL functionality.  That's why I am hesitant to delete everything in Temp.  I have run the disk cleanup utility but it didn't shrink the size of C:\Windows\Temp.
Wes MillerIT  SupportCommented:
Your attachment only shows the files. To really determine what is consuming the space you need to look at the size of the files to see if there is a particular file that is of a large size.
Nothing permanently important is stored in c:\windows\temp. Your problems on the other machine coincided with clearing that folder, but that was not the reason. It is the temp folder of the system account, used for installations (extracting setups, for example), unzipping and such. Never a problem to clear it, many people (yes, me too), even have scripts that delete anything in that folder regularly.
What you could go for, is use a tool that clears anything older than a day, every day from now on. Take delage32 and use it in a scheduled task.
post the screen treeesize shiows please!!
mlcktmguyAuthor Commented:
I will owrk on getting the treesize printout but I am not very familiar with the product so I'll have to figure out how to print from the display.

In the meantime here is another dir list with the file sizes.
It does not matter how big they are. A temp folder is a temp folder.
If programs misbehave and don't clean up after themselves, you will need to do it - and there is no reason to worry.
mlcktmguyAuthor Commented:
Here's a screen shot of the display in TreeSize
David Johnson, CD, MVPOwnerCommented:
these can be safely deleted as well and again if they are in use they will not be able to be deleted.  Have you moved your documents/video/music/pictures to a different drive?

If you want these items cleaned up for you automatically then Pifrom's CCLeaner is a good utility, customize it so that it doesn't remove things that you use i.e. MRU (most recently used or cookies that you want to keep)
Wes MillerIT  SupportCommented:
Looks like a large part of the temp space is being used by LogMeInLogs
All which show having been accessed today that folder is about 15 GB.
Is this PC used for remote access of some type?
Are you the only user of that machine? Sure, if there are logMein logs, then the computer is remotely controlled (or remote controlling another computer).
RaminTechnical AdvisorCommented:
Run Disk Cleanup in Safe mode,  then select Temporary files.
mlcktmguyAuthor Commented:
Thanks for all of the help, insight and confirmation that these files can be deleted and that my previous experience, having issues doing so was for another reason.

I deleted everything prior to 21/1/17 and so far so good.  Everything I check works.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.