Register

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Register

Registers a program so that it has special execution characteristics.

Syntax

register FileName [{/system | /user}] [/v]

Parameters
  • FileName
    Specifies the name of the file you want to register.
  • /system
    Registers FileName as a system global resource.
  • /user
    Registers FileName as a user global resource.
  • /v
    Displays additional information.
  • /?
    Displays help at the command prompt.
Remarks
  • Only administrators can use register.

  • Some complex applications and subsystems need to execute in a system global context to establish resources that are common to more than one logon.

  • Registration data for a program is recognized only when the program is installed. If you issue a register command for a program that is already installed, the changes take effect the next time the program is installed.

Examples

To register a program as a system global resource, type:

register program.exe /system

To register a program as a user global resource, type:

register program.exe /user

Formatting legend

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also

Concepts

Command-line reference A-Z
Command shell overview
Terminal Services commands