Symptoms
Consider the following scenario:
-
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.
In this scenario, the Accessed time file attribute and the Modified time file attribute of the registry hive file are updated. However, the expected behavior is that only the Accessed time file attribute is updated.
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.
In this environment, every time that the antivirus applications or the anti-malware applications scan the user profile registry hive files, the files are updated. Therefore, the configured Delete user profiles older than a specified number of days on system restart Group Policy becomes ineffective.
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.
In this environment, the user profile on TS that has older contents is loaded because its modified time is newer than that of the user profile on the profile server. Therefore, the user loses various settings such as the last setting on the desktop, the Outlook profile, and application settings.
Resolution
Hotfix information
A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix. Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:http://support.microsoft.com/contactus/?ws=supportNote The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
Prerequisites
To apply this hotfix, you must be running one of the following operating systems:
-
Windows 7
-
Windows Server 2008 R2
Registry information
To use the hotfix in this package, you do not have to make any changes to the registry.
Restart requirement
You have to restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace a previously released hotfix.
File information
The Global version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows 7 and Windows Server 2008 R2 file information notes
Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
-
The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 R2 and for Windows 7" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows 7
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Ntkrnlpa.exe |
6.1.7600.20713 |
3,964,800 |
14-May-2010 |
02:47 |
Not applicable |
Ntoskrnl.exe |
6.1.7600.20713 |
3,908,992 |
14-May-2010 |
02:47 |
Not applicable |
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Ntoskrnl.exe |
6.1.7600.20713 |
5,477,768 |
14-May-2010 |
02:17 |
x64 |
Ntkrnlpa.exe |
6.1.7600.20713 |
3,964,800 |
14-May-2010 |
02:47 |
Not applicable |
Ntoskrnl.exe |
6.1.7600.20713 |
3,908,992 |
14-May-2010 |
02:47 |
Not applicable |
For all supported IA-64-based versions of Windows Server 2008 R2
File name |
File version |
File size |
Date |
Time |
Platform |
---|---|---|---|---|---|
Ntoskrnl.exe |
6.1.7600.20713 |
11,105,160 |
14-May-2010 |
01:31 |
IA-64 |
Ntkrnlpa.exe |
6.1.7600.20713 |
3,964,800 |
14-May-2010 |
02:47 |
Not applicable |
Ntoskrnl.exe |
6.1.7600.20713 |
3,908,992 |
14-May-2010 |
02:47 |
Not applicable |
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More Information
For more information about the RegLoadKey function, visit the following Microsoft website:
http://msdn.microsoft.com/en-us/library/ms724889(VS.85).aspx.aspxFor more information about the RegUnLoadKey function, visit the following Microsoft website:
http://msdn.microsoft.com/en-us/library/ms724924(VS.85).aspxor more information about registry hives , visit the following Microsoft website:
http://msdn.microsoft.com/en-us/library/ms724877(VS.85).aspxIf you encounter the same issue on a computer that is running Windows Vista or Windows Server 2008, apply the hotfix that is described in the Microsoft Knowledge Base article 973148. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
973148 The "Modified time" file attribute of a registry hive file is updated when you load and then unload the registry hive files without making any changes to the files on a computer that is running Windows Server 2008 or Windows Vista
Additional file information
Additional file information for Windows 7 and for Windows Server 2008 R2
Additional files for all supported x86-based versions of Windows 7
File name |
Update.mum |
File version |
Not applicable |
File size |
1,674 |
Date (UTC) |
14-May-2010 |
Time (UTC) |
17:29 |
Platform |
Not applicable |
File name |
X86_8e707ab4c7020ba1555a99fa23247955_31bf3856ad364e35_6.1.7600.20713_none_256035b8faf3a8ce.manifest |
File version |
Not applicable |
File size |
697 |
Date (UTC) |
14-May-2010 |
Time (UTC) |
17:29 |
Platform |
Not applicable |
File name |
X86_microsoft-windows-os-kernel_31bf3856ad364e35_6.1.7600.20713_none_6cda09212e5d48d3.manifest |
File version |
Not applicable |
File size |
16,151 |
Date (UTC) |
14-May-2010 |
Time (UTC) |
09:30 |
Platform |
Not applicable |
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File name |
Amd64_84571872fa398fb389a457acc4af7c0e_31bf3856ad364e35_6.1.7600.20713_none_8340a7189b7c0739.manifest |
File version |
Not applicable |
File size |
701 |
Date (UTC) |
14-May-2010 |
Time (UTC) |
17:29 |
Platform |
Not applicable |
File name |
Amd64_8e707ab4c7020ba1555a99fa23247955_31bf3856ad364e35_6.1.7600.20713_none_817ed13cb3511a04.manifest |
File version |
Not applicable |
File size |
699 |
Date (UTC) |
14-May-2010 |
Time (UTC) |
17:29 |
Platform |
Not applicable |
File name |
Amd64_microsoft-windows-os-kernel_31bf3856ad364e35_6.1.7600.20713_none_c8f8a4a4e6baba09.manifest |
File version |
Not applicable |
File size |
15,291 |
Date (UTC) |
14-May-2010 |
Time (UTC) |
04:22 |
Platform |
Not applicable |
File name |
Update.mum |
File version |
Not applicable |
File size |
1,906 |
Date (UTC) |
14-May-2010 |
Time (UTC) |
17:29 |
Platform |
Not applicable |
File name |
X86_microsoft-windows-os-kernel_31bf3856ad364e35_6.1.7600.20713_none_6cda09212e5d48d3.manifest |
File version |
Not applicable |
File size |
16,151 |
Date (UTC) |
14-May-2010 |
Time (UTC) |
09:30 |
Platform |
Not applicable |
Additional files for all supported IA-64-based versions of Windows Server 2008 R2
File name |
Ia64_19df417dc9c03e1f884783bee317ab45_31bf3856ad364e35_6.1.7600.20713_none_51c2b9d8da0a9377.manifest |
File version |
Not applicable |
File size |
699 |
Date (UTC) |
14-May-2010 |
Time (UTC) |
17:29 |
Platform |
Not applicable |
File name |
Ia64_8e707ab4c7020ba1555a99fa23247955_31bf3856ad364e35_6.1.7600.20713_none_2561d9aefaf1b1ca.manifest |
File version |
Not applicable |
File size |
698 |
Date (UTC) |
14-May-2010 |
Time (UTC) |
17:29 |
Platform |
Not applicable |
File name |
Ia64_microsoft-windows-os-kernel_31bf3856ad364e35_6.1.7600.20713_none_6cdbad172e5b51cf.manifest |
File version |
Not applicable |
File size |
15,289 |
Date (UTC) |
14-May-2010 |
Time (UTC) |
03:50 |
Platform |
Not applicable |
File name |
Update.mum |
File version |
Not applicable |
File size |
1,684 |
Date (UTC) |
14-May-2010 |
Time (UTC) |
17:29 |
Platform |
Not applicable |
File name |
X86_microsoft-windows-os-kernel_31bf3856ad364e35_6.1.7600.20713_none_6cda09212e5d48d3.manifest |
File version |
Not applicable |
File size |
16,151 |
Date (UTC) |
14-May-2010 |
Time (UTC) |
09:30 |
Platform |
Not applicable |