teeotsa/windows-11-debloat

How i enable the action center

VecxDw opened this issue · 1 comments

Hi, I was using the script to debloat windows 11, I didn't pay much attention and deactivated the action center, I usually use it, how do I re-activate it?

Hey! Well, first open PowerShell as admin and paste follwing in

If (!(Test-Path "HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer")) {
New-Item -Path "HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer" | Out-Null
}
Set-ItemProperty -Path "HKCU:\SOFTWARE\Policies\Microsoft\Windows\Explorer" -Name "DisableNotificationCenter" -Type DWord -Value 0
if (!(Test-Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\PushNotifications")){
New-Item -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\PushNotifications" -Force | Out-Null
}
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\PushNotifications" -Name "ToastEnabled" -Type DWord -Value 1
Stop-Process -Name "explorer" -Force -PassThru -ErrorAction SilentlyContinue

After that you should be able to use Action Center (probs need to use settings app to make it visible again)

Thank you 😄