How can I tell which process has file X open?

A. You can view files that a user accesses over the network with the Net File command

D:\&gt;net file<br><br>
ID         Path                                    User name            # Locks<br><br>
51         G:\                        ADMINISTRATOR         0<br>
The command completed successfully.

You can’t use this command to access information about files that local processes open. Two programs, NTHandle (a command-line tool) and HandleEx (a GUI version), let you view which process has file X open. Both programs are available from

Click here to view image
Example of HandleEx in action.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.