I (foolishly) experimented with the following code:
oManager = GETOBJECT("winmgmts:")
oApps = oManager.InstancesOf("Win32_process")
lfound=0
FOR EACH PROCESS IN oApps
IF MY.EXE' $ UPPER(PROCESS.NAME);
Process.delete("Wind32_process") &&BIG MISTAKE!
ENDIF
NEXT
EVEN AFTER I removed the offensive line: 'Process.delete ("Wind32_process")' (on one test computer only) I STILL continually get:
"OLE error code 0x80041010: Unknown COM status code."
"Alias 'PROCESS' not found"
What have I done (to this computer's registry) ? Is it repairable (without reinstalling Windows)?
Thanks in advance for any help in this WMI COM problem.
Philip
oManager = GETOBJECT("winmgmts:")
oApps = oManager.InstancesOf("Win32_process")
lfound=0
FOR EACH PROCESS IN oApps
IF MY.EXE' $ UPPER(PROCESS.NAME);
Process.delete("Wind32_process") &&BIG MISTAKE!
ENDIF
NEXT
EVEN AFTER I removed the offensive line: 'Process.delete ("Wind32_process")' (on one test computer only) I STILL continually get:
"OLE error code 0x80041010: Unknown COM status code."
"Alias 'PROCESS' not found"
What have I done (to this computer's registry) ? Is it repairable (without reinstalling Windows)?
Thanks in advance for any help in this WMI COM problem.
Philip