Use BranchCache in Windows 7

BranchCache is a network tool integrated in Windows 7 and Windows Server 2008. This tool acts as a proxy whereby it only works when requested by the client.

BranchCache is very useful in case the connection from the branch office back to the headquarters is very slow. All downloads take place at low speed due to bandwidth connection problems. BranchCache is designed to support the operations of these branch offices.

BranchCache operation method

BranchCache works according to two mechanisms, Hosted Cache and Distributed Cache (distributed storage). In Hosted Cache mode, a Windows Server 2008 server located at the branch office will contain the stored files. In Distributed mode, a server at the branch office is not needed, instead copies of files are stored directly on the computer at the branch office.

Use BranchCache in Windows 7 Picture 1
Figure 1: BranchCache operation model.

When BranchCache is enabled, if there is a request for data to be sent over the network, a copy of the data or file will be downloaded from the internal Web site or a file server then it will be stored locally in the branch office. branch. When another user in the branch office also requests this file, that user will be able to access this data immediately when it is downloaded from the local storage area instead of having to download it from the head office. with limited speed bandwidth connection.

BranchCache only retrieves data from the headquarters upon request. Because it operates as a passive memory, it takes up little bandwidth between the headquarters and the branch office. BranchCache only stores read requests, so it never interferes with the user's file storage process. BranchCache (and file servers with Server Messaging Block - SMB) supports both HTTP and HTTPS. It also works with many network security tools such as Secure Sockets Layer (SSL), SMB Signing and Internet Protocol Security (IPSec).

Configure BranchCache

BrachCache requires us to use Windows 7 workstations and Windows Server 2008 R2 servers.

We can use Group Policy settings or the netsh command-line tool to perform branchCache client configuration tasks, including:
  1. Enable BranchCache
  2. Choose one of two modes: Distributed Cache or Hosted Cache.
  3. If using Distributed Cache, we need to specify the size for the buffer storage area of ​​the workstations. BrachCache can use up to 5% of the hard drive space.
  4. If using Hosted Cache mode, we must specify the Hosted Cache location to store.
Configure Windows Server 2008 R2 server

BranchCache must be installed on a Windows Server 2008 R2 server. We will have to install BranchCache using Server Manager to be able to configure a Web server or an application server currently using the Background Intelligent Transfer Service (BITS) protocol.

In addition, we must install BranchCache for the Network Files tool, and then configure the server to use Group Policy to configure a file server to work with BranchCache. In order for the Windows Server 2008 R2 system to function as a BranchCache workstation, we must first install BranchCache and then follow the configuration steps for the workstation.

Install BranchCache

1. Go to Start | All Programs | Administrative Tools | Server Manager . In Server Manager , right-click the Features node and select Add Features .

2. Then the Add Features wizard will launch, select BranchCache and then click Next .

Use BranchCache in Windows 7 Picture 2

Figure 2: Installing BranchCache.

3. On the Confirm Installation Selections page, click Install .

4. On the Installation Results page, confirm that BranchCache has been successfully installed and click Close .





Configure the file server using BranchCache

BranchCache for the Network Files service of the File Services function server needs to be installed before we can enable BranchCache for all file shares. After we have finished installing BranchCache for the Network Files service, use Group Policy Management Console to enable BranchCace on this server. We can enable BranchCache for all shares on a file server or only selected shares.

BranchCache for Network Files is a service of the File Services function server. Use the Add Roles wizard of Server Manager to install Role File Services and BranchCache for the Network Files service.

Use BranchCache in Windows 7 Picture 3

Figure 3: Installing Role File Services and BranchCache for Network Files service.

Use Group Policy to configure BranchCache

To configure BranchCache with Group Policy we need to do the following:

1. Open the Group Policy Management Console . Go to Start | All Programs | Administrative Tools | Group Policy Management Console .

2. Select the domain in which we will apply the Group Policy object or select Local Computer Policy.

3. In the Actions menu, select New to create a new Group Policy object (GPO).

4. Select a name for this new GPO and click OK .

5. Right-click the newly created GPO and select Edit .

6. Go to Computer Configuration | Policies | Administrative Templates | Network , then choose Lanman Server .

7. Double-click Hash Publication for BranchCache . In the dialog box that appears, select the Enabled option. In the options area, select one of the Hash publication actions (the act of creating a hash) later:
  1. Allow hash publication for all file shares (Allow Hash Publication for all file shares).
  2. Allow hash publication for file shares tagged with 'BranchCache support (Allow Hash Publication for shared files with BranchCache support).
  3. Disallow hash publication on all file shares (Block Hash Publication on all file shares).
Use BranchCache in Windows 7 Picture 4

Figure 4: Configuring BranchCache with Group Policy.

Configure workstation

When the Windows Server 2008 server is configured, we must enable BranchCache on the client. By default, BranchCache is disabled on workstations. Perform the following actions:

1. Go to the Start menu | Computer Management .

2. When Computer Mnanagement window saw appears, in the left panel select the Services and Applications section .

3. In the right pane, double-click Services , then navigate to BranchCache , open the properties window of this service and change the startup mode to Automatic in the Startup type field. Then click OK and launch the BranchCache service.

Use BranchCache in Windows 7 Picture 5

Figure 5: Properties dialog of the BranchCache service.

Now that the BranchCache service is running, it will work with the host to transfer data to workstations quickly and efficiently.
4.2 ★ | 13 Vote

May be interested

  • 9 Windows 8.1 errors have not been resolved9 Windows 8.1 errors have not been resolved
    with the application of new functions such as boot straight into desktop, refreshing the app store and using multiple windows for modern applications, windows 8.1 feels like a new step compared to its predecessor windows 8. although however, there is a question: why doesn't microsoft call it windows 8.5 or windows 9? .
  • How to download Windows 10 Theme for Windows 7How to download Windows 10 Theme for Windows 7
    since the release of windows 10, many windows 7 and windows 8 users want to get the windows 10 interface in windows 7/8 by installing a visual style (theme). those looking for a good windows 10 theme for windows 7 will be happy to know that the windows 10 theme is available for windows 7.
  • Compare Windows 10 and Windows 11Compare Windows 10 and Windows 11
    windows 11 has officially launched. with it come some pretty big changes to the windows experience. whether it's brand new features or old functionality with a new look, windows 11 seems to have breathed new life into most people.
  • Windows operating system is 35 years old, everything you need to know about WindowsWindows operating system is 35 years old, everything you need to know about Windows
    35 years ago on 11/20/2085, the first version of windows operating system appeared to replace ms-dos, which completely changed the history of computer technology. it is an important pillar paving the way for the modern versions of windows that we are using today.
  • Instructions for upgrading Windows 7 to Windows 8 and Windows 8.1Instructions for upgrading Windows 7 to Windows 8 and Windows 8.1
    microsoft allows users running windows 7 and windows xp to upgrade directly to windows 8 or windows 8.1 without having to reinstall windows. in the article below, network administrator will guide you through the steps to upgrade from windows 7 to windows 8 and windows 8.1.
  • Use Windows XP Mode on Windows 8Use Windows XP Mode on Windows 8
    windows xp mode is no longer active in windows 8. and so is the future. explaining this, microsoft simply stated that it will no longer support windows xp and does not want users to continue using it, even in a virtual machine. however, you can easily set up windows xp mode in windows 8.
  • Instructions for using Snap feature on Windows 10 with shortcutInstructions for using Snap feature on Windows 10 with shortcut
    snap on windows 10 is completely different than on windows 7 and 8. with windows 10, you can flexibly move or resize open application windows throughout the screen position easily. based on new shortcut keys.
  • How does Windows 7, 8 not automatically upgrade to Windows 10?How does Windows 7, 8 not automatically upgrade to Windows 10?
    for windows 7 and windows 8 users, if windows 10 is eligible to upgrade windows 10 will receive a notification to upgrade windows 10 in the system tray. however, if you don't want to use windows 10, you can still block windows 7 and 8 upgrades to windows 10.
  • How to enter Windows XP mode from Windows 7 to Windows 10How to enter Windows XP mode from Windows 7 to Windows 10
    moving xp mode from windows 7 as a virtual machine to windows 10 is relatively difficult, because of the different drives and multiple files used. this tutorial will show you an easy workaround, the whole process takes less than 10 minutes.
  • Even if you're tired of Windows 10, don't downgrade to Windows 8.1Even if you're tired of Windows 10, don't downgrade to Windows 8.1
    how to geek, after trying to reinstall windows 8.1 and experiencing it for a few hours, advised users that it should not be back to windows 8.1. try to find out why so.