pbolduc
June 7th, 2007, 07:27 PM
Terminal Services & re-directing roaming user profiles causes mirrored profiles in %systemdrive%\documents and settings folder on server.
1) When specifying custom terminal service roaming user profile locations with Server 2003 in Active Directory windows will also create a cached copy of the profile in %systemdrive%\Documents and settings. To prevent this caching problem from occurring in both locations you will need to determine the SID for each terminal server user and modify the ProfileList path on the server in its local registry.
2) First obtain getsid.exe from the Microsoft Windows Resource Kit.
3) Run getsid from command line on the terminal service user accounts you which to re-direct to a custom folder. Syntax must be ( \\servername username \\servername username) This is not a typo the domain server name and user name must be typed twice.
4) Make note of the username SID from the command above and locate the following registry key.
(HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\(SID from getsid above) Change the String Value of “ProfileImagePath” to the location of where the new profile folder will reside. For example (D:\Profiles\TSUSERS\REMOTEUSERNAME)
In my configuration I have specified the Terminal Services User Profile path in Active Directory (D:\Profiles\TSUSERS\remoteusername) as well as the Terminal Services Home Folder path (D:\User Data\TSusers\remoteusername).
1) When specifying custom terminal service roaming user profile locations with Server 2003 in Active Directory windows will also create a cached copy of the profile in %systemdrive%\Documents and settings. To prevent this caching problem from occurring in both locations you will need to determine the SID for each terminal server user and modify the ProfileList path on the server in its local registry.
2) First obtain getsid.exe from the Microsoft Windows Resource Kit.
3) Run getsid from command line on the terminal service user accounts you which to re-direct to a custom folder. Syntax must be ( \\servername username \\servername username) This is not a typo the domain server name and user name must be typed twice.
4) Make note of the username SID from the command above and locate the following registry key.
(HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\(SID from getsid above) Change the String Value of “ProfileImagePath” to the location of where the new profile folder will reside. For example (D:\Profiles\TSUSERS\REMOTEUSERNAME)
In my configuration I have specified the Terminal Services User Profile path in Active Directory (D:\Profiles\TSUSERS\remoteusername) as well as the Terminal Services Home Folder path (D:\User Data\TSusers\remoteusername).