Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable Windows Defender? #240

Closed
chrisvtheactivist opened this issue May 3, 2020 · 6 comments
Closed

Re-enable Windows Defender? #240

chrisvtheactivist opened this issue May 3, 2020 · 6 comments

Comments

@chrisvtheactivist
Copy link

Hey I did the script and it worked, however I realized that I actually wanted windows defender. Is there a way to get it back?

@W4RH4WK
Copy link
Owner

W4RH4WK commented May 3, 2020

Have a look at disable-windows-defender.ps1. It disables scheduled tasks and services and adds some group policy entries.

First clear the group policy entries, then re-enable the services, then re-enable the scheduled tasks. Restart and you should be good to go.

@chrisvtheactivist
Copy link
Author

Sorry I am not well versed in this kind of stuff. So to be clear, delete the section starting with "Disabling Windows Defender via Group Policies" and then change every "AutorunsDisabled" to "AutorunsEnabled" in the "Disabling Windows Defender Services?"

@W4RH4WK
Copy link
Owner

W4RH4WK commented May 3, 2020

No, to it manually, not via the script:

Open the group policy editor, navigate to Windows Components and go through each Windows Defender folder, resetting all entries. Should only be a handful. You notice them as the state says something different than Not configured.

image

In the services control panel, re-enable the services with Windows Defender in their name.

image

In the scheduled tasks control panel, re-enable the corresponding scheduled tasks. Found in Microsoft > Windows > Windows Defender.

image

@chrisvtheactivist
Copy link
Author

Thank you!

@Un1q32
Copy link

Un1q32 commented May 8, 2023

The group policy editor is only available in windows 10 pro, most users who get windows with their computer (like me) have windows 10 home. Please provide instructions for reverting the change without the group policy editor or just provide a script to re enable windows defender.

@W4RH4WK
Copy link
Owner

W4RH4WK commented May 8, 2023

Windows 10 Home is not supported by this project. You can find some guides online on where the corresponding registry keys are located.

@heshtur heshtur mentioned this issue Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants