Sleepstalker Posted May 23, 2004 Share 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. Link to comment Share on other sites More sharing options...
utln Posted May 23, 2004 Share 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. Link to comment Share on other sites More sharing options...
maxXPsoft Posted May 23, 2004 Share 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 Link to comment Share on other sites More sharing options...
GreenMachine Posted May 23, 2004 Share 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 Link to comment Share on other sites More sharing options...
Mr. Neo Posted May 24, 2004 Share 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 Link to comment Share on other sites More sharing options...
diesel_98a Posted July 14, 2004 Share 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 Link to comment Share on other sites More sharing options...
killerbee Posted July 14, 2004 Share Posted July 14, 2004 hi,please post your pskill-line as it works for IEXPLORE.EXE in my UXPCD.cyaKiller Bee Link to comment Share on other sites More sharing options...
expert01 Posted July 19, 2004 Share Posted July 19, 2004 I believe you are trying to close iexplorer.exe when it is iexplore.exe Link to comment Share on other sites More sharing options...
prathapml Posted July 19, 2004 Share Posted July 19, 2004 I believe you are trying to close iexplorer.exe when it is iexplore.exeI'd say the same. Link to comment Share on other sites More sharing options...
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