Tag Archives: mklink

Add Network Shares to Windows 10 library

The Scenario

I have a Windows library on my domain-joined Windows 10 client created for Sales related folders – the library is called Sales. Currently I have added a few local directories on my C drive to it, but now I want to add a network share \\fileserver1\sales

The Problem

Natively you cannot add network shares to Libraries, ONLY local directories.

The Solution

You use the MKLINK command to create a symbolic link to an empty local folder that is already added to the Library

  1. Create a local, empty folder with the name you want to view in the library pane, like Sales. i.e. C:\Sales
  2. Add this local folder to your Sales library
  3. Delete C:\Sales – You’ll notice the link is not removed from the library itself
  4. Open an elevated command prompt and create a symbolic link between the network share and the now-deleted local C:\Sales directory: mklink /D C:\Sales \\fileserver1\sales
  5. Return to the Library pane and expand the Sales library, all the content from \\fileserver1\sales will now be visible.

 

Disclaimer: provided “AS IS” with no warranties and confer no rights