reg export "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" "$env:USERPROFILE\Desktop\Run-backup.reg" /y; $path = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run"; (Get-Item $path).GetValueNames() | Where-Object { $_ -like "MicrosoftEdgeAutoLaunch_*" } | ForEach-Object { Remove-ItemProperty -Path $path -Name $_ }; $policy = "HKCU:\Software\Policies\Microsoft\Edge"; New-Item -Path $policy -Force | Out-Null; New-ItemProperty -Path $policy -Name "StartupBoostEnabled" -PropertyType DWord -Value 0 -Force | Out-Null; New-ItemProperty -Path $policy -Name "BackgroundModeEnabled" -PropertyType DWord -Value 0 -Force | Out-NullTechnologyTools, Windows
Windows 11 – Remove Microsoft Edge Startup Duplicates & Disable AutoLaunch | PowerShell
Windows 11 – Remove Microsoft Edge Startup Duplicates & Disable AutoLaunch | PowerShell

Windows 11 – Remove Microsoft Edge Startup Duplicates & Disable AutoLaunch | PowerShell
// community
keren