Antivirus applications can sometimes scan a large number of files, which can slow login and logout processes.

Problem

Login and logout processes are significantly slowed. If you check the logs, you can see delays in the import and export sections of the log file.

Cause

FlexEngine reads and writes numerous files, locally and to the network. If an antivirus application scans every file that is accessed at the server and workstation level, it can significantly slow login and logouts. To fix this issue, you can configure your system to exclude VMware Dynamic Environment Manager files from antivirus scans.

Solution

  1. Add an exclusion for the VMware Dynamic Environment Manager configuration share path to your antivirus software. For example:
    \\server\FlexConfigShare\general
  2. Add an exclusion for your profile archive path to your antivirus software. For example:
    \\server\FlexArchiveShare\%username%\Archives
  3. Add an exclusion for your profile archive backup path to your antivirus software. For example:
     \\server\FlexArchiveShare\%username%\Backups
  4. Add an exclusion for your FlexEngine log path to your antivirus software. For example:
    \\server\FlexArchiveShare\%username%\Logs
  5. You may be able to exclude the entire profile archive share (including profile archives, profile archive backups, and log files for all users) if the share is exclusively used for these VMware Dynamic Environment Manager-related subfolders. However, this should be done only if the profile archive share contains only VMware Dynamic Environment Manager subfolders. Otherwise, you may unintentionally exclude files that may contain viruses.
  6. In addition, you might also want to exclude the following local paths:
    • C:\Users
    • C:\Temp (or %temp%)
    • LocalSyncPath when VMware Dynamic Environment Manager SyncTool is used. For example, %LocalAppdata%\VMware DEM\FlexSync
  7. Additionally, you may want to exclude the following executables:
    • FlexEngine.exe
    • FlexService.exe
    • FlexSyncTool.exe when VMware Dynamic Environment Manager SyncTool is used