Share via

Accidentally Deleted C:/ProgramData/Windows Defender/

Anonymous
2021-03-30T17:42:45+00:00

I accidentally deleted the windows defender folder from program data and now windows defender won't start up again. Ive tried manually installing an update but that doesn't work. Do I have to copy the folder from a different installation of windows to get it to work again? How can I recover? Ive also tried updating my PC but for some reason that wont work either. It just gives me

"There were some problems installing updates, but we'll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x80080005)"

And every option in my windows defender section is grayed out and turned off.

Windows for home | Windows 10 | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Lester Bernard Reyes 79,795 Reputation points Independent Advisor
    2021-03-30T18:20:12+00:00

    Hi and thanks for reaching out. My name is Bernard an Independent Advisor and a Windows fan like you. I'll be happy to help you out today.

    Do you have third party anti-virus? if yes that is normal that you cannot turn it on, if none, you may follow the steps below:

    First you need to check if you have work or school account:

    Open Settings> Click Accounts> Click Access work or school then disconnect account there, if no account or already disconnected and you have same issue follow the steps below:

    You need to get back the default services of Windows defender, you can do it here:

    https://www.tenforums.com/tutorials/57567-resto...

    Look for Windows Defender Advanced Threat Protection and

    Windows Defender Firewall

    Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    Method 2. Reinstall Windows Defender

    Open registry, then go to: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender

    Then delete Windows Defender folder, then restart the PC and check it again.

    If none will work from the above solution I suggest to do an in-place upgrade wherein it will upgrade the device to the latest version and repair all issues without deleting any files.

    Note: before doing this make sure to create a restore point: https://support.microsoft.com/en-hk/help/402753...

    1. go to this link: https://www.microsoft.com/en-us/software-downlo...
    2. Select Download tool, and select Run. You need to be an administrator to run this tool.
    3. On the License terms page, if you accept the license terms, select Accept.
    4. On the What do you want to do? page, select Upgrade this PC now, and then select Next.
    5. After downloading and installing, it should fix the issue.

    Reference: https://www.microsoft.com/en-us/software-downlo...

    Note: if you receive error: “This Pc can’t be upgrade, follow the steps below”

    Method 1. Go to C:$WINDOWS.~BT\Sources\Panther then delete the file name compatscancache.dat

    Then try again or reboot the PC first then try again.

    You might not see the folder as it is hidden, make sure to show hidden files first.

    Let me know how does it goes and I hope that helps.

    Bernard

    Independent Advisor

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more