Link to home
Start Free TrialLog in
Avatar of bluesiivv
bluesiivvFlag for Virgin Islands, U.S.

asked on

Modify Remote Desktop Services User Profile path for multiple users

We recently performed a full Server 2008 R2 migration and instituted some new mandatory Remote Desktop Services User profiles for a few OU's of users. I'm simply looking for a way to change the AD remote desktop services (TS) user profile path for several OU's of users (or an security group)
from:
\\server1\profiles\mandatory1
to:
\\server1\profiles\mandatory2

I can't seem to find the syntax to make this change with dsquery and dsmod as I bulk change many AD attributes. I know I've struggled with TS profile paths in past (Server 2003, and resorted to a trial utility to get the job done).

I'm not very failure with Powershell, I'm sure it's time to learn. I found a good article here: http://blogs.technet.com/b/heyscriptingguy/archive/2008/10/23/how-can-i-edit-terminal-server-profiles-for-users-in-active-directory.aspx
but not sure how to make the script work for multiple users by OU.

Hoping for some Expert assistance.

Much Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Krzysztof Pytko
Krzysztof Pytko
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bsusupport
bsusupport

The easiest way to modify the remote desktop services profile for all users, is through a GPO and link the GPO to the OU where your terminal servers reside.

The setting is 'Set path for Remote Desktop Services Roaming User Profile' and can be found under Computer Configuration/Policies/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host/Profiles

That way there is no need to change the user objects.

Kind regards,
Paul van der Meer