![Disable edge windows 10](https://cdn1.cdnme.se/5447227/9-3/6_64e61dfae087c31b411cc5f3.png)
New-itemproperty "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\FirstRun" -Name "LastFirstRunVersionDelivered" -Value 1 -Type DWORD -Force -ErrorAction Silentlåontinue | Out-Null
![disable edge windows 10 disable edge windows 10](https://tech-solution4u.com/wp-content/uploads/2020/03/How-to-Disable-Microsoft-Edge-in-windows-10-6.png)
# These two values removes the Edge Welcome screen New-Item -Path "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\Main" -type Directory New-Item -Path "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\Firstrun" -type Directory New-Item -Path "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge" -type Directory
![disable edge windows 10 disable edge windows 10](https://i.pinimg.com/originals/bb/5d/b1/bb5db11407e091f1bd8ab7ec3b0ac6dd.jpg)
} While (!(Test-Path -path "HKCU:\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe") -and $Exhausted -lt 31) You can use the script below as a logon script or copy it to your existing logon script. You can deploy the script as a logon script with Group Policy or use Configuration Manager (described below). This why we created a PowerShell solution for the task. Only when the user logs on the second time will the settings be applied, and many users will have already started Microsoft Edge by that time. The problem is that the entire Appcontainer registry key structure is not present when Group Policy Preferences are applied during the first logon. I don't recommend using Group Policy Preferences to deploy these registry settings.
![disable edge windows 10 disable edge windows 10](https://winaero.com/blog/wp-content/uploads/2017/01/Edge-Advacned-Settings-button-624x450.png)
HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\Main\DisallowDefaultBrowserPrompt
![Disable edge windows 10](https://cdn1.cdnme.se/5447227/9-3/6_64e61dfae087c31b411cc5f3.png)