FlexEngine supports the following command-line arguments to refresh settings or launch elevated tasks.
- You selected a different directory when you installed VMware Dynamic Environment Manager.
- VMware Dynamic Environment Manager was installed as part of another installation.
For example, if you used the Horizon Cloud Import Image workflow or the Horizon Agent Installer to install VMware Dynamic Environment Manager for a virtual machine located in Microsoft Azure, the installation path is different. For details, see Creating Desktop Images for a Horizon Cloud Pod in Microsoft Azure.
If VMware Dynamic Environment Manager is installed in a non-default directory, adjust the path accordingly.
-DirectFlexRefresh
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 behavior 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
-UemRefresh
User environment settings are applied at logon, while computer environment settings are applied at boot. For certain types of settings, you can perform a refresh while the user is logged in.
Operation | Description |
---|---|
-UemRefresh | Refresh the VMware Dynamic Environment Manager file type associations, shortcuts, and printer mappings. |
-UemRefreshFtas |
Refresh the VMware Dynamic Environment Manager file type associations. |
-UemRefreshShortcuts | Refresh the VMware Dynamic Environment Manager shortcuts. |
-UemRefreshPrinters | Refresh the VMware Dynamic Environment Manager printer mappings. |
-UemRefreshADMX | Refresh the VMware Dynamic Environment Manager ADMX-based user settings. |
-UemRefreshADMXComputerPolicy | Refresh the VMware Dynamic Environment Manager ADMX-based computer settings. |
-UemRefreshDrives | Refresh the VMware Dynamic Environment Manager drive mappings. |
-UemRefreshEnvVars | Refresh the VMware Dynamic Environment Manager environment variables. |
-UemRefreshApplicationBlocking | Refresh the VMware Dynamic Environment Manager application blocking settings. |
-UemRefreshHorizonPolicy | Refresh the VMware Dynamic Environment Manager Horizon Smart Policies for user environment settings.
Note: You can refresh Horizon Smart Policies at any time. However, the Horizon remote desktop experience components determine if the changes take effect at that time.
|
-UemRefreshHorizonComputerPolicy | Refresh the VMware Dynamic Environment Manager Horizon Smart Policies for computer environment settings.
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 VMware Dynamic Environment Manager triggered tasks. |
-UemRefreshPrivilegeElevation | Refresh the VMware Dynamic Environment Manager privilege elevation settings. |
-LaunchTask
"C:\Program Files\Immidio\Flex Profiles\FlexEngine.exe" -LaunchTask "name-of-task"
For more information about elevated tasks, see the VMware Dynamic Environment Manager Administration Guide.