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.
back to the top
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.
back to the top
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:
The following line appears in the Cmd window:
File8.xxx registered USER GLOBAL
back to the top
REFERENCES
For more information about the
register command, visit the following Microsoft Web site:
For more information about Windows 2000 Terminal Services, visit the following Microsoft Web site:
back to the top