NewsBot
1
Hi all,
I have a server that runs some nightly processing.
However, if anyone leaves a file open, the nightly process literally freezes.
I don't have access to the kernel code of the software; just a user mode c-like scripting language, so there's not much in the way of being able to handle this kind of error gracefully.
I am looking for a way to kill all file handles in a specified folder, before this nightly process kicks in. I have seen something about NtQuerySystemInformation, but that is kernel level stuff. I was wondering if there are any other ways to accomplish this. I know that in computer managment snap in, there is a share viewer with a kill option on the right click menu. Is there an easy way to do this same enumeration / kill?
Thanks in advance for your help.
--John Jackson
--Deputy Auditor
More...
View All Our Microsoft Related Feeds
I have a server that runs some nightly processing.
However, if anyone leaves a file open, the nightly process literally freezes.
I don't have access to the kernel code of the software; just a user mode c-like scripting language, so there's not much in the way of being able to handle this kind of error gracefully.
I am looking for a way to kill all file handles in a specified folder, before this nightly process kicks in. I have seen something about NtQuerySystemInformation, but that is kernel level stuff. I was wondering if there are any other ways to accomplish this. I know that in computer managment snap in, there is a share viewer with a kill option on the right click menu. Is there an easy way to do this same enumeration / kill?
Thanks in advance for your help.
--John Jackson
--Deputy Auditor
More...
View All Our Microsoft Related Feeds