-
Notifications
You must be signed in to change notification settings - Fork 456
Description
Script works fine on 24H2 but doesn't do a proper cleanup.
Couple of folder belonging to defender which holds GB's of data.
"C:\ProgramData\Microsoft\Windows Defender"
"C:\Program Files\Windows Defender"
Registry paths
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\Windows.Defender.SecurityCenter
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PushNotifications\Backup\Windows.Defender
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PushNotifications\Backup\Windows.Defender.MpUxDlp
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PushNotifications\Backup\Windows.Defender.SecurityCenter
These are just for reference, there are many more registry locations.
Equal items are in WindowsSxS and their registry catalogs.
Please improve the script to do better cleanup, if possible.
Thank you.