We help IT Professionals succeed at work.

Way of creating a generic exclusion in windows 7

I want to provide a way of excluding a file from some anti-virus software's scanning routine for all my users.

Entering the file path in the AV software for exclusion for a single user works for me. see below:

X:\Users\johns\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\                   [this works for the user johns]

How can I describe this generically so that the exclusion will work for all users
Comment
Watch Question

Simple Geek from the '70s
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
X:\Users\j%username%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
For this one folder, what you want and what David provided will work.

What about setting central exclusions in your Anti Virus software instead of locally. We do this with Symantec Endpoint Protection.

This continues to work as you adopt Windows 10.

Author

Commented:
Thanks David. That has worked for me

Explore More ContentExplore courses, solutions, and other research materials related to this topic.