If your company has at least two sites, with the file server over at a remote site, have you ever thought about how to ensure users have access to their files in the shortest amount of time? If you are a seasoned IT administrator, you might be considering a brand new file server with distributed […]
If your company has at least two sites, with the file server over at a remote site, have you ever thought about how to ensure users have access to their files in the shortest amount of time? If you are a seasoned IT administrator, you might be considering a brand new file server with distributed file server technologies (Distributed File Systems or DFS). But is there any better solution out there? BranchCache, available through Windows Server 2008 R2, is one possible answer.
With tight integration between its latest server and client software, Microsoft has made new enterprise-class features possible. This week, starting with BranchCache, I’ll start off a series that introduces four features that can increase your company’s business efficiency by using Windows Server 2008 R2 and Windows 7.
BranchCache allows remote files to be cached on the local network, either on a Windows Server 2008 R2 server or Windows 7 clients. This allows faster access to files that have been accessed by users from the same location. It’s a simple trick that can save lots of bandwidth, as this scenario demonstrates:
When a user (let’s call him “Nick”) wants to retrieve a file which is not available on the local file server/network, Nick’s PC will need to download the file from the remote server through the WAN. Depending on file size and network connectivity, the download could take a few minutes or a few hours.
An extension to the above scenario: Let’s assume that Nick and his colleagues will need to open the same file every morning. Without BranchCache, Nick and his colleagues’ computers will download the same file individually, slowing WAN connectivity for everybody.
With BranchCache, once the file has been downloaded the local network’s server or Nick’s Windows 7 computer will cache it. For subsequent users who attempt to open the file from the remote server, their Windows 7 computers will automatically fetch the copy from the local network’s server or Nick’s Windows 7 computer.
BranchCache works in two modes: Hosted Cache, and Distributed Cache.
Similar to having file servers in the branch office, Hosted Cache allows files to be cached in any servers, as long as the servers are running Windows Server 2008 R2 configured with BranchCache. These servers do not necessary need to have File Services role installed for BranchCache to work. The servers at the branch office could be a web server, or a Read-Only Domain Controller for BranchCache to work. This will tremendously lower the cost when setting up small branches, as a dedicated file server is no longer needed.
Distributed Cache allows Windows client computers to cache the files which have been downloaded from the remote server, and allowing other local users to download from the Windows client computers cached files.
Distributed Cache mode relies on Windows 7 computers in the branch office to work. To use Distributed Cache mode, all participating computers in the branch must use either Windows 7 Enterprise or Ultimate (No, Windows 7 Professional will not work).
Microsoft recommends you use Distributed Cache only if your branch office has less than 50 Windows 7 client computers. Due to the architecture of Distributed Cache, the network will not be as efficient if more than 50 Windows 7 client computers are in use at the same time.
Without getting too detailed, here’s a quick overview of how to set up BranchCache:
For BranchCache to work, we need the following: two office locations or sites and at least 1 Windows Server 2008 R2 at each site.
The server at the main site could have a file server or an application server installed, either of which can have the files or data to be shared to remote users. Application servers include Web (IIS), Windows Server Update Services, or System Center Configuration Manager branch distribution site system servers.
The steps to setup the server at the main site are fairly simple:
Figure 1: Enabling BranchCache in Group Policy.
Figure 2: Enabling BranchCache for share folder.
On both file server and application server:
Figure 3: Installing BranchCache.
As explained earlier, we have Hosted Cache and Distributed Cache mode. Though we’ll provide a brief list of setup steps here, you should definitely follow the links in the Additional Resources list, below, for more detailed instructions.
Figure 4: BranchCache settings in Group Policy.
BranchCache will help organizations with multi-site setups, whether they have just a few or millions of files to be shared across sites. By lowering the WAN usage, users will be able to use the Internet connectivity without slowdowns, which will also translate to high user work productivity.
Have you deployed BranchCache? How has it worked out for you? Drop me a comment on the good or the ugly of BranchCache.
Enterprise Networking Planet aims to educate and assist IT administrators in building strong network infrastructures for their enterprise companies. Enterprise Networking Planet contributors write about relevant and useful topics on the cutting edge of enterprise networking based on years of personal experience in the field.
Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved
Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.