Sleepstalker Posted May 23, 2004 Posted May 23, 2004 I use the pskill utility to kill several processess during my install. However, it doesn't seem to work on internet explorer. Several programs open up html pages during install. One of my programs won't install if internet explorer windows or open so my install stops and I have to close all the windows myself for setup to continue. How can I automattically kill all the internet explorer windows. I tried using pskill on iexplorer.exe, but it didn't work.
utln Posted May 23, 2004 Posted May 23, 2004 I use the pskill utility to kill several processess during my install. However, it doesn't seem to work on internet explorer. Several programs open up html pages during install. One of my programs won't install if internet explorer windows or open so my install stops and I have to close all the windows myself for setup to continue. How can I automattically kill all the internet explorer windows. I tried using pskill on iexplorer.exe, but it didn't work.If there's no installation to supress the pages from opening, use AutoIt to write a script to close the window for you.
maxXPsoft Posted May 23, 2004 Posted May 23, 2004 (edited) Maybe this would work, you'll have to execute it right afterward'sKill_IE.vbsstrComputer = "."Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")Set colProcessList = objWMIService.ExecQuery _ ("Select * from Win32_Process Where Name = 'IEXPLORE.EXE'")For Each objProcess in colProcessList objProcess.Terminate()NextEDIT: Unlike Greenmachine's exe he added this kill's all IE window's. Nice for those stupid site's also where they pop window after window. Edited May 25, 2004 by maxXPsoft
GreenMachine Posted May 23, 2004 Posted May 23, 2004 Me, I like the simple answer: run the attached file once for each window to close. This file is part of the IE Administrators Kit.(For fun, select "Open" instead of save, but beware of virii!)closeie.exe
Mr. Neo Posted May 24, 2004 Posted May 24, 2004 you can add this command after the process which opens the IE window or before the process which stop if the IE window is opened taskkill.exe /F /IM iexplore.exeI hope that helpful
diesel_98a Posted July 14, 2004 Posted July 14, 2004 so it would be like this then?REG ADD %KEY%\020 /VE /D "Shockwave 10" /fREG ADD %KEY%\020 /V 1 /D "%cdrom%\install\Updates\shockwave10 /s" /fREG ADD %KEY%\020 /V 2 /D "taskkill.exe /F /IM iexplore.exe" /f
killerbee Posted July 14, 2004 Posted July 14, 2004 hi,please post your pskill-line as it works for IEXPLORE.EXE in my UXPCD.cyaKiller Bee
expert01 Posted July 19, 2004 Posted July 19, 2004 I believe you are trying to close iexplorer.exe when it is iexplore.exe
prathapml Posted July 19, 2004 Posted July 19, 2004 I believe you are trying to close iexplorer.exe when it is iexplore.exeI'd say the same.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now