Windows determines how many user account entries it can save in the logon cache on the local computer via below registry key:
Key: HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrent VersionWinlogon
ValueName: CachedLogonsCount
Data Type: REG_SZ
Values: 0 – 50
The valid range of values for this parameter is 0 to 50. A value of 0 turns off logon caching and any value above 50 will only cache 50 logon attempts. By default, all versions of Windows remember 10 cached logons except Windows Server 2008.
The default value of the cachedlogonscount registry entry has changed from 10 to 25 in Windows Server 2008. The minimum and the maximum range of the value remains the same.
Any changes you make to this key require that you restart the computer for the changes to take effect.
References: