Custom message for locked user accounts

Use the Custom message for locked user accounts policy to customize the message that will be shown to the user when the user tries to log into a locked user account.

  • If this policy is set to Enabled, an administrator can specify the message that will be shown to the user when the user tries to log into a locked user account. The credential provider shows the message if the message is specified (not empty).
  • If this policy is set to Disabled or Not Configured, you will see the same message as the windows credential provider.

The group policy "Custom message for locked user accounts" only changes the message for the console logon or remote logon without Network Level Authentication (NLA). If you log on remotely with NLA, Remote Desktop Client will block logon with its message.