Skip to main content
jkoay
Staff & Editor
Staff & Editor
November 5, 2021

Technical Tip: Supported system variables for exclusions

  • November 5, 2021
  • 0 replies
  • 2475 views
Description
This article describes that it is difficult to define exclusions for folder path or file path if the user profile/folder path keeps changing. 
Solution
FortiClient EMS exclusions supports the following system variables when defining exclusions:

%allusersprofile% (Represents C:\ProgramData)
%appdata% (C:\Users\Username\AppData\Roaming)
%localappdata% (C:\Users\ Username\AppData\Local)
%systemroot% (C:\Windows)
%systemdrive% (C:\)
%userprofile% (Username)
%windir% (C:\Windows)

For example:

C:\Users\Fortinet\Documents Can be defined as '%userprofile%\ Documents'.

For more details about system variables and exclusions, refer to the link below:

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!