diff --git a/images/win/scripts/Installers/Install-Edge.ps1 b/images/win/scripts/Installers/Install-Edge.ps1 index 317ff050..be100e09 100644 --- a/images/win/scripts/Installers/Install-Edge.ps1 +++ b/images/win/scripts/Installers/Install-Edge.ps1 @@ -8,6 +8,9 @@ if (-not (Test-IsWin22)) { Choco-Install -PackageName microsoft-edge } +# Disable Edge auto-updates +Rename-Item -Path "C:\Program Files (x86)\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe" -NewName "Disabled_MicrosoftEdgeUpdate.exe" -ErrorAction Stop + # Install Microsoft Edge WebDriver Write-Host "Install Edge WebDriver..." $EdgeDriverPath = "$($env:SystemDrive)\SeleniumWebDrivers\EdgeDriver"