Skip to content

Instantly share code, notes, and snippets.

View likamrat's full-sized avatar

Lior Kamrat likamrat

View GitHub Profile
@likamrat
likamrat / Disable_EdgeWelcome.ps1
Last active January 26, 2024 10:48
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