Disable_IE_ESC.ps1
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."