We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now



openjohn asked
Medium Priority
Last Modified: 2010-04-13


Best way to delete Temp files form windows.   Sometime when you go in and delete files from temp folder   You " cannot delete source files message"    I end all program in the background and still get cannot delete source file   file in use message.  

   What is best way to delete temp files and to avoid this message?
Watch Question

Top Expert 2006
Hi openjohn,

a lot of the time you cant delete temp files as they are in use - even a script or batch file wont get past this error

best way is to jump into safe mode and delete them that way


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
You can also try this:

While Windows is booting (after the change to your standard screen resolution) hold down the shift-key. This will bypass all Autorun-Features (except services).

Try to delete then.
The advantage over Safe-Mode is that none of your settings will be messed up and you can use your PC right after without reboot.
Often I will just sort the temp files by data and not delete the ones with todays date, usually on a dozen or so.  I select all in the folder, deselect todays and the rest delete without issue.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.