Summary

This article introduces a hotfix that improves the interoperability between the BranchCache feature and the Offline Files feature in Windows 7 and in Windows Server 2008 R2.

Currently, the BranchCache feature uses the WTSQueryUserToken function to maintain the token cache for users who log on in a local branch office environment. To make sure that the Offline Files feature can impersonate the appropriate skin, the client-side caching driver (Csc.sys) sends an upcall to the Offline Files feature (Cscservice.exe). Then, the upcall triggers a prefetch request that incorporates the logon ID of the VNetRoot pointer. This behavior enables the Offline Files feature to open a handle on behalf of the original user.

However, the WTSQueryUserToken function cannot retrieve tokens that are not associated with Remote Desktop logon sessions (such as tokens that are created by using the runas.exe /netonly command or by using direct LogonUser() API calls). Therefore, when the BranchCache feature uses the WTSQueryUserToken function to retrieve tokens that are not associated with Romote Desktop logon sessions, the prefetch request fails. This behavior causes WAN connections to perform file IO operations.

For example, consider the following scenario:

  • The BranchCache feature is deployed in distributed cache mode in a local branch environment.

  • The Forefront Endpoint Protection (FEP) definition update service runs under the context of the Network Service credentials.

  • The FEP definition updates are distributed by using DFSR shares.

In this situation, the BranchCache feature does not function as expected. Therefore, if there is no local server in the branch office, the client computers download FEP definition updates from the hosted SMB shares (DFSR) through the WAN connection.

Resolution

If the BranchCache feature is deployed in distributed cache mode, install this hotfix only on the client computers that have the BranchCache feature enabled in the local branch environment. If the BranchCache feature is deployed in hosted cache mode, this hotfix is not required.

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 website:

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 7 Service Pack 1 (SP1)

  • Windows Server 2008 R2

  • Windows Server 2008 R2 Service Pack 1 (SP1)

For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

To apply the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You must 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


  • The files that apply to a specific product, milestone (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:

    Version

    Product

    Milestone

    Service branch

    6.1.760
    0.21xxx

    Windows 7 and Windows Server 2008 R2

    RTM

    LDR

    6.1.760
    1.21xxx

    Windows 7 and Windows Server 2008 R2

    SP1

    LDR

  • 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

Cscsvc.dll

6.1.7600.21148

547,328

10-Feb-2012

05:35

x86

Cscsvc.dll

6.1.7601.21920

547,840

10-Feb-2012

05:27

x86

Msv1_0.dll

6.1.7600.21148

258,560

10-Feb-2012

05:37

x86

Msv1_0.dll

6.1.7601.21920

258,048

10-Feb-2012

05:29

x86

For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Cscsvc.dll

6.1.7600.21148

693,760

10-Feb-2012

06:23

x64

Cscsvc.dll

6.1.7601.21920

694,784

10-Feb-2012

06:23

x64

Msv1_0.dll

6.1.7600.21148

312,832

10-Feb-2012

06:26

x64

Msv1_0.dll

6.1.7601.21920

312,832

10-Feb-2012

06:25

x64

Msv1_0.dll

6.1.7600.21148

258,560

10-Feb-2012

05:37

x86

Msv1_0.dll

6.1.7601.21920

258,048

10-Feb-2012

05:29

x86

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 BranchCache feature, visit the following Microsoft website:

General information about the BranchCache featureFor more information about how the BranchCache feature works, visit the following Microsoft website:

How the BranchCache feature works in Windows 7 and in Windows Server 2008 R2For more information about the WTSQueryUserToken function, visit the following Microsoft website:

General information about the WTSQueryUserToken functionFor more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

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

X86_microsoft-windows-offlinefiles-service_31bf3856ad364e35_6.1.7600.21148_none_0a61a90cdbae7822.manifest

File version

Not Applicable

File size

56,703

Date (UTC)

10-Feb-2012

Time (UTC)

06:08

Platform

Not Applicable

File name

X86_microsoft-windows-offlinefiles-service_31bf3856ad364e35_6.1.7601.21920_none_0c55cd5ed8cbab59.manifest

File version

Not Applicable

File size

56,703

Date (UTC)

10-Feb-2012

Time (UTC)

06:02

Platform

Not Applicable

File name

X86_microsoft-windows-security-ntlm_31bf3856ad364e35_6.1.7600.21148_none_7d4103d5dcd8f6c0.manifest

File version

Not Applicable

File size

24,502

Date (UTC)

10-Feb-2012

Time (UTC)

06:08

Platform

Not Applicable

File name

X86_microsoft-windows-security-ntlm_31bf3856ad364e35_6.1.7601.21920_none_7f352827d9f629f7.manifest

File version

Not Applicable

File size

24,502

Date (UTC)

10-Feb-2012

Time (UTC)

06:00

Platform

Not Applicable

Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

Amd64_microsoft-windows-offlinefiles-service_31bf3856ad364e35_6.1.7600.21148_none_66804490940be958.manifest

File version

Not Applicable

File size

56,710

Date (UTC)

10-Feb-2012

Time (UTC)

07:01

Platform

Not Applicable

File name

Amd64_microsoft-windows-offlinefiles-service_31bf3856ad364e35_6.1.7601.21920_none_687468e291291c8f.manifest

File version

Not Applicable

File size

56,710

Date (UTC)

10-Feb-2012

Time (UTC)

06:59

Platform

Not Applicable

File name

Amd64_microsoft-windows-security-ntlm_31bf3856ad364e35_6.1.7600.21148_none_d95f9f59953667f6.manifest

File version

Not Applicable

File size

24,506

Date (UTC)

10-Feb-2012

Time (UTC)

06:59

Platform

Not Applicable

File name

Amd64_microsoft-windows-security-ntlm_31bf3856ad364e35_6.1.7601.21920_none_db53c3ab92539b2d.manifest

File version

Not Applicable

File size

24,506

Date (UTC)

10-Feb-2012

Time (UTC)

06:57

Platform

Not Applicable

File name

Wow64_microsoft-windows-security-ntlm_31bf3856ad364e35_6.1.7600.21148_none_e3b449abc99729f1.manifest

File version

Not Applicable

File size

14,567

Date (UTC)

10-Feb-2012

Time (UTC)

05:58

Platform

Not Applicable

File name

Wow64_microsoft-windows-security-ntlm_31bf3856ad364e35_6.1.7601.21920_none_e5a86dfdc6b45d28.manifest

File version

Not Applicable

File size

14,567

Date (UTC)

10-Feb-2012

Time (UTC)

05:50

Platform

Not Applicable

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×