Skip to content

Instantly share code, notes, and snippets.

@bizouarn
Created October 2, 2024 17:10
Show Gist options
  • Save bizouarn/ddd5f058ef6656cddd1bcfb2a8dd8906 to your computer and use it in GitHub Desktop.
Save bizouarn/ddd5f058ef6656cddd1bcfb2a8dd8906 to your computer and use it in GitHub Desktop.
Script PowerShell qui désactive la configuration de sécurité améliorée d'Internet Explorer (IE ESC) pour les administrateurs et les utilisateurs.
# Disable IE ESC for administrators
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}" -Name "IsInstalled" -Value 0
# Disable IE ESC for users
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Active Setup\Installed Components\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}" -Name "IsInstalled" -Value 0
# Restart explorer to apply change
Stop-Process -Name Explorer
Write-Host "Internet Explorer Enhanced Security Configuration disabled."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment