Skip to content

Instantly share code, notes, and snippets.

@jpluimers
Forked from likamrat/Disable_EdgeWelcome.ps1
Created January 26, 2024 10:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpluimers/19e4e5fd7a2c937dd117a5151c5a4709 to your computer and use it in GitHub Desktop.
Save jpluimers/19e4e5fd7a2c937dd117a5151c5a4709 to your computer and use it in GitHub Desktop.
Disable Microsoft Edge first-run Welcome screen
# Set variables to indicate value and key to set
$RegistryPath = 'HKLM:\SOFTWARE\Policies\Microsoft\Edge'
$Name = 'HideFirstRunExperience'
$Value = '00000001'
# Create the key if it does not exist
If (-NOT (Test-Path $RegistryPath)) {
New-Item -Path $RegistryPath -Force | Out-Null
}
# Now set the value
New-ItemProperty -Path $RegistryPath -Name $Name -Value $Value -PropertyType DWORD -Force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment