Consider the following scenario:
This scenario may cause an issue in the following environments.
- You have an application on a computer that is running Windows 7 or Windows Server 2008 R2.
- The application calls the RegLoadKey function to load a registry hive file.
- The application calls the RegUnLoadKey function to unload the registry hive file without making anychanges.
This scenario may cause an issue in the following environments.
Environment 1
- You configure the Delete user profiles older than a specified number of days on system restart Group Policy to remove the userprofiles that are not accessed for some time.
Note To find the Delete user profiles older than a specified number of days on system restart Group Policy, do the following. Under ComputerConfiguration, expand Administrative Templates,expand System, and then click UserProfiles. - You install and configure some antivirus applications or some anti-malware applications to run on the servers. These applications regularly scan user profiles for security.
Environment 2
- You configure the TS connection broker together with the profile server to use a roaming profile.
- You set up some antivirus applications or some anti-malware applications to run on TS. These applications regularly scan user profiles for security.
- When a user logs off from the TS, the latest user profile is uploaded to the profile server.
- On each TS, user profiles are scanned by antivirus applications or anti-malware applications. Therefore, the modified time on the user profiles on each TS has a newer time stamp than that of the user profiles on the profile server.
- When the user logs on to the TS, the user profile on the local TS is loaded because the modified time of the user profile is newer than that of the user profile on profile server.