Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Stop  all  scripts  that  are  running  within  the  Wscript.Exe  process  

 Content of Stop all scripts that are running within the Wscript.Exe process.vbs
MD5 Hash: 457C6B71C4758A8D1D6617DCB405D8DD

Dim oWMIService : Set oWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
Dim cProcessList : Set cProcessList = oWMIService.ExecQuery("SELECT * FROM Win32_Process WHERE Name = 'wscript.exe'")

WScript.Echo "Stopping all your scripts that are running within the Wscript.Exe process"

For Each oProcess in cProcessList
oProcess.Terminate()
Next

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a