DISM disable-feature did not remove Internet explorer

Dave McAffee 1 Reputation point
2020-11-04T21:39:41.647+00:00

I ran the following command to remove the internet explorer 11 optional feature from server 2016 servers.

dism /online /Disable-Feature /FeatureName:Internet-Explorer-Optional-amd64

It worked fine on most servers but did not remove the shortcuts or executable on one of the servers. The feature is listed as disabled but is still usable. I have tried enabling and disabling again but it does not remove the IE application. The server is restarted each time.

Any suggestions would be welcomed.

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,509 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2020-11-04T21:44:07.35+00:00

    Might also try from Control Panel.
    https://support.microsoft.com/en-us/help/4013567/how-to-disable-internet-explorer-on-windows

    --please don't forget to Accept as answer if the reply is helpful--


  2. Jenny Feng 14,131 Reputation points
    2020-11-05T06:32:06.193+00:00

    @Dave McAffee
    Hi,

    At the end of the DISM command, it will automatically prompt you to reboot. Simply hit the “Y” key to reboot the system.

    To be completely safe, clear all the temporary files in the system using this series of commands. It would be safe to ignore any files that cannot be deleted because they were in use:
    C:\> DEL /S /Q "%TMP%*."
    C:\> DEL /S /Q "%TEMP%*.
    "
    C:\> DEL /S /Q "%WINDIR%\Temp*."
    C:\> DEL /S /Q "%USERPROFILE%\Local Settings\Temp*.
    "
    C:\> DEL /S /Q "%USERPROFILE%\Local Settings\Temp*."
    C:\> DEL /S /Q "%LOCALAPPDATA%\Temp*.
    "

    Hope above information can help you.

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.