Skip to main content

Activate User

Use this command to activate a user that is currently deactivated.

Syntax (regular)

ACTIVATE USER [DomainName\]UserId

where:

  • DomainName is optional and is the network domain of a Windows-authenticated user.
  • UserId is the name of the user to which you want to activate.

Syntax example:

ACTIVATE USER JSmith

Creating an ASCII input file

To activate multiple users, specify the parameters for this command in an ASCII file.

Create an ASCII file containing the following information for each user:

[DomainName\]UserId

Syntax (with an ASCII file)

ACTIVATE USER @FileName

where:

  • FileName is an ASCII file containing the data. It can include a complete or a partial folder path in the format C:\...\FileName. If FileName includes spaces, enclose it in double quotation marks; for example:

    @"C:\My Documents\My Data.txt"

Syntax example:

MAINTENANCE ON

ACTIVATE USER @users.txt

MAINTENANCE OFF

See also

Was this article helpful?

We're sorry to hear that.