Skip to content

Instantly share code, notes, and snippets.

@likamrat
Last active January 26, 2024 10:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save likamrat/f5f8fc13e64b2e3dbe737ef04dadb80d to your computer and use it in GitHub Desktop.
Save likamrat/f5f8fc13e64b2e3dbe737ef04dadb80d 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