Skip to content

Cleanup of leftover items #266

@wealstarr

Description

@wealstarr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions