У меня есть файл на сервере Windows 2003, который заблокирован процессом, запущенным на другом сервере Windows 2003. Можно ли узнать, какой процесс на какой машине блокирует этот ресурс. Меня не волнует, какой язык я использую для этого.





http://technet.microsoft.com/en-us/sysinternals/bb897552.aspx
PsFile
The "net file" command shows you a list of the files that other computers have opened on the system upon which you execute the command, however it truncates long path names and doesn't let you see that information for remote systems. PsFile is a command-line utility that shows a list of files on a system that are opened remotely, and it also allows you to close opened files either by name or by a file identifier.
...
How it Works
PsFile uses the NET API, which is documented in the Platform SDK.