Map OneDrive for Business as a Network Drive
You might wonder why is even there a need to map OneDrive as a network drive when you can sync it instead. There are a lot of scenarios where synchronization cannot do any good. For a multi-user environment, a user may have to sync and re-sync the folders again to obtain the latest file. Whereas in a mapping scenario, you are accessing the file directly from its server. For sure, a mapped drive requires a more stable internet connection, but it is definitely worth it. Although OneDrive for Business client is available to download, it will only sync your files. But you might want to map it as a network drive. So, check out this wonderful PowerShell script written by Jos Lieben.
OneDriveMapper PowerShell Script
OneDriveMapper is available as a PowerShell script that can automate the entire process of mapping OneDrive for Business as a network drive. The script has evolved over the versions and acquired a lot of useful features. To get started, you need to follow the Developer’s instructions to change a few values in the script. Once you’ve modified your entries, you can run the script to map your OneDrive for Business as a network drive. The script can run at login on or demand and connect seamlessly without any user interaction at all. Also, you need to enter your password only once, and you will be automatically logged in every time. While you can customize the drive letter, the drive label is also customizable. There are a lot of other useful features available. Features:
Detects changed usernames/URL’s automaticallyCan map drives inside Azure RemoteAppsCan redirect My Documents to Onedrive for BusinessSSO for MDM Intune AzureAD W10 devicesNo Sync, online WebDav connectionConnects seamlessly without user interactionPrompts for user password if no ADFS usedRuns at login or on-demandMaps your OneDrive for Business to a local drive letterOn-Demand Provisioning of the OneDrive MySiteDetailed and configurable loggingAlso maps Sharepoint Document libraries directlyCan also map based on security groupsAutomatically disables and re-enables Protected Mode in IESets a customizable label for the Network drivesCan use custom library namesCan also run on non-domain joined machines or Workplace-joined machinesCan be deployed as logon script through IntuneCan easily run from a shortcut as well.
The main question remains, how to configure the script for your OneDrive for Business account. The script’s web page covers all the steps required to set up and run the script. There are some parameters that need to be changed with your values. Once you are done with them, you are good to go and execute the script on your computer. You can download the OneDriveMapper PowerShell script from here.
Set up sync for OneDrive for Business
We’ve covered the steps required to map OneDrive for Business as a network drive and set up a synchronization setup just in case. Windows 10 comes preloaded with OneDrive client, so to set up sync for OneDrive for Business, all you need to do is log in with your business account on the desktop client. If you’ve already logged in to OneDrive with your personal account then follow these steps: We hope this post will help you successfully map OneDrive for Business as a Network Drive on Windows 10. TIP: Visual Subst is a free tool that lets you easily create Virtual Drives for your Folders & map Cloud Storage as Virtual Drives.