做个备忘: 'comments:remove WMI's ASEC 'code by coo_boi with demon's assistant const wmipath="winmgmts:\\.\root\subscription:" set colFTCB=getobject(wmipath & "__FilterToConsumerBinding").instances_ foreach itemin colFTCB ifinstr(item.consumer,"ActiveScriptEventConsumer") then set objASEC=getobject("winmgmts:" & item.consumer) iftypename(objASEC)="SWbemObjectEx"then 'if you wanna see the script,plz visit the property: ScriptFilename or ScriptText 'wscript.echo objASEC.scripttext objASEC.delete_ endif