Exclusions - Supported Windows System Variables

This section lists the supported Expandable Variables along with a brief description, their associated Windows Folder ID and example path.

Any entered variable-based exclusions are expanded at run-time for logged in users. This allows the File, On-Access, On-Demand and Behavioral Scan filters to use the exclusion list already expanded and normalized. Note, these exclusions are only applied to logged-in users, not all users on the system.

Visit the Microsoft article KNOWFOLDERID for further on the Windows Folder IDs. //Please note that we are not responsible for the content of external sites.

Variable Description Windows Known Folder ID Example Location
%ALLUSERSPROFILE% All Users profile directory. FOLDERID_ProgramData C:\ProgramData
%APPDATA% Application Data folder of the logged-in user. FOLDERID_RoamingAppData C:\Users\username\AppData\Roaming
%COMMONAPPDATA% Directory containing application-specific data that is used by all users. FOLDERID_ProgramData C:\ProgramData
%COMMONDESKTOP% Directory containing the files and folders that appear on the desktops for all users. FOLDERID_PublicDesktop C:\Users\Public\Desktop
%COMMONDOCUMENTS% Directory containing document files common to all users. FOLDERID_PublicDocuments C:\Users\Public\Public Documents
%COMMONMUSIC% Directory containing music files common to all users. FOLDERID_PublicMusic C:\Users\Public\Public Music
%COMMONPICTURES% Directory that serves as a repository for image files common to all users. FOLDERID_PublicPictures C:\Users\Public\Public Pictures
%COMMONPROGRAMFILES% Directory containing components shared across applications. FOLDERID_ProgramFilesCommon C:\Program Files\Common Files
%COMMONPROGRAMFILES(x86)% Directory containing components shared across applications for x86 architecture. FOLDERID_ProgramFilesCommonX86 C:\Program Files (x86)\Common Files
%COMMONVIDEO% Directory containing video files common to all users. FOLDERID_PublicVideos C:\Users\Public\Public Videos
%DESKTOP% Logical Desktop of the logged-in user. FOLDERID_Desktop C:\Users\username\Desktop
%LOCALAPPDATA% Directory containing application-specific data that is used by the current, non-roaming user. FOLDERID_LocalAppData C:\Users\username\AppData\Local
%MYDOCUMENTS% Documents folder of the logged-in user. FOLDERID_Documents C:\Users\username\Documents
%MYMUSIC% Music folder of the logged-in user. FOLDERID_Music C:\Users\username\Music
%MYPICTURES% Pictures folder of the logged-in user. FOLDERID_Pictures C:\Users\username\Pictures
%MYVIDEO% Videos folder of the logged-in user. FOLDERID_Videos C:\Users\username\Videos
%PROGRAMDATA% ProgramData hidden folder. FOLDERID_ProgramData C:\ProgramData
%PROGRAMFILES% Program Files directory. FOLDERID_ProgramFiles C:\Program Files
%PROGRAMFILES(X86)% Program Files directory for x86 applications. FOLDERID_ProgramFilesX86 C:\Program Files (x86)
%SYSTEM% Windows System directory. FOLDERID_System C:\Windows\System32
%SYSTEM(x86)% Windows System directory for x86 architecture. FOLDERID_SystemX86 C:\Windows\System32
%USERPROFILE% Profile folder of the logged-in user. FOLDERID_Profile C:\Users\username
%WINDIR% Windows directory or SYSROOT. FOLDERID_Windows C:\Windows

What do you want to do?