Automatically set profile path for Remote Desktop Services

In this tutorial, you will learn how to configure Adaxes to automatically set the Remote Desktop Services profile path for newly created users.

Remote Desktop Services settings are available only for Active Directory domains.

To automatically perform actions when a certain event takes place, you need to use business rules. Adaxes provides a built-in business rule, After user creation, that is triggered after a new user is created. You can use this business rule to automatically set the Remote Desktop Services profile path.

  1. Launch Adaxes Administration console.

     How {id=collapse1}
    • On the computer where Adaxes Administration console is installed, open Windows Start menu.

    • Click Adaxes Administration Console.

  2. Expand Adaxes service \ Configuration \ Business Rules \ Builtin and select After user creation.

    For details on how to configure and activate the business rule, see Automate user provisioning.

    Alternatively, you can create a separate business rule to update Remote Desktop Services profile path.

     How {id=how_to_create_business_rule}
    • In Adaxes Administration console, right-click your Adaxes service, point to New and click Business Rule.

    • Enter a name for the new business rule and click Next.

    • On the Triggering Operation step, select User.

    • Select After creating a user.

    • Click Next and follow the instructions in the wizard.

  3. Add an Update User action to the business rule:

    • Click Add new action set.

    • Right-click Do nothing and then click Add Action in the context menu.

    • In the Add Action dialog, select the Update the user action.

    • In the Action Parameters section, click Add.

    • Select the Remote Desktop Services Settings property.

    • Click the button embedded in the New value field.

    • In the TerminalServicesProfilePath field, specify the Remote Desktop Services profile path.

      To set a unique profile path for each user, you need to use value references (e.g. %username%). When the business rule is executed, the value references will be replaced with the corresponding property values of the new account.



      After replacing the value references, the path will look like so:

    • Click OK three times.

  4. Optionally, you may want the business rule to set the profile path only if certain conditions are met. To assign a condition, right-click the action and then click Add Condition in the context menu.

    In the following example, the profile path is set on the condition that the Employee Type property of the new user account equals Subcontractor.

  5. Click Save changes.

Business rules trigger only for operations performed via Adaxes. To handle changes made outside of Adaxes, e.g. using Active Directory Users and Computers, you can use scheduled tasks.

See also