Set up a Shared Drive on a Utility Server

With Frame, you can set up a shared network folder on a Utility Server just like you would on your local network. This allows team members to use the Frame account to collaborate on a common set of files and data. We’ll outline the steps to set up a shared drive below.

Enable Anonymous File Sharing

By default, anonymous file sharing is disabled on Windows Server 2016. If you are using the Windows Server 2016 image on your Utility Server or Sandbox, you will need to complete the following steps first before setting up a shared folder. The changes below should be applied to

  1. Power on your Utility Server from your Dashboard or resume the session if your Utility Server is already running.
  2. Click on the Start Menu in the bottom right corner and type “local security policy.” Click on the first option listed.
../_images/anonfile1.png
  1. The Local Security Policy window will appear, navigate to Local Policies> Security Options. Change the following:

    1. Accounts: Guest Account Status: Enabled

      ../_images/anonfile1a.png
    2. Network access: Let Everyone permissions apply to anonymous users: Enabled

    3. Network access: Restrict anonymous access to Named Pipes and Shares: Disabled

    4. Network access: Do not allow anonymous enumeration of SAM accounts and shares: Disabled

Create a Shared Folder

  1. Access your Utility Server by navigating to Dashboard>Systems>Utility Servers and clicking “Power on” above your desired Utility Server. Once the session is started, open up “ServerManager.exe.” You can do this by simply typing “server” into the search bar on your start menu.
../_images/image9.png

Note

If you are using AWS as your IaaS provider, you can skip ahead to step 7. If you are using Microsoft Azure, you will need to complete all steps.

  1. When the Server Manager window appears, click “Manage” on the top toolbar and then click “Add Roles and Features.”
../_images/image37.png
  1. The “Add Roles and Features Wizard” will appear. Click next.
../_images/image31.png
  1. Leave the default selection under “Installation Type” and click Next.
../_images/image33.png
  1. Click Next.
../_images/image23.png
  1. Select the box next to “File and Storage Services” and Click Install.
../_images/image21.png
  1. Go to the Server Manager window and select “File and Storage Services”
../_images/image35.png
  1. Next, click on “Shares,” and select “New Share…” from the TASKS drop down menu on the right.
../_images/clickshares.png
  1. You’ll first be asked to select a share profile. “SMB Share - Quick” is fine. Click Next.
../_images/image40.png
  1. Next, you’ll be asked to set the share location. Navigate to the “Type a custom path:” option at the bottom of the dialog. Select “Browse…”
../_images/image14.png
  1. Navigate to and select the folder you wish to share.
../_images/image41.png
  1. Click next.
../_images/image42.png
  1. Give a share name and description. When you’re ready, click next.
../_images/image36.png
  1. Deselect all three checkboxes on the “Other settings” window. Click Next.

Encrypt data access

If your share will store data, you may wish to select “Encrypt data access.” Keep in mind, encryption can impact the speed at which you are able to access files from the share.

../_images/image26.png
  1. Click the “Customize permissions” button.
../_images/image34.png
  1. Click the Share tab and highlight the Permission entry for “Allow, Everyone.” Then, click Edit.
../_images/image39.png
  1. Check the box next to “Full Control” and click OK.
  2. On the next screen, click OK to go back to the Permissions page, and then click Next.
../_images/image2.png
  1. You will get a chance to confirm the details of your share – click “Create” if everything looks good.

    ../_images/image15.png
  2. Navigate to your newly created shared folder. Right-click on the folder and select “Properties.” Click on the “Sharing” tab and select “Advanced Sharing.”

    ../_images/advshare.png
  3. Click “Permissions” and check the “Allow” box next to the Full Control permission. Click “OK” on each window. Continue to the next section to map your shared folder.

    ../_images/advshare2.png

Map Your Shared Folder

  1. First, log in to your Utility Server and find the IP address (you will need to use the IP address to map the drive, as we cannot do this via hostname for security reasons). Load up command prompt and type:
ipconfig
  1. Hit Enter. Scroll until you find the line that says “IPv4 Address” and write down the IP listed next to it (pictured below).
../_images/image32.png
  1. Now that you have the information you need, you can log out of your Utility Server and into your Sandbox.
  2. Once in the Sandbox, open the command prompt. We are now going to use the “net use” command to mount the network share. The syntax is net use, then the drive letter you want to assign to your share, then \utilityIPaddress\pathtoyoursharedfolder then /persistent after reboot? yes.

So it should look like:

net use J: \\10.10.10.10\shared /p:y
  1. Hit Enter. The command prompt will inform you that the command has been completed successfully.
  2. To confirm, navigate to “My Computer” in your Sandbox and see if your mapped drive is present. If your drive was properly mapped, perform a publish to allow your production instances access to the newly mapped drive.