I read the following online recently.
<>
When it says delete everything within the temporary folders, does that mean the .tmp files or all the files irrespective of extension and all the subfolders as well?
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » Cyber Security Information and Advisories » Code Red – Security/Privacy advisories » Deleting files
You can navigate to the Temp folders and delete all files contained in them, regardless of file extension, or you can download and run a program such as CCleaner and/or Privacy Mantra Free here.
Deadeye81 said I could navigate to C:Documents and SettingsUsernameLocal SettingsTemp and delete all files contained in them, regardless of file extension but did not mention the other subfolders in that folder. Is it safe to delete them also?
If all programs are closed, and nothing is actively using the Temp folder, you can delete everything in it including all of the subfolders. Nothing that should be permanent is stored in there.
I also have a small batch file on my desktop (courtesy of Fred Langa many years ago and several Windows versions ago) that can be customized to clean temp files from any folder:
You would have to change the lines to reflect the paths on your PC including the path you wish to clean up. I suspect you have not selected the right cleaning entries in CCleaner.
I use CCleaner, Privacy Mantra and the batch file to clean my PC.
I have 9 entries checked in Ccleaner, including IE Temporary Internet Files and System Temporary files. I ran it again this morning and although it claimed to have removed a vast number of files my free disk space is still the same as it was two days ago. My C:Documents and SettingsUsernameLocal SettingsTemp directory is still full of files and sub-directories. I fail to see whereI am going wrong.
I have just installed Ccleaner on another PC which is networked with my other one. I have run Ccleaner and it has cleaned out my C:Documents and SettingsUsernameLocal SettingsTemp folder apart from half a dozen DAT files, so why it can’t do so on the first PC I tried it on is beyond me.
When some programs are working they sometimes store their temp files in the temp directory.
(Not so Word, which stores it’s temp files in the same directory as the doc, but with the ~ prefix.)
Windows will usually prevent you from deleting the file if a program is currently using it.
Perhaps there are programs (perhaps running in the background) that are currently using those files, so Windows won’t let you delete those files.
Try restarting the computer, then deleting the files.
Or even starting in Safe mode and then deleting the files.
A program like Sysinternals ProcessExplorer can help you find out what program has it locked.
Peter
Microsoft has Disk Cleanup which will also do what you are asking about if CCleaner did not get it.
http://windows.microsoft.com/en-US/windows-vista/Delete-files-using-Disk-Cleanup
I use CCleaner too, excellent for temp files and registry.
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications