Skip to content

Win_Defender_Revert script does not reset Defender to defaults #253

Open

Description

@bbrendon

Windows Defender reset to default configuration

The script appears to be taken from huntress which only reverts huntress settings.

Activity

  1. silversword411 commented on Sep 9, 2024

    @silversword411
    Contributor

    I'm guessing you're trying to reset options/preferences back to what windows does OOBE?
    Of course there's a bunch of HKCU sessions, and some that are HKLM settings....and you're probably not referring to just the Security panel?
    https://www.thewindowsclub.com/reset-windows-security-app-in-windows-10
    Get-AppxPackage *Microsoft.Windows.SecHealthUI* | Reset-AppxPackage

    Based on some searches I don't think Microsoft has a Defender reset script, let me know if you find one though.

    I'm thinking you'd have to query every setting from a virgin install home...and manually make them the same.
    Then profile for pro.
    Then OS detect, and rewrite each setting appropriately...
    Then because notifications are custom HKCU reset all those values for notifications...

    Whadda PITA.

  2. bbrendon commented on Sep 9, 2024

    @bbrendon
    ContributorAuthor

    I'm not trying to do anything. I was looking at some huntress scripts and thought to my self... "this script seems familiar!!"
    Searched here and one look at the script screamed "BS" :)

    Off the top of my head, I think it would be very difficult to reset defender to factory defaults. I haven't tried or needed to yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions