For different reasons you want to check which files or folders are open on your Windows 2008 R2 (Terminal server).
To do this you need to log on as an administrator.
Go to:
Start -> Administrative Tools -> Share and Storage management
In the Action pane select ‘manage open files’
You will see a list of open files and folders.