Consider the following scenario:
- You apply the Delete user profiles older than a specified number of days on system restart Group Policy setting on a client computer that is running Windows 7 or Windows Server 2008 R2.
- The computer is in an Active Directory domain environment.
- A user in the domain logs on to the computer.
- The user logs off the computer after a user profile folder for that user is created.
- The computer is restarted after the number of days that is configured in the Group Policy setting.
- The user logs on to the computer again.
- An additional user profile folder is created. The name of this folder is appended with a NetBIOS domain name or with a three-digit suffix. For example, the folder name is Username.CONTOSO or Username.000.
- If the user has a roaming profile, some applications that rely on the "Shell Folders" paths in the registry stop responding. Additionally, when the user logs off the computer, changes to the application data that is stored in the user profile do not roam to the domain database.
- An event that resembles the following is logged in the Application log:
- This issue occurs when the Windows Search service is enabled.
- When this issue occurs, the registry subkey that represents the stale user profile is deleted. This subkey appears in the following location:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList