Skip to main content

Internet Explorer - Disable Global, DV, Autofix

Summary

This script disables Internet Explorer on a Windows machine.

Sample Run

Sample Run

Dependencies

CWM - Automate - Internal Monitor - ProVal - Development - Internet Explorer Detected [Role]

Variables

NameDescription
STATUSStatus returned from the monitor set.
IEDisabledOutcome of the PowerShell script executing to disable Internet Explorer.

Global Parameters

NameExampleRequiredDescription
Reboot0 or 1False0 - Reboot Immediately; 1 - No Reboot
PromptUser0, 1, or 2True0 - Never Prompt; 1 - Always Prompt when user clicks IE (Default); 2 - Once per user prompt Prompt Screenshot

Process

  1. Executes a PowerShell script to disable the Internet Explorer feature. The script sets the user prompt registry key so that the user receives a prompt after clicking/trying to access Internet Explorer. However, that prompt might never be needed as IE will be completely removed after reboot.

  2. Verifies the outcome of the PowerShell script.

  3. Marks the "IE Disabled" registry key.

  4. If the PowerShell script returns an error or failure, the script will terminate with a log.

  5. Upon success, it checks whether reboot is enabled or not within the global parameters. It will reboot the computer if the value of the Reboot parameter is set to 1. The default is 0.

Output

  • Script log
  • EDF
  • Dataview