Jump to content

Recommended Posts

Posted

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...