Configuring Remote Desktop Services Profile settings for users

A user profile describes the configuration for a specific user, including the user’s environment and preference settings. You can specify a Remote Desktop Services-specific profile path and home folder for a user connecting to a Remote Desktop Session Host server. This profile and home folder will obviously only be used, when you connect to a server through Remote Desktop Services.

In this blog post we will look at a couple of ways to configure these settings for Active Directory users.

1. Using Active Directory Users and Computers

1.1 Open the properties sheet of a user account1.2 Choose the Remote Desktop Services Profile tab1.3 Here you can define the settings for a single user

2. Configuring these settings for all users in an OU (and it’s child OUs)

As we all know, since the introduction of PowerShell 2.0, a PowerShell module for Active Directory was introduced. Sadly, there are no Remote Desktop Services Profile related attributes associated with a user object. Therefore we are not able to configure RDS profile settings with the Active Directory module, and we have to resort to using methods introduced with PowerShell 1.0 to achieve our goal.

The following script will change the profile Settings for all users in the User Accounts OU, to the settings specified in the script.

3.4 Settings for whether you want to define a mandatory profile or not

3.5 Settings for Roaming User Profile Cache

The settings defined in Group Policy, are as you can see, set in the Computer Configuration portion of a GPO, these settings are therefore applied to computers and not users. They will take precedence over settings specified for users (in AD Users and Groups).