Disabling the primary site administrator account

To help ensure a secure environment for ArcGIS Server, it's recommended that you disable the primary site administrator account. This ensures that there isn't another way to administer ArcGIS Server other than the group or role you've specified in your identity store.

Before proceeding, ensure that the identity store in which you are planning to use to maintain the administrator accounts is in working order and available. If your identity store becomes corrupted or unavailable, you won't be able to log in to your site or use ArcGIS Server. To learn how to set up an identity store to work with ArcGIS Server, see Configuring ArcGIS Server security.

NoteNote:

Once the primary site administrator account has been disabled, changes to the identity store are not allowed.

If you used the primary site administrator account to register the ArcGIS Web Adaptor with your site, and then you later disable the account, there is no need for you to reconfigure the Web Adaptor. HTTP communication is not disrupted between the Web Adaptor and the site after disabling the account.

Follow the steps below to disable the primary site administrator account.

Steps:
  1. Grant administrator privileges to the roles in your identity store in which you want to have the same access as the primary site administrator account.
  2. Open the ArcGIS Server Administrator Directory and log in. Typically, this is located at http://gisserver.domain.com:6080/arcgis/admin.
  3. Click security > psa > disable.
  4. On the Operation - disable page, click Disable to disable the primary site administrator account.

Re-enabling the primary site administrator account

There may be occasions when you want to re-enable the primary site administrator account. For example, you're required to re-enable the primary site administrator before you can change the identity store that is used to manage ArcGIS Server security.

If you want to re-enable the primary site administrator account, log in to the ArcGIS Server Administrator Directory with an account that has administrative access. Navigate to security > psa > enable to access a page that will let you re-enable the account.

What if I don't have any other administrator accounts or I forgot their passwords?

If you want to re-enable the primary site administrator and you don't have the password of any account with administrative access, you can re-enable the account using the password reset utility. You can also use this utility to help you recover the name and password of the primary site administrator.

Steps:
  1. Log in to the ArcGIS Server machine.
  2. Open a command prompt window using the Run as administrator option.
  3. In the command prompt, navigate to the folder <ArcGIS Server installation directory>\Server\tools\passwordreset, for example:

    cd "C:\Program Files\ArcGIS\Server\tools\passwordreset"
    

  4. To re-enable the primary site administrator account, run the provided utility PasswordReset.bat with the -e option.

    passwordreset -e
    

  5. If you have forgotten the name of the account, run PasswordReset.bat with the -l option.

    passwordreset -l
    

  6. If you have forgotten the password for the account, run PasswordReset.bat with the -p option.

    passwordreset -p [new password]
    

Related Topics

9/1/2015