I have a rare problem.
I have set the TSHomeDrive and TSHomeDirectory property of a user at a Windows Server 2008 through PowerShell (v2.0).
I use Quest ActiveRoles Management Shell cmdlets to make these changes. This is the command I run:
Set-QADUser $id -TsHomeDrive "H" -TsHomeDirectory $TSHome
When I try to login to a TS with this user the home drive is not mapped.
Open the user AD object and set TSHomeDirectory to Local Path, then set it back to Connect. Log back in.
I am looking for a way to get this to work by just setting these settiings in PowerShell. The domain functional level is 2003, but the command ran from a 2008 AD controller (still 2003 functional level)
Please ask for more details relevant to this if you feel I left something out.