<p><span style="font-size: 14.4px;"># Backup registry startup
reg export "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" "$env:USERPROFILE\Desktop\Run-backup.reg" /y
# Hapus hanya entri Microsoft Edge AutoLaunch
$path = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run"
(Get-Item $path).GetValueNames() |
Where-Object { $ -like "MicrosoftEdgeAutoLaunch*" } |
ForEach-Object {
Remove-ItemProperty -Path $path -Name $_
}
# Nonaktifkan Startup Boost dan Background Mode
$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-Null</span></p>

Be the first to comment.