locked
Closing an Internet explorer tab RRS feed

  • Question

  • Hi,

    I am installing Greenshot. At the end Greenshot will open an IE Window. Is it possible shutting down this IE process and not all IE Process?

    Thanks,

    Monday, October 3, 2016 2:51 PM

Answers

  • One thing I did notice is if you do

    Get-Process -Name iexplore | Select *

    There is a property of StartTime, which you may be able to use by seeing of all the IE processes returned, which ever has the latest time stamp could be the tab that was opened after the install.


    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.


    • Edited by clayman2 Monday, October 3, 2016 4:59 PM Wrong property name
    • Proposed as answer by Hello_2018 Friday, October 21, 2016 8:02 AM
    • Marked as answer by Hello_2018 Monday, October 24, 2016 2:18 AM
    Monday, October 3, 2016 4:41 PM

All replies

  • It is but you will need to find the correct PID, as each tab opens a new IE process

    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.

    Monday, October 3, 2016 2:52 PM
  • Hi,

    How finding a PID for a IE tab and then closing that particular PID?

    Thanks,

    Monday, October 3, 2016 3:37 PM
  • You can use Get-Process to list all current processes, but since an installer is opening IE, I am not sure how to capture that.

    If IE is not opened and the installer opens it then you can just look for a process of iexplore and kill it. But if IE is already opened and it opens a new tab, not 100% sure how to say this PID is for this tab.


    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.

    Monday, October 3, 2016 4:21 PM
  • One thing I did notice is if you do

    Get-Process -Name iexplore | Select *

    There is a property of StartTime, which you may be able to use by seeing of all the IE processes returned, which ever has the latest time stamp could be the tab that was opened after the install.


    If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.


    • Edited by clayman2 Monday, October 3, 2016 4:59 PM Wrong property name
    • Proposed as answer by Hello_2018 Friday, October 21, 2016 8:02 AM
    • Marked as answer by Hello_2018 Monday, October 24, 2016 2:18 AM
    Monday, October 3, 2016 4:41 PM
  • Hi FRacine,

    >>I am installing Greenshot. At the end Greenshot will open an IE Window. Is it possible shutting down this IE process and not all IE Process?

    I suppose this issue is depended on the application.

    And I have installed this on my test machines, encountered the same issue with yours, it appears to be a thank you for downloading website.

    I suppose we really don't worry about this, just manually close it, not need to use PowerShell.

    Best regards,

    Andy


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Tuesday, October 4, 2016 5:41 AM
  • Hi,

    Was your issue resolved?

    If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.

    If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.

    If no, please reply and tell us the current situation in order to provide further help.

    Best Regards,

    Andy


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, October 21, 2016 8:01 AM