Deactivate or reactivate users

Deactivate or reactivate licensed users

Please note that an administrative PowerShell console at the ScriptRunner Service host is required to run the cmdlets of the ScriptRunnerSettings module. 

Deactivate a licensed user

Users who leave the company or move to another team and do not need access to ScriptRunner anymore, can be deactivated in the license. Afterwards the user license will be available for another users.

The deactivation of a user should be final, a reactivation should be the exception!

  1. Run the Get-AsrLicensedUser cmdlet to lists all licensed users.
  2. Run the Disable-AsrLicensedUser cmdlet and use exactly the user string that was displayed by the Get-AsrLicensedUser cmdlet to deactivate a single user.

For example:

Disable-AsrLicensedUser -LicensedUserString mydomain\username

Parameter set description:

Set 1
Exact string (including case!) for the licensed user account to deactivate
Set 2
User name of the licensed user account (domain or local users)
Domain name

Reactivation of a single user

Mistakenly deactivated users can be reactivated. This should only be done in exceptional cases!
Please contact the ScriptRunner Support,, and provide the unmitigated output of the Get-AsrLicense cmdlet to request a license key  for the user reactivation. 

This license activation key can only be used once to reactivate one single user.

  1. After you have received the key you can run the Get-AsrLicensedUser cmdlet, with the Parameter -ShowDisabled.
  2. Run the Enable-AsrLicensedUser cmdlet and use exactly the user string that is displayed by the Get-AsrLicensedUser cmdlet.

For example:

Enable-AsrLicensedUser -ActivationKey ReactivateKey -ExactLicensedUserString mydomain\username

Parameter description:

License activation key to reactivate a previously disabled user account
Exact string (including case!) for the licensed user account to register


This page has been automatically translated and may contain grammatical errors or inaccuracies