You can configure credential caching using Group Policy or by modifying the Windows Registry directly.
Requirements
Access to registry editor on the target computer.
- To configure credential caching using Group Policy, complete the following steps:
- Open gpedit.msc.
- Navigate to .
- Enable Interactive logon: Number of previous logons to cache (in case domain controller is not available).
- To configure credential caching using Registry Editor, complete the following steps:
- Open Registry Editor on the target computer.
- Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\.
- Set
CachedLogonsCount to the desired value. See below for a list of possible values:
| Attribute | Value |
|---|
| Data type | REG_SZ |
Enable caching: CachedLogonsCount | 1–50 |
Disable caching: CachedLogonsCount | 0 |
| Default value | 10 |
Note:A value of 0 turns off caching. Any value above 50 caches only 50 logon attempts. For more information, see
Cached domain logon information in the Windows Server documentation from
Microsoft.
- Restart the computer.