---
sourceDocument: Australia Platform security
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/platform-security

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Specify lockout for failed login attempts

# Specify lockout for failed login attempts {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

The system provides inactive script actions that enable you to specify the number of
failed login attempts before a user account is locked and to reset the count after a
successful login.

## Vorbereitungen

Role required: password_reset_admin

## Prozedur

Navigate to AllSystem PolicyScript Actions to view or activate the scripts.  
Hinweis:  
Starting with the Kingston release, following a zBoot, the script actions SNC User Lockout Check with Auto Unlock and SNC User Clear are activated.

To learn more about
properties that affect failed login attempts, see [Managing failed login attempts (instance security hardening)](https://servicenow-prod.fluidtopics.net/UA6u4w2gkR4JFpBGynKVEA "Two script actions are available that enable a site administrator to manage the number of times a user can provide an incorrect password before being locked out from the ServiceNow AI Platform. You can enable either of these script actions to manage failed login attempts.") in the Instance Security Hardening Settings.
{#t_LockoutForFailedLogins__table_yzs_qcf_g1b__entry__2}

| Script action | Description |
|-|-|
| SNC User Lockout Check with Auto Unlock | * Uses the value of the glide.user.max_unlock_attempts property to set the limit for failed login attempts. * Unlocks the user account after the time period that is specified for the glide.user.unlock_timeout_in_mins property. If no value is specified, then the system unlocks the user account after the default period of 15 minutes. {#t_LockoutForFailedLogins__ul_ppn_4jh_mv} |
| SNC User Lockout Check | Tracks the number of failed login attempts and locks the user account after a specified number of failed login attempts (default: 5). |
| SNC User Clear | Updates the user record after a successful login: Resets the number of failed login attempts and updates the date of the last login. |
[ ]

{#t_LockoutForFailedLogins__table_yzs_qcf_g1b}

## Nächste Maßnahme

Each time a user attempts to log in, the action is recorded in an event log. You can
view a log of failed login attempts.  
1. Navigate to System PolicyEvent Logs.
2. Filter for login.failed in the Name field. You can view the attempted login name, date, and IP address logged for the attempt.
{#t_LockoutForFailedLogins__ol_urj_m4z_k1b}

