Apr 30

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.

6 Responses to “Unlocking shared files on Windows 2008 R2 Server”

  1. Carla says:

    Thanks! That worked. Didn’t know it existed until you brought it to light!!

  2. Tony says:

    Exactly what I needed! Thanks!!

  3. alex says:

    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!

  4. alex says:

    Seems very usefull but I was unable to unlock one excel file shared in a windows 2008 server.

  5. kermit says:

    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.

  6. MJA says:

    Thanks! This saved me some headaches.

Leave a Reply

preload preload preload