Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


kill handles vs pid

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,57115
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> kill handles vs pid
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 kill handles vs pid - 2/26/2008 7:30:44 AM   
  faulkkev

 

Posts: 151
Score: 0
Joined: 11/1/2005
Status: offline
Is it possible to kill open handles vs the pid.  for example you can use sysinternals processexplorer for lets say netbackup vsp files.  There isn't a a pid to kill just the actual handles?  It can be done manually with the sysinternals tool but a vbscript if possilbe would be nicer.
 
 
Post #: 1
 
 RE: kill handles vs pid - 2/26/2008 7:35:30 AM   
  ebgreen


Posts: 4972
Score: 31
Joined: 7/12/2005
Status: offline
Are you familiar with WBEMTest.exe which comes with windows or WMICodeCreator.exe which you can download for free? Either of these tools would let you easily explore WMI. If you are going to be able to script this it will be via WMI, so poke around in the classes and see if it can be done.

_____________________________

"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to faulkkev)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> kill handles vs pid Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts