File In Use Dialog in Windows 7 Also Displays the Process Name

You may have encountered the "File in use" errors when deleting files/folders, especially when clearing out the Temp folder. To successfully delete the temporary files which are in use, you need to determine the process name which has locked the file, and then close the corresponding application first. In Windows 7, the File In Use dialog has improved, as it displays the name of the process which has locked the file.

Here is how the File In Use dialogs appear in various Windows Operating Systems

Windows XP

Windows Vista

Windows 7

Fig 3: File In Use dialog in Windows 7, showing the process name / handle (Internet Explorer)

One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support, my reader. It won't take more than 10 seconds of your time. The share buttons are right below. :)

About the author

Ramesh Srinivasan founded back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.

1 thought on “File In Use Dialog in Windows 7 Also Displays the Process Name”

  1. Great post! These are necessary things to keep in mind, it’s often easy to forget regarding the simple things once you get consumed by a project.


Leave a Comment