Terminal Services Advertising in Windows Server 2008

by [Published on 18 Dec. 2008 / Last Updated on 19 Sept. 2008]

This article explains a registry entry for Terminal Services to disable/enable advertising.

In Windows Server 2008, only servers that have Terminal Server role service installed will advertise themselves as Terminal Servers, and will be viewable in the Terminal Services Manager snap-in.

A client computer running, Remote Desktop Client obtains the list of only the Terminal Servers. It uses an API Call (NetServerEnum) with a parameter for server type (SV_TYPE_TERMINALSERVER). The Terminal Server computer responds as per the value set in the registry entry. The value is stored in the TSAdvertise registry entry at HKEY_LOCAL_MACHINE\CurrentControlSet\Control\Terminal Server key.

You can change the value of TSAdvertise entry to enable/disable the advertising of Terminal Server computer.

  • 0 = Disable Advertising
  • 1 = Enable Advertising

See Also


The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP, and was awarded Microsoft MVP in Directory Services. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles for various online communities. Nirmal can also be found contributing to PowerShell based Dynamic Packs for ADHealthProf.ITDynamicPacks.Net solutions.

Featured Links