LSView.exe: Terminal Services License Server Viewer

Overview | Remarks | UI | Examples | Related Tools

Overview

Terminal Services License Server Viewer (LSView) is a GUI tool that displays information about all available Terminal Services license servers in the current domain and current site of the computer. It is useful for monitoring and logging the status of license servers.

LSView displays the following information:

Corresponding Operating System Features

Concepts

Terminal servers allow unlicensed clients to connect for 120 days from the date of the first client logon. After this evaluation period ends, a terminal server can no longer allow clients to connect unless it locates a Terminal Server License Server to issue client licenses.

A Terminal Server License Server stores all client licenses that have been installed for a Terminal Server and tracks the licenses that have been issued to client computers or terminals.

Three types of license servers are available:

System Requirements

The following are the system requirements for LSView.exe:

File Required

 

Remarks

Using LSView

You can run LSView from the command line or by double-clicking LSView.exe in Windows Explorer. After LSView starts, it runs a terminal server discovery process to acquire a list of Terminal Services license servers in the current domain. By default, LSView updates this list every five minutes.

You can change the default polling interval when you create a log file. See step 6 in the following "To create a log file" procedure.

To create a log file:

  1. Start LSView.
  2. Wait for LSView to finish polling for license servers. The traffic light icon in the status area changes from yellow to green when polling is complete.
  3. In the License Server Viewer dialog box, click File, and then click Create Log File.
  4. In the Save As window, in the File name box, type a name for the LSView log file and, in the Save as type drop-down box, select Log files, if it is not already selected.
  5. Create one of the following files:
    • A basic log file, by clearing the Log Diagnostic Information check box.
    • A diagnostic log file, by checking the Log Diagnostic Information check box.
  6. To automatically save changes to the log file whenever LSView updates the server list, check Use the file for automatic log.
  7. To change the frequency with which LSView updates the server list and the log file, in the Search for license server interval (in minutes) box, select or type a number for the new polling interval.
  8. To create the log file, click Save.

 

UI


Displaying the Results

You can access the list of license servers found by LSView in three ways. You can:

The License Server Viewer Window

When you start LSView, the License Server Viewer window opens. If you minimize this window, you can open it again by double-clicking the traffic light icon. The License Server Viewer window contains one pane with three columns that display the polling results. You can sort the polling results by name, time, or type by clicking the corresponding column heading.

File menu

Two file menu options are available:
Option Description
Create Log File Opens a dialog box to create a basic or diagnostic log file with a specific name, and saves the file in a specific location. LSView creates the following types of log files:
  • A basic log file that records the most recent polling results displayed in the License Server Viewer window. In the log file, each available server name is listed, followed by the last date and time available, and the type of server.
  • A diagnostic log file that records information about the discovery process. You can use it for troubleshooting. The diagnostic log file lists data such as the type of discovery, (Enterprise, Domain, or Registry-bypass), the remote calls made on the server, and their return values.

Choose the type of log file you want to create in the Create Log File dialog box. If you check Log Diagnostic Information, LSView creates a diagnostic log file. If you clear the Log Diagnostic Information check box, LSView creates a basic log file. For either type of log file, you can specify whether or not you want updates saved automatically to the log file, and how often you want LSView to update the information.

Exit Closes the License Server Viewer window, removes the traffic light icon from the status area of your Start bar, and stops polling for servers.

Help menu

The following Help menu option is available:
Option Description
About License Server Viewer Opens a dialog box that displays the current version of the operating system and LSView. You can also view copyright information, the End End License Agreement, and check to see the name of the individual to whom LSView is licensed. The bottom of the dialog box displays the current amount of physical memory available to Windows for troubleshooting purposes.

The Traffic Light Icon

When you start LSView, a traffic light icon is added to the status area of your Start bar. You can monitor the polling status of LSView from the traffic light icon.

Discover the Current State of LSView Polling

Allow your cursor to hover over the traffic icon. This action displays the current state of LSView polling.

Use the Color of the Traffic Light to Get Quick Indication of Polling Status

The table below shows the meaning of each traffic light color.
Color Meaning
Green LSView is running and waiting for the next polling interval.
Yellow LSView is busy polling for available license servers.
Red LSView has encountered errors and is unable to poll for license server availability.

The Log File

You can save an LSView log file in any location. The default location is in My Documents. The basic log file records each available server name, followed by the last date and time available, and the type of server. The diagnostic log file records data such as the type of discovery, (Enterprise, Domain, or Registry-bypass), and the remote calls made on the server and their return values.

Note

 

Examples


Check Availability of Terminal Services License Servers in the //cohowinery Domain

The task in this example is to use LSView to check the availability of Terminal Services license servers in the //cohowinery domain.

To run LSView, type the following at the command line:

lsview

Press ENTER. This opens the License Server Viewer window. When the traffic light icon turns green, the window is populated with information about all available license servers in the current domain. The same information is also written to a log file.

COHO-DC-06	Thursday, October 17, 2002 3:31 PM	Enterprise
COHO-TSLS-01	Thursday, October 17, 2002 3:31 PM	Enterprise
 

Related Tools


Tools related to LSView include: