SysAdmin‏ > ‏Windows Server 2003‏ > ‏

Windows Server 2003 Terminal Services


Here I will share my experience with Windows Server 2003 Terminal Services. Mostly tips and tricks.

Corrupted Profile
We all aware of "corrupted profile" problem. We all face it from time to time. It is not a big pain when you can restart your terminal server, delete corrupted profile and log in again to recreate the profile. But sometime you just can't restart the server - think about corporate environment with 1000 users who use it 24/7. You might be more lucky than others if you have two or more terminal server for fail over, but not all as lucky as you.

So here is the answer. If you have user's profile corrupted and you can't restart the server, you might want to do "regedit" and go to "HK Local Machine\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\the sid of the user" 
(You locate the user's hive by "ProfileImagePath" key: it shows user's profile folder's location)

You can create a new folder for the user's profile and change "ProfileImagePath" to point to that 
newly created folder or you can just delete sid hive from registry - in this case system will recreate 
profile at next log on.




Default printer setting for Terminal Users with limited permissions
In my company we setup group policy with very limited permissions form Production Dept, users. But from time to
time I need to change default printer settings, make setups on printers, etc...

In some situations you can use script to setup default printer for user
Set WSHNetwork = CreateObject(“WScript.Network”)
WSHNetwork.SetDefaultPrinter “[PRINTER_NAME]“



But sometime there is no way but to log in with user's login and make changes. In order to get "Printers and Faxes"
menu back on his limited profile, you shall Disable the following policy
[User Configuration]/[Administrative Templates]/[Start Menu and Taskbar]/[Remove Programs on Settings Menu]

Don't forget to run "gpupdate /force"





LiveJournal: igor_it