Terminal Services - Frequently Asked Windows Terminal Services Questions!

[12] Frequently Asked Asp Questions!
Updated: Jun 07, 2000
[188] Frequently Asked Citrix Questions!
Updated: Oct 10, 2006
[3] Frequently Asked Sco Tarentella Questions!
Updated: Aug 16, 2002
[260] Frequently Asked Windows Terminal Services Questions!
Updated: Aug 03, 2006
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 26
How do you disable the Quick Launch Toolbar on the Taskbar of a Windows 2000 Server? 

Open Regedt32.exe and navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams \Desktop
Look for the following Value:
Change the ,02, to a ,01, and that will disable the quick launch bar.

How do I add options to the Right Click Context menu in NT and Windows 2000? 

These tips come from http://www.jsiinc.com

For Windows NT 4.0
To add a new choice, select view/options/File Types. Scroll to the file type you wish to ammend,
select it, and click the Edit button.
Click the New button. Type the "Action" (Edit, Smile, Print, view, ...) and the full path to
the application (and any command line switches/parametets) required to perform the "Action".
If you want to change an "Action", click "Edit" instead of "New". I suggest you edit the
"Actions" of "Text Document", "Write Document" and any type that uses DDE such as
"Microsoft Word Document" to see the possibilities.

For Windows 2000:
You can manage these items in Windows 2000 Explorer by using the Tools / Folder Options / File
Types tab.

You can also manage the Open context use the command line, tip 108 - Manage file associations
from the command line.

The results of these tools are stored in the registry as HKEY_CLASSES_ROOT, an alias for
HKEY_LOCAL_MACHINE\Software\Classes, keys. Each file extension has .xxx key, with a
value that points to a file type (FType) key. The FType key has a Shell sub-key
that defines context choices.

Additionaly, there are a number of special ContextMenuHandlers:

For items that show on individual files:

For items that show on individual files:

For items that show on individual folders:

For items that show on individual drives:

If you wish to remove these entries, export them to a .reg first, just in case.

The solution to restore the Open With choice depends upon the operating system:
Windows NT 4.0

To restore the Open With choice on a right click, open a CMD prompt and type:
assoc .xxx=
where .xxx is the file extension.

NOTE: See tip 0482.

Windows 2000

Windows 2000 can support multiple Open With choices per file extension. The choices are
configured per user, at the following key:

Each file extension that has an Open With choice has a .xxx subkey with a Class name of shell.
The .xxx key has a OpenWithList subkey with a Class name of Shell, yielding the following
registry path:

The OpenWithList key has a string (REG_SZ) value name of MRULIST which contains a list of
one character Value Names, one for each unique program. Here is an example of the .htm
extension on my workstation:

Key Name:          Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.htm
Class Name:        Shell

Key Name:          Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.htm\OpenWithList
Class Name:        Shell
Value 0
  Name:            a
  Type:            REG_SZ
  Data:            FRONTPG.EXE

Value 1
  Name:            b
  Type:            REG_SZ
  Data:            iexplore.exe

Value 2
  Name:            c
  Type:            REG_SZ
  Data:            agent.exe

Value 3
  Name:            d
  Type:            REG_SZ
  Data:            NOTEPAD.EXE

Value 4
  Name:            e
  Type:            REG_SZ
  Data:            WINWORD.EXE

Value 5
  Name:            MRUList
  Type:            REG_SZ
  Data:            badce

When deleting one of these one character value names, you must remove it from MRUList.
I would use the Rename function in Regedit to prevent gaps in the alphabetic sequence.
If you delete the last entry in the MRUList, delete the entire .xxx key.

NOTE: If you create a new .xxx subkey by checking the Always use this program to open these
files box, the .xxx subkey receives an Application value name, with a string of ProgramName.exe.
NOTE: The sequence of the one character Value Names in the MRUList is the sequence that the
programs appear when you right click and choose Open With.

How do I override users default settings in Windows 2000 Terminal Services? 

For Win2K AND WTS, set Winstation UserOverrides.

Windows 2000 and WTS implement a feature that enables you to set
some overrides on some of the entries in Hkey_Current_User. Make
sure that you implement these entries on the correctly named
connections. For more information, see Q226931- How to Minimize
Graphics Use with Terminal Services.
Note- in the registry location listed to the right, insert your own
connection name in place of ICA-tcp if you have renamed your
connections for some reason.
Administrators can use a Terminal Server registry hive to override
user settings, such as wallpaper, animation effects, and screen
Create a key named UserOverride in the following location. Some
recommended entries follow:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSetControl\Terminal Server\WinStations\ICA-tcp\UserOverride\Control
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSetControl\Terminal Server\WinStations\ICA-tcp\UserOverride\Control
How can I run the TSE version of USERMANAGER locally from my workstation? 

Here is what I have done so I can manage TSE options with User Manager from
my NT Wotkstation:
From the Terminal Server (NT4) \WTSRV\System32 directory copy the following
files to your workstation \system32 directory


Submitted by:

Kevin L. Doyle
Network Administrator, Network Services Section
Department of Financial Institutions
345 West Washington Ave., 4th floor
Madison, Wisconsin  53707
kevin.doyle @dfi.state.wi.us

My users are complaing that Visio 2000 starts too slowly, any ideas? 

This is found in MS KB Q277810
After you install Visio 200 you need to add the following key and value in the registry. To do so, follow these steps:

Start Registry Editor (Regedt32.exe).

Locate the following key in the registry:
HKEY_LOCAL_Machine\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Install\Software\Visio\Visio 2000\Application\

On the Edit menu, click Add Value, and then add the following registry value:
Value Name: Featuremgmt
Data Type: REG_SZ
Value: 0
Quit Registry Editor

How do I remove Yahoo Chat and MSN Messenger from the Internet Explorer toolbar and prevent them from being installed? (refined and added to Jim`s orginal Yahoo Chat fix so to cover MSN as well) Mark Verhagen markv@thinentry.com 

To get rid of the icons on the Internet Explorer bar open regedt32..

Delete: HKey Local Machine/Software/Microsoft/Internet Explorer/Extensions/{E5D12C4E-7B4F-11D3-B5C9-0050045C3C96} and {FB5F1910-F110-11D2-BB9E-00C04F795683}

To Prevent users from installing it again navigate to: Hkey Local Machine/Software/Microsoft/Code Store Database/Application Namespaces

Delete all the subkeys that you do not want then on the namespaces key choose the security/permissions option. Double click on the everyone listing (they should have special access to this key) and the special access permissions will come up. Uncheck the box that says create subkey. And no more Yahoo chat or MSN messenger.

The other thing is uninstall messenger but leave the folder in the program files directory and give the everyone group
no access to it so that they cannot write to it to install it again.

How do I map a network printer on Terminal Service? 

This Tip comes to you from http://www.jsiinc.com
Terminal Services on Windows 2000 and Windows NT 4.0 can NOT automatically map a network printer. A Printer that is locally attached to a LPT, COM, or USB port can be automatically mapped.
You can map a network printer by using the Windows Scripting Host (WSH) to run a Visual Basic script:

Set WshNetwork = CreateObject("WScript.Network")
PrinterPath = "\\YourServer\YourPrinterShare"
PrinterDriver = "YourPrinterDriver"
WshNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver
WshNetwork.SetDefaultPrinter \\YourServer\YourPrinterShare

NOTE: YourPrinterDriver must exactly match the driver name in the Ntprint.inf file.

If you wish to add a different printer for each user who logs on to Terminal Services:

Set WshNetwork = CreateObject("WScript.Network")

Select Case WshNetWork.UserName

    Case "Username1"

        PrinterPath = "\\YourServer\YourPrinterShare1"
        PrinterDriver = "YourPrinterDriver1"
        WshNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver
        WshNetwork.SetDefaultPrinter "\\YourServer\YourPrinterShare1"
    Case "Username2"

        PrinterPath = "\\YourServer\YourPrinterShare2"
        PrinterDriver = "YourPrinterDriver2"
        WshNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver
        WshNetwork.SetDefaultPrinter "\\YourServer\YourPrinterShare2"
End Select

Using a logon script or Group Policy, run the script each time a user logs on to Terminal Services.

How do I revoke a Windows 2000 Terminal Services Client Access License (CAL)? 

Once a Terminal Services client connects and obtains a CAL, the certificate license cannot be revoked and reallocated to the license pool?

The CAL permits a client to use file, print, and other network services provided by a Terminal Services-based server. The Terminal Services component of Windows 2000 requires per-seat licensing, except for the Internet Connector license.

When the client requests a CAL, the Windows 2000 license server marks an available license as taken, and sends the license to the client. There are no tools to revoke the license and return it to the available pool.

To recover the license, you must contact the Microsoft Clearinghouse at 1 (888) 571-2048, and ask then to issue another license.

How do I transfer a Windows 2000 Terminal Services CAL to another computer? 

This Faq item comes from http://www.jsiinc.com
NOTE: Windows 2000 clients come with a built in TS CAL and hence do not recieve a CAL from the TS server.
The TS CAL is a per-seat license that allows for a one-time transfer to another client.

To transfer the licenses:
1. Run the Terminal Services Licensing program on your Windows 2000 server.
2. Press Properties on the View menu.
3. On the Connection Method tab, press Telephone and your country.
4. Press OK.
5. Use the Action menu to press Install Licenses. This starts the Licensing Wizard and returns a phone number.
6. Call the CSC and describe your need to reissue licenses. The CSR will direct you how to continue.

If you wish to remove the TS CAL from the original client device, use Regedt32 to navigate to:
and delete the LICENSE000 or LICENSE00x key.

NOTE: There may be two keys, one for the Windows 2000 or Windows NT computer and one for the TS CAL.

How do I run the Terminal Services Licensing tool remotely on a Windows 2000 Workstation? 

This tip comes from JSIINC.COM at http://www.jsiinc.com
To remotely run the tool from a Windows 2000 client:
1. Copy the Licmgr.exe and Lrwizdll.dll files, from the %SystemRoot%\System32 folder
   of the computer running Windows 2000 Termial Services, to the %SystemRoot%\System32 folder
   of the Windows 2000 client from which you wish to run the tool.

2. Set up a shortcut to run Licmgr.exe, using %SystemRoot%\System32 in the Start in.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 26

Featured Links