Prevent License Upgrade Policy
Usage: Lsreport [/F filename] [/D start [end]] [/T] [/?] [serverlist] Examples: Lsreport
Lsreport /T NTLS-1 NTLS2 Terminal Server Client License Test ToolThe Terminal Server Client License Test tool (TSTCST.EXE) provided with the Windows Server 2003 Resource Kit can be used to display details about the license token residing on a client device. It is a command-line utility that displays the following information by default: Issuer Scope Issued to computer Issued to user License ID Type/Version Valid From Expires On By using the /A switch, the following additional information is displayed: Server certificate version Licensed product version Hardware ID Client platform ID Company name Terminal Server License Server Viewer ToolThe Terminal Server License Server Viewer tool (LSVIEW.EXE) provided with the Windows Server 2003 Resource Kit can be used to display the license servers that are discoverable on your network. It is a GUI–based utility that shows the name and type of each license server that it discovers. It also provides the ability to create a log file with advanced diagnostic information about the discovery process. Preferred License Server WMI ScriptsUse the following WMI script to set a preferred license server: AddLicenseServer.vbs '*************************************************************************** ' ' WMI VBscript to add a specified License server to Terminal server's registry ' '*************************************************************************** if Wscript.arguments.count<1 then
Wscript.echo "e.g. cscript AddLicenseServer LicenseServerName" Wscript.quit end if
strServer=Wscript.arguments.Item(0)
WScript.Echo Err.Description, "0x" & Hex(Err.Number) end if next
Use the following WMI script to delete preferred license servers: DeleteLicenseServer.vbs '*************************************************************************** ' ' WMI VBscript to add a specified License server to Terminal server's registry ' '*************************************************************************** if Wscript.arguments.count<1 then
Wscript.echo "e.g. cscript DeleteLicenseServer LicenseServerName" Wscript.quit end if
strServer=Wscript.arguments.Item(0)
WScript.Echo Err.Description, "0x" & Hex(Err.Number) end if next
Use the following WMI script to query preferred license server settings: QueryLicenseServers.vbs '*************************************************************************** ' ' WMI VBScript that queries the License servers configured for registry bypass. ' ' '*************************************************************************** for each Terminal in GetObject("winmgmts:{impersonationLevel=impersonate}").InstancesOf ("win32_TerminalServiceSetting") WScript.Echo "The License Servers are = " & Terminal.DirectConnectLicenseServers next GlossaryDomain License Server – The scope of a domain license server is a domain or a workgroup. Enterprise License Server – Enterprise license server is the default setting for a license server. Its scope is an Active Directory site. License Code – A license code is a 25-character alphanumeric code that represents the type and number of licenses you are entitled to. The License Code comes as part of the Microsoft License Pack (MLP) packaging. License Key – A license key consists of the digital certificate bits that represent a license. The license key for a TS CAL is stored locally on the client device. License Key Pack – A license key pack is a digital representation of a group of license keys. License key packs are installed on the license server as a result of license installation. License Key Pack ID – A license key pack ID is a 35-character alphanumeric representation of a license key pack and is used to install licenses when using the WWW or Phone method. License Server – A license server is a computer that runs a Windows Server 2003 operating system that has been configured with the Terminal Server Licensing service. License Server Activation – License server activation is the process of assigning a server a limited-use X-509 certificate for the purpose of issuing license keys. License Server ID – A license server ID is a 35-character alphanumeric representation of the certificate of a license server, which is used to obtain a license key pack by means of a license installation. SummaryThe Terminal Server Licensing service provides a mechanism to manage and allocate TS CAL tokens. It works in conjunction with terminal server, terminal server clients, and an automated clearinghouse to manage the licensing process. This facility simplifies the license tracking process for system administrators. For More InformationFor the latest information on the Windows Server 2003 family, Terminal Server, and the Terminal Server Licensing service, visit: Windows Server 2003 Terminal Services http://www.microsoft.com/windowsserver2003/technologies/terminalservices/ or http://go.microsoft.com/fwlink/?LinkId=18340 Microsoft Windows Server 2003 http://www.microsoft.com/windowsserver2003 or http://go.microsoft.com/fwlink/?LinkId=17533 Windows Server 2003 Terminal Server Licensing Issues and Requirements for Deployment http://support.microsoft.com/?id=823313 or http://go.microsoft.com/fwlink/?LinkId=23444 Terminal Services FAQ http://www.microsoft.com/windowsserver2003/community/centers/terminal/terminal_faq.mspx#XSLTfaqSection121123121120120 or http://go.microsoft.com/fwlink/?LinkId=23445 For additional information about the deployment and management of the Terminal Server Licensing service, see the Windows Server 2003 Resource Kit and the Deployment Planning Guide in the Microsoft® Windows® Server 2003 Resource Kit at http://www.microsoft.com/windowsserver2003/techinfo/reskit/deploykit.mspx or http://go.microsoft.com/fwlink/?LinkId=42981>1> Download 0,85 Mb.
|