Map Sharepoint Document Library As Network Drive

Disclaimer: This is not an ideal method of using SharePoint online. Using SharePoint may be a big change, and even shocking to some people who have been using a network file share for a long time, I would advised that you should really use SharePoint through its intended mediums so you can get the most out of all of its features. Using SharePoint as a “Mapped drive File Share” has many limitations and a less than stellar user experience. Some of these unsupported items / limitations are:

  1. Sharepoint Document Library Template
  2. Map Sharepoint Online Document Library As Network Drive
  1. Document versioning is not supported.
  2. More than 5000 items in any given folder is not supported.
  3. Limited SharePoint Search.
  4. Deep folder hierarchy is not supported due to URL length limits.
  5. Metadata is not supported.
    As nostalgic as having a “S Drive” in your windows explorer may be, if you are someone who was using a computer since before 2015 and you are now using Windows 10, you can use SharePoint without mapping it as a Drive. It might be a little more slow going at first, but I promise, you will gain multiple times more productivity than you had with your trusty ole “S drive” when you start to use SharePoint as SharePoint and not a “File Share.”

The library will be opened in Windows Explorer, copy the address which can be found in the address bar. Go to this address in Internet Explorer. Check if you are logged in automatically. If not, check the KMSI checkbox. Right-click “This PC” in Windows Explorer and then choose “Map network drive”. Companies purchase Office 365 subscription, create a single site in SharePoint with a single document library, migrate their whole file share into that single library, map it as a network drive and call the project complete.

Many of the companies we talk to are migrating their documentation from existing network drives into SharePoint. So what often happens is the IT provider or internal resource will transfer their documentation from the network drive into a single document library or sub sites which are then mapped as a network drive. Sep 04, 2019 Here is the Microsoft article on troubleshooting issues with mapping network drive: Troubleshoot mapped network drives that connect to SharePoint Online. PowerShell to map a network drive in SharePoint Online. To Map a SharePoint Online Document library to a network drive using PowerShell.

Introduction

If you are still reading, you probably have that one user who just wants to collaborate like the last 20 years. Or maybe you are that user. If so, here you go!
****IMPORTANT**** One of the most important things to note is that in order to use a mapped drive, any steps that require a browser MUST be done in Internet Explorer. Explorer view and mapped SharePoint drives ARE not supported in ANY other browser.

************** SECURITY WARNING ************
DO NOT, for any reason, under any circumstances, map a network drive on a public PC, or a PC that you are sharing with someone who wouldn’t otherwise have access to your SharePoint documents. You are caching your login credentials and leaving the browser logged in.

Prepare the PC

Drive

Before you can actually map the drive, there are some setting that you need to change on your PC to be able to map a drive to SharePoint online.

IE Trusted Sites

First, we need to make sure that the SharePoint Online and a few other Microsoft URL’s have been added to your Trusted sites zone in Internet Explorer and that the Trusted Sites zone is set to the lowest level. To do this, follow these steps:

  • Open Internet Explorer.
  • Click the settings gear icon, and then click Internet options.
  • On the Internet Options dialog box
  • Click the General tab (if it didn’t open to it for some reason)
  • Make sure that the “Delete browsing history on exit” check box is UNCHECKED. (click Apply) if you made a change
  • Click the Settings box in the Browsing History section
  • In the dialog box that pops up click the History tab
  • Make sure that the “Days to keep pages in history” is set to at least 20 and then click OK to return to the Internet Settings.
  • Click the Security tab
  • Click the Trusted sites icon, and then click the Sites option.
  • Uncheck the box “require server verification for (https: ) for all sites in this zone.
  • In the “Add this website to the zone” box, type *.sharepoint.com
  • Click the Add button.
  • Now do the same above step for each of the following items, replacing *.sharepoint.com with the item in the list.

*.live.com
*.microsoft.com
*.microsoftonline.com
*.office.com
*.office365.com
*.sharepoint.com
*.windows.net

  • After you have added each site to the Websites list, click Close.
  • Back on the main page, make sure the slider for “Security Level for this zone”, is set to LOW, and the checkbox for “Enable Protected Mode” is unchecked
  • Click Apply
  • Click the “Connections” tab
  • Click the Settings Option
  • If you see the “Use automatic configuration script” or “Use a proxy server…” check-boxes checked, STOP and talk with someone who is familiar with your network setup, making any settings changes with these configured will likely break something and render you unable to browse the internet.
  • Make sure that the “Automatically detect settings” box is UNCHECKED and then click OK.
  • Click OK again to exit the internet settings page
  • Close out of all Internet Explorer windows

Configure the WebClient Service

  • Press the Windows Key + R on your keyboard (Win+R) to bring up the RUN dialog box.
  • If there is anything in the RUN dialog go ahead and delete it, then type in services.msc and click OK.
  • In the list of services, locate the service named WebClient
  • Double click on the name WebClient to open the settings box
  • Make sure the dropdown next to “Startup Type” says “Automatic”
  • Click Apply if you made a change.
  • Make sure the the Service Status says “Running” If it does not, click the start button a wait a moment until it says running
  • Click OK to close the settings dialog box and you can also close out the services window.

Drive Mapping

Congratulations, you have made it this far. Time to ACTUALLY map the network drive to SharePoint online!!!!!!!!

Drive
  • Using Internet Explorer, login to your SharePoint site. Do not go on auto-pilot here and just start clicking, there is an important small step during the login process we must take.
  • While logging in, you will be presented with the following screen asking if you would like to Stay Signed in.. Click YES on this screen. It is advised NOT to click the “Don’t show this again” option.
  • In windows file explorer, find the icon that says “This PC” and right click on it and choose the “Map Network Drive” option.
  • In the drop-down for “Drive”, choose what drive letter you would like to use for this drive.
  • In the “Folder” box, you will want to input the SharePoint address to the document library that you want to map.
    • You can get this from your Internet Explorer address bar. It is the entire address before the first “/Forms/Allitems.aspx” part EXACTLY as it is displayed .
    • In the below example I have navigated with Internet Explorer to the “Accounting” document library inside of the Accounting Team SharePoint site.
      • If I wanted to map a drive to this folder, I would type “https://contoso.sharepoint.com/teams/Accounting%20Services/Client%20Documents” into the folder box. Well I would copy (Ctrl+C) and paste (Ctrl+V) it, but you can practice your typing skills if you would like to.
  • If you would like to map a drive to the Root of the SharePoint structure so you can see all your document libraries when you open the mapped drive, instead of mapping them individually, you would enter in “[email protected]DavWWWRoot” instead of the above URL to the document library. Replace contoso with your .SharePoint.com site.
  • Make sure that BOTH the “Reconnect at sign-in” and “Connect using different credentials” options are checked and click Finish.
  • When prompted to enter in your username and password, enter in your username and password that you use to login to the Office 365 portal, and check the box to remember your credentials before clicking OK.
  • Cross your fingers and if all goes well you should now have your mapped drive in your Windows File Explorer. If not, go through the first steps again.

Keep Mapped after Logoff / Reboot

You didn’t think you were going to get away that easy, did you? Anytime you log off your PC and then log back on (not lock and unlock), or reboot your PC you need to make sure that you open up Internet Explorer, navigate to your SharePoint site, and make sure that you are logged in so that your system re-authenticates your PC to SharePoint BEFORE you try clicking on the mapped drive or using it in any way. After you are logged into SharePoint you can close out Internet Explorer and start using the drive. If you don’t do this, your drive won’t work. Yes, even if you open Internet Explorer and you are already signed in, you still MUST navigate to this site so that the authentication token that is stored on your PC is updated.

YES, I’m for real. NO I’m not kidding.
Now before you panic TOO much, there is an easy way to do this so you don’t have to think about it too much by making it so Internet Explorer automatically starts and goes to your SharePoint address. To do this:

  • Press the Windows Key + R on your keyboard (Win+R) to bring up the RUN dialog box.
  • If there is anything in the RUN dialog go ahead and delete it, then type in shell:startup and click OK.
Map Sharepoint Document Library As Network Drive
  • This will bring up a new file explorer window that is your users startup folder (shortcuts that will run when you login).
  • Right click in an empty space in the folder and go to NEW>Shortcut.
  • In the location of the item box, enter in the following based on if you have a 32 bit or 64 bit version of Windows 10 INCLUDING the quote marks (“) you see. If you aren’t sure, you probably have the 64 bit version. I suggest you copy and paste the below code and just change the “contoso” part of the URL to yours. It is all on a single line with only a single space after the last and before the https://
  • Click Next and give the shortcut a name, it doesn’t matter what, but I usually put SharePoint.
  • Click Finish.

Now when you first login to your PC, Internet Explorer will launch and navigate to your SharePoint site. All you need to do is make sure that you don’t need to sign in to see your SharePoint site in the browser and then you can close Internet Explorer and use your Firef…. errr I mean Microsoft Edge browser for everything else in your day.

Troubleshooting / Password Changes

Yes, the drive map WILL break at some point, and you will change your password to login to Office 365 (hopefully). Here are some steps to follow…

Changed Password

When you change your password, you will need to update your mapped drive to reflect this. To do this:

  • Locate your mapped drive in the Windows File Explorer
  • Right click and choose the disconnect option
  • Reboot your PC
  • Follow the steps outlined under “Drive Mapping” above to re-map your drive with your new password.

IT’S BROKEN!!!!!!!

You clicked on the mapped drive so you could get to a file and WHAM!!!!! Error message. Some common ones are:

  • Path is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.
  • Access Denied. Before opening files in this location, you must first add the web site to your trusted site list, browse to the web site, and select the option to login automatically’

Mapped drives will generally break anytime there is an important deadline you are trying to meet, right before an important meeting that you need to get a document for, or on a Friday at 4:45pm when you are trying to get out of the office. If this happens there are a few steps to take. This may not always work and you may need to call in an expert like us at LogicCloud IT; but 60% of the time it works every time…

Troubleshooting Stage 1

  1. Reboot your PC. NO, shutting down and then powering back on IS NOT the same thing as rebooting in Windows 10 land unless you have made some specific settings changes to modify the defaults. Click the start menu, click the power icon and choose REBOOT.
  2. After the reboot, before you touch anything, open Internet Explorer (if you don’t have it set to automatically open) and make sure you can navigate around inside your SharePoint online site without any errors.
  3. Open the Windows File Explorer and try accessing your Mapped Drive. If it has a red X on it that is totally meaningless when it comes to SharePoint mapped drives. The only way to know if it is actually working is to try to open the drive. Red X or not.

Troubleshooting Stage 2

If stage 1 didn’t fix the issue, all hope isn’t lost… yet…

  1. Open Internet Explorer and navigate to your SharePoint site.
  2. In the top right hand corner click on the icon with your initials (or photo if you put one) and choose the option to sign out.
  3. Close Internet Explorer.
  4. Go back above to the “Prepare the PC” section of this document and make sure that all the settings are correct.
  5. REBOOT your PC.
  6. Open internet explorer (if it didn’t open automatically) and log in, making sure you say YES to the keeping you signed in option.

An occasional Microsoft windows update or even a third party plugin may have changed a setting. You may have also sneezed to closely to your PC… Windows doesn’t like that. Bad operator, you have made the hamster running the PC mad.

Troubleshooting Stage 3

If the above two troubleshooting stages didn’t work, we have reached DEFCON 3 and your boss is probably breathing down your neck. Try the following:

  1. Locate your mapped drive in the Windows File Explorer
  2. Right click and choose the disconnect option
  3. Reboot your PC
  4. Follow the steps outlined under “Drive Mapping” above to re-map your drive.

Troubleshooting Stage 4

Still not working??? Okay, Houston, we’ve had a problem here”

We’ve reached DEFCON 4

Time to call in the experts. Contact Us and we can assist you in figuring out what is wrong.

Microsoft SharePoint is a content collaboration platform used by over 200,000 organizations across the globe. SharePoint facilitates organizations to work remotely. SharePoint contains a set of multipurpose technologies that are part of the Office 365 subscription. SharePoint provides for smooth communication of critical information within an organization and allows the employees to work remotely.

Product Spotlight:Use Clone Files Checker to remove duplicate files from PC, Network Drives, and External Drives. CFC follows Google Software Principles. Download Today.

SharePoint is available in two versions. Depending on your organization’s usage and requirements, you can choose one of the following versions:

SharePoint Server: SharePoint Server is installed on your organization’s local server. As a local server, your organization requires you to deploy sufficient capital to set up and operate on-premise server computers, sufficient workforce to upgrade or repair servers as and when needed. Besides server setup and maintenance, your organization also needs to invest in data security. When you set up a SharePoint Server, Microsoft creates a snapshot of all the features available in the cloud-based SharePoint Online version.

SharePoint Online: In contrast to SharePoint Server, this is a simple Web-based SharePoint version hosted on Microsoft’s data centres. Typically, it comes with a Microsoft Office 365 subscription. However, you can also purchase it as a standalone product.

SharePoint Features

SharePoint offers features to work in teams from any corner of the world. Here are some of the distinct features:

  • Manage company websites and administer domains
  • Send newsletters to subscribers and keep them updated about new offers and plans
  • Business intelligence
  • Workflow management
  • Administer financial records & books of accounts
  • Create marketing and promotional materials
  • Gather information, manage request for client quotations
  • Build apps
  • Document sharing between teams within an organization
  • Some of the tasks required for the day-to-day functioning of the organization

Map SharePoint as a Network Drive

Mapping SharePoint as a network drive is very easy. You can do that straight from File Explorer.

Before you map SharePoint as a network drive, you’ll need to first add your SharePoint Library as a trusted site. If you skip this step, you might encounter errors, warning messages or face other problems while accessing your SharePoint account. Remember, you can perform this procedure only using Internet Explorer.

Step 1: Add your SharePoint Library as a Trusted Site

  1. Open up Internet Explorer.
  2. Visit http://portal.office.com.
  3. Sign in to your Microsoft account and be sure to save the credentials.
  4. Open your SharePoint library.
  5. Click the Settings icon on the upper right corner and select Internet Options.
  6. In the new dialog that opens up, click on the Security tab.
  7. Click on Trusted Sites, followed by Sites.
  8. Enter the root domain to your SharePoint library. For example: https://YourLibraryName.sharepoint.com.
  9. Click on Add to Confirm.

Important: You must add the root domain to your cloud library and not the links to subpages. If you enter individual page URLs, you will need to add every page in your library to the Trusted Sites list.

Step 2: Map SharePoint as a Network Drive

  1. Double-click This PC icon on your Desktop.
  2. Right-click the Network icon on the left-hand side panel.
  3. Select Map Network Drive.
  4. Select your desired drive letter for the new network drive.
  5. Type in the folder address to your SharePoint library.
  6. Make sure to check the Connect using different credentials.
  7. Click on Finish to proceed.

Finding Duplicate Documents in your SharePoint Library

Once you map SharePoint, it’s important to regularly scan it for duplicates. Duplicate files are junk files that contain identical content. These files take up a precious amount of storage and cause several issues including insufficient storage. As a result, you will be forced to expand your cloud storage quota by upgrading your existing plan. It is a good practice to regularly scan and eliminate any duplicate files found.

Sharepoint Document Library Template

In order to find duplicate documents you will need specialized software. CloneFiles Checker is a specialized software that scans the content of your documents and identifies duplicate files. Thanks to the developers, smart algorithms ensure the scan provides 100% accurate results with fast performance. Once your scan is completed, Clone Files Checker will display a list of all duplicate files and allow you to mark or unmark them. You can either do so manually or automatically using the in-house functionality. After selecting the files, you can choose to either move the duplicate files to a separate folder or delete them permanently.

Clone Files Checker Features

Map Sharepoint Online Document Library As Network Drive

  • Optional file size filters allow you to limit the scan to fewer files. For instance: You can use the optional file size filters to scan only those files that are between 2 MB to 20 MB in size. On the down side, it will free up only limited storage.
  • Clone Files Checker allows users to use the file type filters to define which file types are to be scanned and which are to be excluded. You can either select all file types, or individual file types such as documents, images, music, videos and archives.
  • Clone Files Checker secures your files by backing them up before deleting them. Thus, you can restore them at any time if you ever need them. Remember to activate this feature from the program settings.
  • You can view a comprehensive scan history in the History section with a catalog of the total number of scanned files, deleted files, scan date-time, etc.
  • CFC also has a Quick-Fix option to quickly clean up your storage without requiring you to review any files. It saves a lot of time.

Steps

  1. Download and install Clone Files Checker.
  2. Double-click This PC.
  3. Open your SharePoint network drive.
  4. Right-click the folder you want to scan for duplicate files.
  5. Choose the Scan with Clone Files Checker option.
  6. CFC will launch and auto add your selected folder.
  7. Select one of the options from All files or Custom.
  8. Start the scan and wait.
  9. Once the scan is finished, select Review and Fix.
  10. Go to the list of duplicate files and mark those you want to delete or move.
  11. Finally, click on Select Action and choose Delete or Move to folder.

Comments are closed.