不知何故家中電腦安裝Firefox Beta3B,有時雖已關閉Firefox,但要在開啟它,會無法開啟,透過SystemExplorer發現Process中有Firefox正在執行,但畫面卻看不到Firefox在執行,透過下面VBS腳本(請將下面另存成.VBS檔)可尋找執行中之Firefox予以直接刪除Drop掉
Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\localhost\root\cimv2")
Set colProcessList = objWMIService.ExecQuery ("SELECT * FROM Win32_Process WHERE Name = 'Firefox.EXE'")
For Each objProcess In colProcessList
objProcess.Terminate()
Next
參考資訊