Configure the commands that run when users log in and log out.


  1. Start the VMware Dynamic Environment Manager Management Console.
  2. Open the User Environment tab.
  3. Select Logon Tasks or Logoff Tasks and click Create.
  4. Enter a name for the settings definition.
  5. Configure the logon and logoff task settings.
    Note: Logon and Logoff tasks run "invisibly" so they cannot be used to start applications and do not support user interaction.
    Option Description
    Command The command to run. Can contain environment variables.
    Timeout (Optional) The amount of time FlexEngine waits for the command to complete. If the command does not complete during this interval, FlexEngine continues. If not configured, FlexEngine waits indefinitely for the command to complete. The Timeout setting is not available if Run asynchronously is enabled.
    Run task Before/After Specifies whether the task runs before or after profile archive import, for logon tasks or export, for logoff tasks.
    Run once If enabled, the command only runs once.
    Run asynchronously If enabled, the FlexEngine runs the command in the background, without waiting for it to complete. This option is not available for tasks that run before profile archive import or export.
    Note: For logoff tasks, you cannot combine Run once and Run asynchronously.
  6. Click Save.