HOW TO: Register Programs to Run in a Global Context by Using the REGISTER Command in Windows 2000 Terminal Services

Article translations Article translations
Article ID: 321701 - View products that this article applies to.
This article was previously published under Q321701
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page

SUMMARY

This article describes how to use the register command to register a program so that it runs in a system or user global context in Windows 2000 Terminal Services.

Some programs may expect only one user to use the program at a time. In the Terminal Services multiple-user environment, some files (such as dynamic-link library, or DLL, files) may not open correctly if more than one user tries to use them. These programs must run in a global context to establish resources that are common to more than one user. You can use the register command to register a program so that it is available globally to the system and to all users on the system.

Note that a program's registration data is recognized only when the program is installed. If you use the register command for a program that is already installed on the server, the changes do not take effect until the next time that the program is installed.

You must log on as Administrator or as a member of the Administrators group to use the register command.

Description of the REGISTER Command

The register command uses the following syntax:
register filename [/system | /user] [/v]
The parameters for the register command are:
  • filename: Use this parameter to specify the file that you want to register.
  • /system: Use this parameter to register filename as a system global resource.
  • /user: Use this parameter to register filename as a user global resource.
  • /v: Use this parameter to display information about the actions that are being performed.

Examples

The following examples demonstrate how to use the register command to register a program so that it runs in a global context.
  • To register File1.xxx as a system global resource, type the following line at a command prompt, and then press ENTER:
    register file1.xxx /system
    The following line appears in the Cmd window:
    File1.xxx registered SYSTEM GLOBAL
  • To register File8.xxx as a user global resource, type the following line at a command prompt, and then press ENTER:
    register file8.xxx /user
    The following line appears in the Cmd window:
    File8.xxx registered USER GLOBAL

REFERENCES

For more information about the register command, visit the following Microsoft Web site:
Terminal Services Command Reference

Properties

Article ID: 321701 - Last Review: October 24, 2013 - Revision: 4.2
APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
Keywords: 
kbnosurvey kbarchive kbhowtomaster KB321701

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com