Unlocking shared files on Windows 2008 R2 Server

In enterprise environments, documents and other file types are often located on central file server and users open their documents directly from there. Sometimes, server administrators need to update such files, but can’t because at least one user is using it and locking the file.

You could of course just reboot the server and the file would be unlocked, but that might be overkill as you are throwing everybody out.

Luckily, there is a tool on the server, that lets you selectively unlock files, here is how to do it:

  1. On Windows 2008 R2 Server, click Start and type Share and Storage Management and press Enter
    clip_image002
  2. In the right pane, click Manage Open Files
    clip_image002[7]
  3. Click Close Selected
    clip_image002[9]
  4. Click Yes to confirm

Be aware that users of that file might lose data.

7 thoughts on “Unlocking shared files on Windows 2008 R2 Server”

  1. Another Thanks! I also did not know this tool existed, but it allowed me to close and finally delete a stubborn Excel file from our file server. Cheers!

  2. My mistake, I try to close the wrong file, I search for the folder/file and this solved the issue! This definitely is very usefull! thanks for share!

  3. Thanks also! I have at hand a corporate-run windows server, and I use a directory of shared subdirectories to make common files available to various people. I hesitate to install free utilities on this box (unlike my own workstation, which I cheerfully and freely break with various experiments). Now I can boot off occasional users from a hung file without mucking about in unwelcome territory, or installing any questionable or unsupported programs.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>