Getting AD Terminal Server Settings

Share |

Join PowerShell.com!
Subscribe to Feed

PowerShell eBook
Sign up for
Your PowerTip of the Day:

Award-winning PowerShellPlus


Admin Guide to PowerShell Remoting


Mastering PowerShell eBook

On client operating systems, such as Windows 7, there are some Support libraries missing that you will need  to display terminal server settings stored in the AD. So when you query a user in your AD, all terminal server settings will be missing or blank.
To resolve this, you should visit the system32 folder of a server and copy the tsuserex.dll to your client and register it with regsvr32.exe. Then, the terminal server settings are displayed correctly.
Note: you will need the correct tsuserex.dll for your system. So if your client runs a 64bit operating system, you will also need the 64bit version of that dll.

 

Twitter This Tip! ReTweet this Tip!


Posted Mar 14 2011, 08:00 AM by ps1
Copyright 2012 PowerShell.com. All rights reserved.