Create a test share and add sample content

Applies To: Windows 7, Windows Server 2008 R2

You can use this topic to create and share a folder on Content-01, and then add content to the folder that will be used during BranchCache testing for this guide.

To perform these procedures, you must be logged on to Content-01 as Administrator.

To create a test share

  1. On Content-01, click Start, and then click Computer. Windows Explorer opens in a view that displays hard disk drives and devices.

  2. In Windows Explorer, in Hard Disk Drives, double-click Local Disk (C:). Windows Explorer displays the local disk drive.

  3. In Windows Explorer, click New folder. A new folder is created in the right pane with the editable default name New folder. Replace the default name by typing Test_share, and then press ENTER. Windows Explorer creates the folder with the name you provided.

  4. Right-click the folder Test_share, click Share with, and then click Specific people.

  5. The File Sharing dialog box opens. In File Sharing, click Administrator to ensure that the Administrator account has Read and Write permissions for the share.

  6. Click Share. The Network discovery and file sharing dialog box opens.

  7. In the Network discovery and file sharing dialog box, click Yes, turn on network discovery and file sharing for all public networks.

  8. In File Sharing, you are notified that your folder is shared, and Individual items displays the folder \\Content-01\Test_share.

  9. In File Sharing, click Done. This returns you to Windows Explorer. Do not close the window, as it is used in the next procedure.

In the next procedure, you will add sample content to the share by copying one file (ole32.dll) from the Windows\System32 folder on the local computer to the Test_share folder that you just created. In a production environment your shares will contain the content that your organization employees need, however in the test lab all that is needed to demonstrate BranchCache is one file that is over 64k in size. In this circumstance, the ole32.dll file serves the test lab purposes well, because it is larger than this minimum size requirement. For this test lab, this file serves solely as example shared content.

Add content to the share

  1. In Windows Explorer, double-click Windows. The Windows folder opens. Scroll down to and double-click the folder System32.

  2. In the Windows\System32 folder, scroll down to the file ole32.dll, right-click the file, and then click Copy.

  3. In Windows Explorer, click the Back arrow twice to return to local disk C, and then double-click Test_share. The Test_share folder opens.

  4. In Test_share, right-click the right pane, and then click Paste. The ole32.dll file is copied into the Test_share folder and can now be used during the test lab as example file share content.