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 the Microsoft MVP award in Directory Services and Windows Networking. He specializes in Microsoft Azure, Office 365, Directory Services, Failover Clusters, Hyper-V, PowerShell Scripting and System Center products. Nirmal has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites and contributing to PowerShell-based Dynamic Packs for www.ITDynamicPacks.Net solutions.

Featured Links