I have created a WMI query that queries a PC for *.mdb. The query is fine and runs as expected.. BUT... I am now trying to write some code that can: 1. detect that the WMI query is running and 2. stop it (if need be) Note: The end goal is to have a web interface which can be accessed by many support staff, but I only want 1 of the above queries running on a workstation at a time. Does anyone know how this can be achieved? my code looks similar to this: set objwmiservice = getobject("winmgmts:\\.\root\cimv2") set colfiles = objwmiservice.execquery("select * from cim_datafile where extension = 'mdb' and drive = 'c:'") for each objfile in colfiles wscript.echo objfile.drive next