Windows – Openfiles Command

The windows command prompt openfiles command can be useful for viewing the openfiles used by the system.


When trying to use the following syntax openfiles /local

You get the error message,

              The system global flag ‘maintain objects list’ is currently disabled

This can be resolved via the following,

openfiles /local on

Viewing open files on a remote system

openfiles /query /s [server_name] /u [domain]\[username] /p [password]

Rick Donato

Want to become a Windows expert?

Here is our hand-picked selection of the best courses you can find online:
Windows Server 2019 Administration course
Windows 10 Troubleshooting course
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial