In addition to -r and -s, FlexEngine supports three other modes of operation.
When a computer is offline and a user logs in with cached credentials, Group Policy client-side extensions do not run. If FlexEngine is configured to run as a Group Policy extension, no import takes place in such a situation.
As a fallback approach (where a user logs on when the computer is offline), configure a logon script but instead of the -r script parameter, specify -OfflineImport. For information about configuring a logon script see Configure FlexEngine to Run from a Logon Script.
If FlexEngine runs with this argument, it checks whether an import already took place. If so, it exits quietly. If not, a path-based import is performed by using the configuration from the User Environment Manager Group Policy.
DirectFlex configuration is processed during logon. If you add Flex configuration files with DirectFlex enabled, or modify DirectFlex-related settings of existing files while a user is logged on, these changes are not automatically picked up during the session.
This might not be a problem, but you can force an update by running the following command in the user's session:
"C:\Program Files\Immidio\Flex Profiles\FlexEngine.exe" -DirectFlexRefresh
User environment settings are applied at logon. For certain types of settings, you can perform a refresh while the user is logged in.
|-UemRefresh||Refresh the User Environment Manager file type associations, shortcuts, and printer mappings.|
|Refresh the User Environment Manager file type associations.|
|-UemRefreshShortcuts||Refresh the User Environment Manager shortcuts.|
|-UemRefreshPrinters||Refresh the User Environment Manager printer mappings.|
|-UemRefreshADMX||Refresh the User Environment Manager ADMX-based settings.|
|-UemRefreshDrives||Refresh the User Environment Manager drive mappings.|
|-UemRefreshEnvVars||Refresh the User Environment Manager environment variables.|
|-UemRefreshApplicationBlocking||Refresh the User Environment Manager application blocking settings.|
|-UemRefreshHorizonPolicy||Refresh the User Environment Manager Horizon Smart Policies.
Note: You can refresh Horizon Smart Policies at any time. However, the Horizon remote desktop experience components determine if the changes actually take effect at that time.
|-UemRefreshTriggeredTasks||Refresh the User Environment Manager triggered tasks.|
|-UemRefreshPrivilegeElevation||Refresh the User Environment Manager privilege elevation settings.|