Share via

Windows defender issue

yogesh v 0 Reputation points
2025-12-24T08:50:38.7933333+00:00

My widows defender exclusion is been a trouble for me . A folder is been added but i cant exclude is from the threat protection . Whta shoul i do to remove it . I have done powershell method and even try to remove exclusion in defender it self .

Microsoft Security | Microsoft Defender | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2025-12-24T08:50:50.0266667+00:00

    If you are having trouble removing a folder exclusion from Windows Defender, here are some steps you can follow:

    1. Verify Exclusion List: Ensure that the folder you want to exclude is listed in the exclusions. You can check this in the Windows Security app under the "Exclusions" section.
    2. Remove Exclusion via Windows Security: Go to Windows Security > Virus & threat protection > Manage settings > Exclusions. Here, you should be able to remove the folder from the exclusion list.
    3. Use PowerShell: If the graphical interface does not work, you can use PowerShell to remove the exclusion. Use the following command:
         Remove-MpPreference -ExclusionPath "C:\Path\To\Your\Folder"
      
      Replace C:\Path\To\Your\Folder with the actual path of the folder you want to remove from exclusions.
    4. Check for Group Policy Settings: If your system is managed by an organization, there might be Group Policy settings that enforce certain exclusions. You may need to contact your IT administrator to check if this is the case.
    5. Restart Windows Defender: Sometimes, simply restarting the Windows Defender service can help. You can do this by restarting your computer or using the following command in PowerShell:
         Restart-Service -Name WinDefend
      

    If you have tried all these methods and still cannot remove the exclusion, consider checking for any updates to Windows Defender or your operating system that might resolve the issue.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.