Antimalware Policies folder exclusions and it's subfolder

Cody 321 Reputation points
2024-05-29T17:38:51.0066667+00:00

I'm working on creating an Antimalware Policy, within Configuration Manager. But, I am a little confused with Excluding along with subfolders and its file - see screenshot.

Exclusion settings - X_Folder

From the documentations I've used for my reference:

https://learn.microsoft.com/en-us/mem/configmgr/protect/deploy-use/endpoint-antimalware-policies

Exclusion Settings - It mentioned that I have to list each subfolder such as:

  • F:\MyFolder\Folder1
  • F:\MyFolder\Folder2
  • F:\MyFolder\Folder3

I'm trying to exclude a folder that have multiple subfolders and subfolder within subfolders. That's to many to list. How do I add the top level folder, such as E:\X_Folder, and exclude all the files and it's multiple subfolders?

Microsoft System Center
Microsoft System Center
A suite of Microsoft systems management products that offer solutions for managing datacenter resources, private clouds, and client devices.
1,012 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenLiu-MSFT 45,531 Reputation points Microsoft Vendor
    2024-05-30T03:01:53.0966667+00:00

    Hi, @kody

    Thank you for posting in Microsoft Q&A forum.

    The example is only for mapped network drive, if your E:\ is not a mapped network drive, list E:\X_Folder will exclude all the files and it's multiple subfolders.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".


Your answer

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