Skip to content

Instantly share code, notes, and snippets.

@Mikej81
Created July 15, 2020 16:58
Show Gist options
  • Save Mikej81/74d9640f41b6a126cd599808cca4a325 to your computer and use it in GitHub Desktop.
Save Mikej81/74d9640f41b6a126cd599808cca4a325 to your computer and use it in GitHub Desktop.
Disable Internet Explorer ESC Powershell Script
function Disable-InternetExplorerESC {
$AdminKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"
$UserKey = "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"
Set-ItemProperty -Path $AdminKey -Name "IsInstalled" -Value 0
Set-ItemProperty -Path $UserKey -Name "IsInstalled" -Value 0
Stop-Process -Name Explorer
}
Disable-InternetExplorerESC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment