1.
Download Windows Server 2003 Resource Kit Tools from Official Microsoft Download Center.
Цитата:
Oh.exe - Open Handles
This command-line tool shows the handles of all open windows. You can also constrain OH to only show information relating to a specific process, object type, or object name. This feature is useful for finding which process has a file open when a sharing violation occurs. To function properly, OH must enable a kernel option which maintains a linked list of all objects by object type. If not set, OH enables this option and notifies you that you must reboot before OH will function. After rebooting, OH can display information.
|
Не рекомендую из-за выделенного.
2.
Код:
![Выделить весь код](images/misc/selectcode.png)
openfiles.exe /?
Не рекомендую по тем же причинам.
3.
Handle.
4. Наверняка что-нибудь уже сваяли под PowerShell (не проверялось).