Safe to delete files in C:\Windows\temp ?

Running a Win 7 Pro Laptop (HP) with a small SSD hard drive (180GB).
Pc is just playing music from Internet radio stations - selecting different stations during the day, controlled by Windows Scheduler.

The hard drive is now nearly out of space - only a couple of GB left.
Discovered that the folder C_\Windows\temp contains nearly 40GB of files - many of them with a .cab file type.
Question is then - is it safe to just delete these files or rather all the files in this folder?

Olaf BerliOwnerAsked:
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.

I have never had any problem deleting the contents of the folder but it is better to run windows tool for that purpose, ("disk cleanup" i believe) you can find it  accesories
Programs→Accessories→System Tools→Disk Cleanup.
Hello ThereSystem AdministratorCommented:
You can run Disk Cleanup. It's safe to use. But this tool won't delete all junk stuff.
I prefer deleting all content of Temp folder manually.
You shouldn't be afraid of it.
JohnBusiness Consultant (Owner)Commented:
Some files in there are semi-permanent, but generally you can just delete them. You will be told if 2 or 3 cannot be deleted. Yes, safe to delete.

I do this because Disk Cleanup does not get all the files here.

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
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

From the Temp dir yes disk cleanup not always deletes everything, but you are suffering from lack of storage space, and disk cleanup also removes some files from other folders of your disk, that are not easily accesible if you dont know the exact path. (also old update files, other temp locations etc)
Travis MartinezStorage EngineerCommented:
The only thing I would add to Disk Cleanup is to run it the second time to remove system files as well.  These would be old update files, etc.  I agree that removing the files directly from Temp is okay to run.

You might also look at the users AppData, Local, for the temp folder and see how big that has gotten.
Olaf BerliOwnerAuthor Commented:
Hard to select "Best" or "Assisted" solutions, so shared the points equally....
JohnBusiness Consultant (Owner)Commented:
Thanks you and happy to help.
Olaf BerliOwnerAuthor Commented:
Ran disk cleanup, but it didn't remove more than 0.5GB - even when running system cleanup.
Deleting manually all fiies from 2017 and earlier from c:\windows\temp freed up more than 15GB.
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
Windows OS

From novice to tech pro — start learning today.