Openfiles query to see open files

user3314399 picture user3314399 · May 10, 2015 · Viewed 43k times · Source

How can I call the Openfiles.exe (which is on the server 2008 file server) remotely from a computer to see which files are open by the users? I also need to have it login as the domain admin user in the parameters.

Answer

user4883543 picture user4883543 · May 10, 2015

Openfiles can do a server direct. You don't have to run it remotely.

From Help openfiles /query /?

OPENFILES /Query /S system /U username /P password /NH