View Single Post
Old 06-10-2003, 09:01 AM   #4 (permalink)
moremonks
Registered User
 
Join Date: Jun 2003
Posts: 9
moremonks is on a distinguished road
Sorry for the delay. Forgot I posted this. I'm talking about lots of win2k pro machines, and I've found a solution. A neat little VBScript thing that goes like this:

Set objLocator = CreateObject("WbemScripting.SWbemLocator")

Set objService = objLocator.ConnectServer ("nd001676", "root\\cimv2", username, password)
ObjService.Security_.impersonationlevel = 3

Set objInstance = objService.Get("Win32_Process")

status = objInstance.Create("c:\\depends.exe", null, null, intProcessId)



Thanks for the help though.username
moremonks is offline   Reply With Quote