Last active
January 26, 2024 10:48
-
-
Save likamrat/f5f8fc13e64b2e3dbe737ef04dadb80d to your computer and use it in GitHub Desktop.
Disable Microsoft Edge first-run Welcome screen
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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