Buy Me a Coffee

Wednesday, December 29, 2010

User profile isn’t cached on Windows 7 machines and you can’t logon the computer while out of office

If the user profile isn’t cached on Windows 7 machines, you can’t logon the computer while out of office. To troubleshoot this kind of issue, I would like to suggest:

1.     Check if the logon caching is turned off on Windows 7 machines:

1)    Click Start, type: regedit in the Start Search box.
2)    Open Registry Editor and find the ValueName of CachedLogonsCount under the following path, ensure the value isn’t set 0:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

If the CachedLogonsCount has a value of 0, set the value as 0 to 50. By default,  Windows remember 10 cached logons.

2.     Check if there is a GPO associated with Windows 7 machines to perform the behavior of deleting cached copies of roaming profiles. The Group Policy setting is located:

Computer Configuration\Administrative Templates\System\User Profiles\Delete cached copies of roaming profiles

If you enable it, please disable to test the problem.

3.     Manually delete the domain profile to create a new copy:

1)    Go to the Users folder: %systemdrive%\Users and delete the domain profile.
2)    Open Registry Editor and find the following entry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\

3)    Delete the domain profile according to the user’s GUID.
4)    Restart the computer and logon.

Note: you should delete the domain profile at office, the next time you logon to the domain, the roaming profile will be copied to the local computer.

original post: