Exercise - Configure File Sync tools on Windows Server

Completed

After you deploy the Azure resources, you need to register your on-premises Windows file server with the sync group. Then connect to your Windows Server computer and install the Azure File Sync agent. After your server is registered, add it as a server endpoint in your Azure subscription.

In this exercise, change the security setting so it allows you to download the Azure File Sync agent. You then install and run the agent to register the server with the Azure sync group.

The following video shows you how set up your on-premises server to work with Azure File Sync. Complete the steps in this exercise to continue following along in your Azure subscription.

Disable IE Enhanced Security Configuration

  1. If you closed your Remote Desktop connection, follow these steps to connect to the virtual machine (VM):

    1. Sign in to the Azure portal.
    2. Go to Virtual machines > FileServerLocal.
    3. Select Connect and then select Native RDP.
    4. Select Download RDP File, and then open the RDP file.
    5. In the Windows Security window, select More choices > Use a different account.
    6. Enter the username learnadmin and the password you used when you created the VM.
  2. In your Remote Desktop connection, on the toolbar, select Server Manager > Local Server.

  3. In the Properties pane, under IE Enhanced Security Configuration, select On.

    Screenshot that shows the On button for IE Enhanced Security Configuration.

  4. Select Off for Administrators and Users, and then select OK.

Install Azure File Sync agent

  1. From the toolbar in the VM, open Internet Explorer.

  2. Go to https://www.microsoft.com/edge and select Accept and download.

  3. Select Run. Wait for Microsoft Edge to install.

  4. Select Start without your data and then Continue without this data.

  5. Select Confirm and continue and then Confirm and start browsing.

  6. Open the Microsoft Download Center page for Azure File Sync by going to https://go.microsoft.com/fwlink/?linkid=858257.

  7. Select Download.

  8. Select StorageSyncAgent_WS2019.msi, then select Download.

  9. When the download is complete, run the installer.

  10. Go through the Storage Sync Agent Setup Wizard and accept the defaults to install the Storage Sync Agent and complete setup.

  11. The agent automatically runs and shows the Azure File Sync - Agent Update window. Complete any updates that are necessary.

Register Windows Server

  1. On Azure File Sync - Server Registration, select Sign in. If the server registration process doesn't start automatically, open the app from C:\Program Files\Azure\StorageSyncAgent\ServerRegistration.exe.

  2. Sign in by using your Azure credentials.

  3. Enter the following values for each setting.

    Setting Value
    Azure Subscription Subscription where you created the Azure File Sync resources
    Resource Group learn-file-sync-rg
    Storage Sync Service CADSyncService
  4. Select Register.

  5. You should see that the registration is successful. Select Close to close the window.

    Screenshot of the registration successful page.

  6. Leave your Remote Desktop connection open for the next exercise.

Add the server endpoint

  1. On your local computer, sign in to the Azure portal.

  2. Go to the CADFiles sync group you created earlier by going to Storage Sync Services > CADSyncService > Sync groups > CADFiles. Your CADFiles pane for your Sync group appears.

  3. Select + Add server endpoint.

  4. Enter the following values for each setting.

    Setting Value
    Registered Server FileServerLocal
    Path D:\CADFolder

    Screenshot of the Add server endpoint window.

  5. For Cloud Tiering, select Enabled.

  6. Accept the defaults for the rest of the values.

  7. Select Create.

  8. When the endpoint is created, the file sync process begins. This process might take a few minutes.

    Screenshot that shows the status of the endpoint.