Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Prevent browser session from starting

Posted on 2014-04-02
2
Medium Priority
?
290 Views
Last Modified: 2014-04-02
Hi Experts,

I've automated the installation of a workstation using SCCM. One of the applications that is installed during this process, automatically starts an IE browser session when it's done.

Is there a way to prevent the browser from starting? I tried to kill the process after it started using taskkill.exe in a script. It kills the proces, but when i start the browser after that, it generates the message that the browser hasn't been closed correctly the last time.

If i can't prevent it, is there a way to close the browser in a correct way?
0
Comment
Question by:SvenIA
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 19

Accepted Solution

by:
Raheman M. Abdul earned 2000 total points
ID: 39971575
You can use this to close the browser

Get-Process iexplore | Foreach-Object { $_.CloseMainWindow() }

You can save it in a script and run after some time when that application is finished.
0
 
LVL 7

Author Closing Comment

by:SvenIA
ID: 39971752
Perfect!
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
In this Experts Exchange video Micro Tutorial, I'm going to show how small business owners who use Google Apps can save money by setting up what is called a catch-all email address in their Gmail accounts. By using the catch-all feature, small busin…
Screencast - Getting to Know the Pipeline

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question