Data Centers

Server 2008: Manage Open Files with Share and Storage Management


Open files have traditionally been a "pain point" for IT folks.  We're often contacted by users receiving an error message regarding file access, or we're attempting to do maintenance on a server only to find that a user has failed to close a document and we receive a message indicating that a file is open.  There are dozens of ways to go about figuring out who has what file open.  In this tip, I'll show you how to use Windows Server 2008's Share and Storage Management administrative tool to accomplish this goal.

Windows Server 2008's Share and Storage Management is simply the next version of tools that were introduced with Windows Server 2003 R2 and made the job for Windows administrators much easier when it came to dealing with file servers.  Share and Storage Management combines a number of related tools that were previously separate, including:

  • File Server Resource Manager
  • Disk Defragmenter
  • Disk Management
  • Storage Manager for SANs

To start the tool, choose Start > Administrative Tools > Share and Storage Management.  You'll get a screen like the one below.

Click to open: Share and Storage Management

To see what files are open on your system, from the Action pane of the tool, choose Manage Open Files.  A screen opens up that provides you with a list of the files and folders that are open on your server. The list provides you with information regarding the user that has the file open as well as the file's location.  In the screen below, note that the administrator has three folders and one document open.  It can be hard to tell what is a folder and what is a document, but note that, for this user, Read/Write rights are available on the document, but not on the folders.  Of course, this won't always be the case.

Click to open: A list of open files

You can easily close the open file by either choosing the file and clicking the Close Selected button, or by clicking Close All.  Note that users will lose any unsaved work if you close their file out from under them,

About

Since 1994, Scott Lowe has been providing technology solutions to a variety of organizations. After spending 10 years in multiple CIO roles, Scott is now an independent consultant, blogger, author, owner of The 1610 Group, and a Senior IT Executive w...

3 comments
info
info

My guess would be that, since everyone is running in their own Terminal session, they are using their own files locally or on other servers. So there are no open 'file shares' on this server, which is what this particular plug-in would display.

comp
comp

For some reason, I do not see any open files when I follow the instructions given. We are running a Win 2008 Server, and the users are running as Terminal Services sessions. Any thoughts?

Turntwo
Turntwo

Unfortunately, it seems that the tool only shows files that are opened through a network share. Locally accessed files are not included. If you find a way to close files opened by a local terminal services session, I'd love to know about it.