Accounts Display Information about Previous Logons during User Sign-in in Windows 11


  • Staff
Accounts_banner.png

The Display information about previous logons during user logon policy displays information about previous logons and logon failures to the user (local account or Microsoft account).

A message appears after the user signs in that displays the date and time of the last successful sign-in by that user, the date and time of the last unsuccessful sign-in attempted with that user name, and the number of unsuccessful sign-ins since the last successful sign-in by that user. This message must be acknowledged by the user clicking on OK before the user is presented with the Windows desktop.

This tutorial will show you how to enable or disable to display information about previous logons during sign-in for all users in Windows 10 and Windows 11.


You must be signed in as an administrator to enable or disable the Display information about previous logons during user logon policy.



Contents

  • Option One: Enable or Disable Display Information about Previous Logons in Local Group Policy Editor
  • Option Two: Enable or Disable Display Information about Previous Logons using REG file


EXAMPLE: Display information about previous logons during user sign-in

Display_information_about_previous_logons_during_user_logon-1.png
Display_information_about_previous_logons_during_user_logon-2.png





Option One

Enable or Disable Display Information about Previous Logons in Local Group Policy Editor


The Local Group Policy Editor is only available in the Windows 10/11 Pro, Enterprise, and Education editions.

All editions can use Option Two to configure the same policy.


1 Open the Local Group Policy Editor (gpedit.msc).

2 Navigate to the policy location below in the left pane of the Local Group Policy Editor. (see screenshot below)

Computer Configuration > Administrative Templates > Windows Components > Windows Logon Options

Display_information_about_previous_logons_during_user_logon_gpedit-1.png

3 In the right pane of Windows Logon Options in the Local Group Policy Editor, double click/tap on the Disable deleting diagnostic data policy to edit it. (see screenshot above)

4 Do step 5 (enable) or step 6 (disable) below for what you want.

5 Enable Display Information about Previous Logons during User Sign-in

A) Select (dot) Enabled. (see screenshot below)​

B) Click/tap on OK, and go to step 7 below.​

Display_information_about_previous_logons_during_user_logon_gpedit-3.png

6 Disable Display Information about Previous Logons during User Sign-in

This is the default setting.


A) Select (dot) Not Configured. (see screenshot below)​

B) Click/tap on OK, and go to step 7 below.​

Display_information_about_previous_logons_during_user_logon_gpedit-2.png

7 You can now close the Local Group Policy Editor if you like.




Option Two

Enable or Disable Display Information about Previous Logons using REG file


1 Do step 2 (enable) or step 3 (disable) below for what you would like to do.

2 Enable Display Information about Previous Logons during User Sign-in

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Enable_Display_information_about_previous_logons_during_user_sign-in.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"DisplayLastLogonInfo"=dword:00000001

3 Disable Display Information about Previous Logons during User Sign-in

This is the default setting


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Disable_Display_information_about_previous_logons_during_user_sign-in.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"DisplayLastLogonInfo"=-

4 Save the REG file to your desktop.

5 Double click/tap on the downloaded REG file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 You can now delete the downloaded REG file if you like.


That's it,
Shawn Brink


 

Attachments

  • Accounts.png
    Accounts.png
    5.9 KB · Views: 21
  • Disable_Display_information_about_previous_logons_during_user_logon.reg
    662 bytes · Views: 36
  • Enable_Display_information_about_previous_logons_during_user_logon.reg
    692 bytes · Views: 30
Top Bottom