Update 'OneDrive for Business' to sync with a network drive
OneDrive for Business currently only syncs with a directory on the C:\ drive.
In a Business environment, users have a personal drive (called H:\ drive here) where they store documents and data.
Please make OneDrive for Business sync a directory in the H:\ drive.
This is the default data drive for users - so it's where they expect to start a navigation to a file. Seriously, who (in a business environment) stores data on C:\ drive where it isn't backed up?
This also makes it easy to switch out a laptop for a new one. Nothing is on the c:\drive.
When a business has thousands of laptops, this stuff makes a big difference.
Thanks for the suggestion – it’s definitely a valid scenario. Being transparent we’ve got other engineering priorities right now and so won’t be able to address this in the short term. We’ll revisit this scenario once our short to mid-term feature investments are delivered.
I've gotten OneDrive to sync with a folder on our network drive using MKLINK. However, I'm unable to turn on Files On-Demand. That is my only issue with the work-around.
This solution was actually much simpler than I thought. Essentially you install the OneDrive desktop application on the Server and point it at a folder you can locate easily, for example C:\OneDrive
The OneDrive desktop application will then sync this empty folder with the cloud. If you’ve already got data on OneDrive, you may need to give this stage time to complete before you continue – how much will depend on your internet connection and of course the amount of data already on OneDrive.
The next step is to create a Symbolic Link from within your OneDrive folder and point it at your NAS drive. If you’d like to read more about Symbolic Links in general I’d recommend this article.
In this case, I only wanted to sync the contents of N:\Data where N: is the drive letter that maps to my NAS.
I used the following command to create a Symbolic link within C:\OneDrive that pointed to N:\Data called Data. This uses a Microsoft tool called mklink which is included with all Windows operating systems since Vista.
From a command prompt, enter:
mklink /d data n:\data
What this essentially does is creates a fake subfolder called C:\OneDrive\Data which actually points across the Network at N:\Data. If you look within the C:\OneDrive folder, you will see what looks like a shortcut icon – clicking on it should take you to your network drive.
OneDrive will then treat this as a normal folder and sync it’s contents meaning you will now have a Data folder appear on your OneDrive that will be in Sync with your NAS drive. Admittedly, this means that only content withing N:\Data or OneDrive\Data will be Synced, but this gives me the flexibility I need to choose what I want in the cloud.
Obviously having a server always running helps keep this process running nicely, but it would work just as well from your desktop – it would just mean that it would only sync while it was turned on.
I work in a security environment where access to the C: drive must be blocked. If I can't map this to another drive or a subst-ed drive, then I simply can't allow users to use the OneDrive sync client. I find it extremely hard to believe that Microsoft haven't made any contingency for this scenario! Please address it!
This is a needed feature with the changes to SharePoint online and not being able to sync.
I don't understand why voting is disabled for this suggestion regardless of development priorities. It is now 5 years later, and this "valid" suggestion is still not implemented.
Balazs Kudelasz commented
enable this guys.. this would be superuseful
Dear Microsoft, please enable this feature in order to sync the OneDrive folder with a network folder
Please help enable this : )
Marius Pretorius commented
I also need this for school. We have many learners using H:\ as their home drive. Learners move between computers. To always resync when working on a different computer is not practical.
OneDrive is definitely going in the right direction, however this missing piece of the puzzle does make it less useable in certain scenarios.
I agree, Microsoft should make this work with a network drive.
A symbolic link is a workaround I've implemented in the past
Michi Uno commented
This is ridiculous! We are almost being forced into using online 365 and need to login with MS logins to use our computers - the great benefit being that we can use setups and data on all devices and they all magically sychronize. So much to the promotional part.
In reality, the central piece of this entire charade is totally unusable. That's right. OneDrive for Business is not usable! It has been explained several times in this thread that no business wants data on the C drive. There is not enough space there and it is not how businesses are set up. Period.
Since 2015, this thread is asking for MS to change this. Nothing! No reaction, no correction.
And here is why: It is not in Microsoft's interest to enable network drives to be the local storage space for OneDrive. Why? Because then people could actually use it and would. Imagine how many Terabytes of data Microsoft would have to actually use on their servers to provide space for 1 to 5 Terabytes per user?
That's it MS does not want you to use OneDrive extensively, it would const them money.
So much ********, I can't stand it.
I have not read this whole thread but you could create an iSCSI volume on your external storage and map it as a local drive. I have used this in tricking accounting applications that the drive letter selected was local and then allow sharing of data. In some cases you may have to change local security rights and possibly ownership rights to the local user.
I have been waiting for this for years! Please make this happen!
July 1, 2015: we’ve got other engineering priorities right now... ... We’ll revisit this scenario once our short to mid-term feature investments are dlivered
January 24, 2019
Why am I not surprised?
This is the single biggest issue with OneDrive. For another EXTREMELY critical reason: People are migrating en masse to using solid state hard drives to get dramatic performance improvements on their computers. They are much faster, but aren't typically that big. They only need to be large enough to hold the operating system, and users typically offload personal files like movies, pictures, and music to another local hard disk, whether internal or external. Those can never be backed up on OneDrive because they would quickly overwhelm the solid state drive C:. This is a gaping hole in OneDrive's capabilities. Microsoft needs to fix this NOW before GoogleDrive eats their lunch.
I'm also interested in this option. I believe that a workaround I've used for wbadmin backups could work for OneDrive. wbadmin will not maintain snapshots when backing up to a network location. I created VHD files on network share, then connected these to client computer. Once the VHD is mounted, it performs as a local drive and not a network mapped drive, thus maintaining the VSS snapshots from backups. The only issue is getting the VHD's to mount after reboot.
I will test this when I can, and report back. I don't believe the limitation is for C: drive only, as your PC could contain various local drive letters.
My $employer really does not like us having files on our devices - but has installed onedrive as a standard.
If you can only synchronise files that are on the local device, this product has no utility for me
or anyone else whose employer does the same.
This feature will never be implemented. Despite what any mod on here might tell you, it's in Microsoft's best interest to force you into in fully cloud based network that every single employee in your business will have to have a subscription license for. No license, no access to files. Period. Additionally, they cut out your business's network admins, whether in house or subcontracted, and force you to use their 'services' (see date of above post for approximate quality of said services).
2018....same issue still here
When will this feature be included?????