Skip to main content

Action Types

The following tables list all available actions that can be added to an activity.

Pre-Session (Grant) Actions​

Action TypeAction DescriptionRelated Fields
AD Sync with ArgsTrigger Domain Controller replication rather than waiting for the next scheduled AD sync. This will run on the ActionService directly and not use WinRM to connect to any servers. The action uses the service account associated with the domain to run the sync.Destinations — Enter a comma-separated list of domain controllers to replicate to. Domain — Enter the domain controller source. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Add ADUC PermissionsAdd Active Directory Users and Computers rights to the login account. You can add rights such as Reset, Change, and Unexpire the password. The "Update Password Not Required Bit" lets you set the userAccountControl (UAC) toggle so accounts don't require passwords.AD Object Type — Select which type of object to manage in the Organizational Unit: User or Computer. AD Organizational Unit — Enter a pre-existing Organizational Unit the login account have delegated permissions for. AD Rights to be Added — Select which right to delegate to the login account for managing the specified Organizational Unit. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Add Microsoft Entra ID RoleAdd login account to an Microsoft Entra ID roleMicrosoft Entra ID Role (Allows Custom Entries) — Enter which Microsoft Entra ID Directory Role is added to the login account, or select from the Role options in the dropdown. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Add Sudoers RuleCreate a new rule file in sudoers.d directory to grant user additional permissionsRun As — Enter which accounts the logged-in user can run commands as. Commands — Enter the commands the user can run as a comma-separated list, or, enter ALL for all commands on the target resource. ensure to use absolute paths in the command list. For example: /usr/bin/yum, /usr/bin/docker, /usr/bin/rpm. Prompt for Password — If enabled, the logged-in user must enter their password to run elevated commands. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Add to Microsoft Entra ID GroupAdd login account to a Microsoft Entra ID Security GroupMicrosoft Entra ID Security Group (Allows Custom Entries) — Enter which Microsoft Entra ID Security Group is added to the login account. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Add User to Domain GroupAdd login account to a domain groupDomain — Enter an Active Directory domain. Group (Allows Custom Entries) — Enter a pre-existing Group the login account is added to in the specified Domain. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Add User to Local GroupAdd login account to a local groupGroup (Allows Custom Entries) — Enter a pre-existing Group the login account is added to in the specified Domain. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Add User to Groups and Roles (User Selected)Admins set this up to allow the user to select from a list of groups or roles that the login account can be promoted into. A connection to a resource is optional. This allows NPS to control privilege, but have work done outside of an NPS session.Admin creates list of groups/roles. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Add Requester to Database ServerAdd login account to the database serverContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Add User to Database RoleAdd login account the Database Role.Database – (Optional) If you specify a database, the role applies to the specific database. If you leave the database field blank, the role applies to the database instance. Role – Privilege Secure adds the user to this role. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Create Windows File ShareCreates a temporary, encrypted SMB share on the activity's target Windows resource. This action creates a hidden lock file at the root of the share's map path. This is used by the console to identify a folder as being created/owned by the console. Users shouldn't attempt to modify or delete this lock file.Windows File Share Name — The name of the File Share that is created on the activity's target Windows resource. Windows File Share Map Path — A folder is created in this location (local path) as a map for the session's Windows File Share. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Enable RDP on HostAllows the user to enable RDP on the Host during the pre-session. This action comes paired with the Disable RDP on Host post-session action type.Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Monitor File for ChangesMonitors the specified file for modifications. If no changes are detected, an Info event is logged to the action log. If changes are detected (or the file goes missing after the pre-session hash), a Warning is logged to the action and event logs.File to Monitor — Enter the full local path to the file to be monitored. Fail Pre-Session on Missing File — Fail session provisioning if the file to monitor can't be found. Fail Post-Session on Mismatch — Fail session during Activity post-session if monitored file checksum doesn't match. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Purge Kerberos Tickets for HostPurge all Kerberos tickets from the resourceContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Purge Kerberos Tickets for UserPurge Kerberos Tickets for the login accountContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Run AD Replication for UserRuns AD replication for the target user within the AD site of the target resourceContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Run Custom PowerShell ScriptExecute custom PowerShell script during ActivityDefinition — Enter a custom Powershell script here. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Run ReplicationRun replication (via repadmin /syncall) on closest domain controller to the target resourceContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Scan Host for Local GroupsScan local groups on the resourceContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Set Cisco User PrivilegeSet Cisco user Privilege level for account access (1-15) 1 = lowest rights 15 = highest rightsPrivilege — User Privilege level for account access (1-15) 1 = lowest rights 15 = highest rights. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.

Session (Connect) Actions​

Action TypeAction DescriptionRelated Fields
Monitor for User Log inMonitor the target resource for a login by the userContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Purge Kerberos Tickets for HostPurge all Kerberos tickets from the resourceContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Purge Kerberos Tickets for UserPurge Kerberos Tickets for the login accountContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Run Custom PowerShell ScriptExecute custom PowerShell script during ActivityDefinition — Enter a custom Powershell script here. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Run ReplicationRun replication (via repadmin /syncall) on closest domain controller to the target resourceContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Scan Host for Local GroupsScan local groups on the resourceContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.

Post-Session (Remove) Actions​

Action TypeAction DescriptionRelated Fields
Disable RDP on HostDisable RDP on target resourceContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Invoke Protection PolicyValidate membership of protected groups and remove unauthorized accountsContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Logoff UserLog user off on Activity session closeContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Monitor File for ChangesMonitors the specified file for modifications. If no changes are detected, an Info event is logged to the action log. If changes are detected (or the file goes missing after the pre-session hash), a Warning is logged to the action and event logs.File to Monitor — Enter the full local path to the file to be monitored. Fail Pre-Session on Missing File — Fail session provisioning if the file to monitor can't be found. Fail Post-Session on Mismatch — Fail session during Activity post-session if monitored file checksum doesn't match. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Purge Kerberos Tickets for HostPurge all Kerberos tickets from the resourceContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Purge Kerberos Tickets for UserPurge Kerberos Tickets for the login accountContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Remove ADUC PermissionRemove AD rights from the login accountAD Object Type — Select which type of object to manage in the Organizational Unit, a User or Computer. AD Organizational Unit — Enter a pre-existing Organizational Unit the login account have delegated permissions for. AD Rights to be Added — Select which right is delegated to the login account for managing the previously specified Organizational Unit. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Remove from Microsoft Entra ID RoleRemove Microsoft Entra ID role from the login accountMicrosoft Entra ID Role (Allows Custom Entries) — Enter which Microsoft Entra ID Directory Role is added to the login account, or select from the Role options in the dropdown. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Remove Requester from Database ServerRemove the login user from the databaseContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Remove User from Database RoleRemove the "Remove User from Database Role" login user from the given database roleDatabase – (Optional) If a database is specified, the role gets removed from the specific database. If the database field is left blank, the role gets removed from the login user in the database instance. Role – The user is removed from this role. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Remove Sudoers ruleRemove previously created file in Sudoers directoryRun As — Enter which accounts the logged-in user can run commands as. Commands — Enter the commands the user can run as a comma-separated list, or, enter ALL for all commands on the target resource. ensure to use absolute paths in the command list. For example: /usr/bin/yum, /usr/bin/docker, /usr/bin/rpm. Prompt for Password — If enabled, the logged-in user must enter their password to run elevated commands. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Remove User from Domain GroupRemove login account from domain groupDomain — Enter an Active Directory domain. Group (Allows Custom Entries) — Enter a pre-existing Group the login account is added to in the specified Domain. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Remove User from Local GroupRemove login account from local groupGroup (Allows Custom Entries) — Enter a pre-existing Group the login account is added to in the specified Domain. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action. Paired Action's Name — (Optional) Edit the name of the paired action.
Run Custom PowerShell ScriptExecute custom PowerShell script during ActivityDefinition — Enter a custom Powershell script here. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Run ReplicationRun replication (via repadmin /syncall) on closest domain controller to the target resourceContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Scan Host for Local GroupsScan local groups on the resourceContinue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.
Set Cisco User PrivilegeSet Cisco user Privilege level for account access (1-15) 1 = lowest rights 15 = highest rightsPrivilege — User Privilege level for account access (1-15) 1 = lowest rights 15 = highest rights. Continue on Error — If an error occurs, continue to the next step rather than halting the action. Action Name — (Optional) Edit the name of the action.