In Part 2 of my Work Folders series, I’ll discuss setting up Work Folders on the server. You'll learn how to install the server role how to setup Work Folders for end users, and how to configure your DNS server.

Installing the server role

Work Folders in Windows Server 2012 R2 is an installable server role just like DNS, IIS, or Hyper-V. To start, fire up the Server Manager. In Server Manager, click Add roles or features (if you’re on the server console) or Manage > Add roles and features (if you’re managing the server remotely).

Add roles and features in Server Manager

Add roles and features in Server Manager

Click Next to bypass the Before you Begin screen. On the Installation Type screen, leave the default role-based or feature-based installation option and click Next again. On the Server Selection screen, select the file server that will be hosting your Work Folders and click Next.

Select destination server

Select destination server

On the server roles screen, check Work Folders and then confirm the additional required features. Click Next and then click Next on the Features screen.

Add Work Folders roleWork Folders features

Add Work Folders role

Confirm the roles to be installed and click Install. Click Close when the install completes.

Confirm the roles

Confirm the roles

Or… you can save yourself a lot of clicking by installing Work Folders with PowerShell:

Install-WindowsFeature FS-SyncShareService

Configuring Work Folders

Now that we have Work Folders installed on the server, we can configure it for end users. Start the Server Manager and click File and Storage Services.

File and Storage Services

File and Storage Services

Click on Work Folders and then Tasks > New Sync Share.

New Sync Share

New Sync Share

Click Next to bypass the Before You Begin screen. Enter a path for a new share or select an existing user file share if there is already one on the server and click Next.

Enter a local path

Enter a local path

On the User Folder Structure screen, select the folder naming convention that you want Work Folders to use. Unless you have multiple domains and your file server hosts files for users in more than one domain, the “User alias” option should be sufficient.

If you have an existing share for users on your file server, you can specify a specific sub-folder (like Documents or My Documents) to be synced.

Specify the structure of user folders

Specify the structure of user folders

Specify a Sync Share Name and which groups of users should have access to the share. In my example, I’ve created a group just for users that should receive access, but you can always use existing groups depending on how you want to provision access.

Note that the Disable inherited permissions and grant users exclusive access to their files is much like the same option in Folder Redirection. Use it at your own risk since this will prevent Administrators from accessing the files without modifying the permissions of the files first.

Grant sync access to groups

Grant sync access to groups

Last, set whether the files on the client system should be encrypted and whether the device should be automatically locked with a password required.

The Automatically lock screen, and require a password option will require that the device lock after 15 minutes and have a password with at least 6 characters.

Specify device policies

Specify device policies

Confirm your options and your Work Folders are almost ready to use!

Confirm your options

Confirm your options

Or, here’s the PowerShell shortcut for setting up a Work Folders share:

New-SyncShare –Path C:\Shares\WorkFolders –User DOMAIN\GROUP –RequireEncryption $true –RequirePasswordAutoLock $true

DNS configuration

The Work Folders client uses a user’s email address to determine the name of the Work Folders server. It would be really nice if it determined the server name by performing a DNS query; unfortunately, that isn’t exactly how it works.

The Work Folders set up Wizard uses the domain specified in the email address and adds “workfolders” to the beginning. For example, if your email address is username@4sysops.com, then the set up Wizard will try to connect to https://workfolders.4sysops.com. If your email address is username@na.4sysops.com, then it will try to connect to https://workfolders.na.4sysops.com. So, keep that in mind since many organizations use a sub-domain instead of the root domain for their Active Directory environments.

If you’re using Windows DNS, you can add the record on your DNS server by using the following PowerShell command:

Add-DnsServerResourceRecordCName –Name “WorkFolders” –HostNameAlias “file1.atl.trekker.net” –ZoneName “trekker.net”

At this point, Work Folders is configured and almost ready for users to connect. In our next part, I’ll cover setting up the SSL certificate so user-owned devices can connect to the Work Folders server.

Articles in seriesWork Folders
19 Comments
  1. Siva kumar (Rank ) 9 years ago

    ok, If I deleted a file at home then I return to office and connect to our network. What cause? Whether is file synching from server to my system?

  2. Siva kumar (Rank ) 9 years ago

    I will create a DNS record for Work Folders. How workfolder server recognize that particular url created for it’s usage only. Because We already created many URL in DNS server for various purpose. We did not mentioned the URL link during the work folder installation in server.How work-folder server sync with that particular URL?.

  3. Siva kumar (Rank ) 9 years ago

    Could you explain me about network traffic in case of I am configured Work Folders in our company?

    • Kyle Beckman (Rank 2) 9 years ago

      This is the only thing from a Microsoft site I’ve seen on Work Folders performance. There are too many variables (how many users you have, what type of files users will be syncing, sizes of Work Folders being synced, etc.) for me to estimate what your network traffic will look like.

  4. Danny 8 years ago

    I went through your article which was pretty easy to follow, but, it seems I am missing something here. I also created a A record at my host to point to my site, but, for some reason I keep receiving the following error “There was a problem finding your Work Folders server” Unspecified error – 0x80000040005

    I assume this is a DNS issue either with my external host or internal DNS.

    Have any idea’s for me?

    • Kyle Beckman (Rank 2) 8 years ago

      From the client, I would try pinging workfolders.yourdomain.ext from the client both on your corporate LAN and off to see if the name is resolving. If the name resolves, DNS isn’t necessarily your problem. You can also try manually specifying the server name (instructions in Part 4). I would try both the workfolders.domain.ext DNS and the actual server name to rule out name resolution. If you’re still getting the error, you’ve got other issues.

  5. Danny 8 years ago

    Thanks Kyle – I am able to ping via workfolders.server.local, but, not through workfolders.server.com. I already had a split DNS setup and I did create the A record for the .com zone. I will trouble shoot that one.

    I also noticed when I used myemail@server.local I would get the SSL error about incorrect hostnames. Which is correct because the public cert I used is only for server.com

    So, I suppose let me trouble shoot my external resolving issue and I should be good to go. Thanks for the advice.

  6. Danny 8 years ago

    I was able to get everything working finally – My final error was a 80004005 error which ended up being a sharing and security error. While this feature is nice, I was thinking this was more of a sync of my entire DFS share for offline access, which would kind of be large on my local laptop. I can see this would take some planning with groups, shares and setup your server initially with the intent that you are going to use Work Folders. Which this may be a huge under taking for some companies. Kind of makes me think, “Well, VPN still works”. Of course is VPN truly secure anymore – haha

    Thanks again and I hope everyone has a awesome new year – 2015

    • Kyle Beckman (Rank 2) 8 years ago

      Syncing of group shares isn’t currently supported in Work Folders; though, it is supposedly on the road map. Work Folders is intended as an on-premises Dropbox-like service for users to sync a folder of their user files to their devices.

  7. Ben Harding 8 years ago

    Since some of our users have upgraded to Windows 10 you can’t use the encryption policies set by the Work Folders server. These policies work fine in Windows 8.1

    Any ideas?

  8. jun 8 years ago

    Hi, i followed your instruction but I got an error “The WS-Management service cannot process the request. The service cannot find the resource identified by the resource URI and selectors.”

    Please help.

    Thanks.

  9. jun 8 years ago

    Hi Kyle,

    Work Folders didn’t install successfully due to that error. What do you think is the problem? Thanks

    • Author
      Kyle Beckman (Rank 2) 8 years ago

      If it didn’t install at all, sounds like some other configuration issue on the server. If you’re applying any Group Policy to the server, you may need to remove it to see if it resolves the issue. You may also need to remove any third-party software… especially third-party firewalls. I would also check the Event Log to see if there’s anything that could point you in the right direction.

  10. jun 8 years ago

    Hi again,

    I find problem in the firewall used (Pfsense). It’s hard for me to erase it and setu-up everything again. Installed is a Remote Desktop Services for company’s system.

    May I know if there is a way to connect to my shared network folder via RemoteApp Services using browser? In publish RDS, only applications you can ADD are executable programs.. I want to add my network shared folder so that users can add, copy and select files they want to use just like in their local computer regardless of connection and location. Thanks.

  11. Mann 8 years ago

    I have been facing the installation errors but i have realized that my exchange is using the same ports 80 and 433, i changed the port to 11180 and 11433 and the server side is running fine except that from the client side i am getting an error Access is denied 0x80070005 how can i get rid of this

    • Author
      Kyle Beckman (Rank 2) 8 years ago

      Work Folders needs to be running on a file server or dedicated server that is just running Work Folders. As long as you’re running it on the same server as Exchange, I don’t think you’re in a supported configuration. The fact that the ports had to be changed should be an indication that you’re going to have other issues. If I had to guess, the client is having problems finding the sync share. In the age of virtualization, there’s really no reason to put multiple services on one box any more unless they are running inside of a VM or container. Stand up a VM and run Work Folders there. You’ll save yourself a lot of headaches.

  12. Mann 8 years ago

    Great! it worked perfectly on a VM.

    thanks Kyle

Leave a reply to Kyle Beckman (Rank 2) Click here to cancel the reply

Please enclose code in pre tags

Your email address will not be published.

*

© 4sysops 2006 - 2023

CONTACT US

Please ask IT administration questions in the forums. Any other messages are welcome.

Sending

Log in with your credentials

or    

Forgot your details?

Create Account