We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
set s=getobject("winmgmts:root\cimv2") sQuery="select * from win32_process where name='iexplore.exe'" set q=s.execquery(sQuery) If q.Count > 0 Then msgbox "Maintenance: Close Internet Explorer bla bla bla." Do until q.count=0 wscript.sleep 5000 set q=s.execquery(sQuery) msgbox "still open please close..." Loop msgbox "Internet Explorer closed, thanks. Starting to update, have a nice day!" Set WshShell = WScript.CreateObject("Wscript.Shell") Set objFSO = CreateObject("Scripting.FileSystemObject") end if
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.