Specify file path exclusion for scanning in Symantec Protection Engine
You can select the files to be excluded from scanning by specifying the file path. Symantec Protection Engine excludes files from scanning based on the location of the files.
A maximum of 32 file paths can be excluded from scanning.
File path exclusion scanning settings lists the file path exclusion scanning settings.
XPath | Field value | Default setting |
|---|---|---|
/filtering/FileAttribute/
DenyFilePaths/items/item/@value | A valid field value. The file path is case
sensitive and each file path
must be at a separate line. | None |
- To add an exclusion file path
- Create a.txtfile with the list of file paths to be used by Symantec Protection Engine that are to be excluded from scanning.The file paths are case sensitive and each file path must be at a new line.Also, the file paths must be unique. The xmlmodifier command does not check for duplicate file path entries.
- Save the file to your system.
- Run the following command:xmlmodifier -b //filtering/FileAttribute/DenyFilePaths <Path of a text file containing list of exclude file> filtering.xmlFor example:xmlmodifier -b //filtering/FileAttribute/DenyFilePaths F:\Path_list.txt filtering.xmlwhereF:\Path_list.txtcontains the following file paths:
- C:\testfiles\
- F:\test\
- \\10.217.1.2\ONTAP_ADMIN$\vol\vol0\home\test\abc\
The file path can include the name of the file too. For example,C:\testfiles\abc.txt, which means that only theabc.txtfile in the testfiles folder is excluded from scanning. - Restart the Symantec Protection Engine service.
- To manually modify/delete an exclusion file path
- Open thefiltering.xmlfile and manually delete the file path that needs to be modified.
- Save the file.
- Add the new file path to the.txtfile, and save the file.The file paths must be unique. The xmlmodifier command does not check for duplicate file path entries.
- Run the following command:xmlmodifier -b //filtering/FileAttribute/DenyFilePaths <Path of a text file containing list of exclude file> filtering.xml
- Restart the Symantec Protection Engine service.
- To modify/delete an exclusion file path using the xmlmodifier command
- Run the following command:xmlmodifier -r //filtering/FileAttribute/DenyFilePaths/items filtering.xmlThis command removes all the file paths.
- Add the new file paths to the.txtfile, and save the file.The file paths must be unique. The xmlmodifier command does not check for duplicate file path entries.
- Run the following command:xmlmodifier -b //filtering/FileAttribute/DenyFilePaths <Path of a text file containing list of exclude file> filtering.xml
- Restart the Symantec Protection Engine service.