Removing a lock on a file with process explorer

15. January 2014 14:44 by Chris in   //  Tags:   //   Comments (0)

I'm sure to have to look this up again, largely care of:

Process Explorer (ex Systernals) is good for troubleshooting/ resolving file locks.

You can download it from Microsoft

Use the icon that resembles a pair of binoculars... or use the Hotkey Ctrl+F(find).

Type the name of the file... it will show you which process is presently running and has locked the file for use.

You can then release the lock should you so wish.

In the case which prompted this quick post the issue was actually the locking level in use with log4net but maybe next time ... ;)


Add comment

  Country flag

  • Comment
  • Preview

About the author

I am Dr Christopher Sully (MCPD, MCSD) and I am a Cardiff, UK based IT Consultant/ Developer and have been involved in the industry since 1996 though I started programming considerably earlier than that. During the intervening period I've worked mainly on web application projects utilising Microsoft products and technologies: principally ASP.NET and SQL Server and working on all phases of the project lifecycle. If you might like to utilise some of the aforementioned experience I would strongly recommend that you contact me. I am also trying to improve my Welsh so am likely to blog about this as well as IT matters.

Month List