AutomoxAutomox

Remove IE11 from Windows 10

owl-IT
September 24, 2019 at 9:50 pm UTC

IE11 become obsolete as Microsoft released Edge browser that is now supporting modern standards. We do not have any use for IE11 in our org and the app becomes only “patch” problem. We are removing it from our managed laptops.

EVALUATION CODE
$App = Get-WindowsOptionalFeature -Online -FeatureName Internet-Explorer-Optional-amd64 | Select-Object State

if ( $App -eq ‘Disabled’ ) {
Exit 0
} else { Exit 1 }

REMEDIATION CODE

Removal / Disable the IE11 Feature on Windows 10 host

This discussion is archived and closed to replies. Continue it in the Automox Community Slack.

Discuss on Slack

Replies (6)

trillySeptember 25, 2019
#1

Unfortunately for those that use Terminal Services of some description, aka Remote Desktop IE still forms the default browser in Windows server product which is bonkers but that what it is.

Laptops/Desktop Edge is fine.

Nic-AutomoxSeptember 26, 2019
#2

Is there a way to set that to something else for all the TS users? Maybe it’s something we can script into a worklet?

trillyOctober 18, 2019
#3

It gets worse. As a user of a large Travel Distribution solution and its software, use of IE is hard baked into the application so for us needs to be present on any device we plan to use the software which is most 😦

jasonehandOctober 18, 2019
#4

Am i missing something? where is the remediation part to the worklet? I only see the evaluation part

owl-ITOctober 18, 2019
#5

Check if IE11 present:
$App = Get-WindowsOptionalFeature -Online -FeatureName Internet-Explorer-Optional-amd64 | Select-Object State

3 lines
    if ( $App -eq ‘Disabled’ ) {
    Exit 0
    } else { Exit 1 }

Remove IE11
Disable-WindowsOptionalFeature –Online -FeatureName Internet-Explorer-Optional-amd64

jasonehandNovember 7, 2019
#6

can someone post what the official evaluation and remediation codes are for this? would love to see this working. I’m assuming the “Check if IE11 Present” is the evaluatoin portion, looks like 5 lines of code between both parts? Then the “Remove IE11” looks like it’s the remediation code? someone please confirm.

Ok, scrolled up to get evaluation code, then the “Remove IE11” above looks like remediation code?

Sorry, still learning scripting and code here
thanks