blog

Moving OneDrive for Business files to a different drive

Published on
3 minute read

I recent ran into a problem where my OneDrive files were taking up too much space on my main drive and preventing Windows 10 updates on the Insider Program. This works for both OneDrive consumer application and the new OnDrive for Business beta application.

Moving OneDrive for Business files to a different drive

Many moons ago I had partitioned my drive so that I could limit the amount of space that my Virtual Machines use. However these days I only have a single VM that is the Brian Keller TFS demo box for… well… demos. All my other machines I run in Azure. So I tend to have more free space on the Virtual drive and less on the Windows drive these days…

My OneDrive file size is now up at 80GB+ so I really need the extra space on the C drive.

Moving OneDrive for Business files to a different drive

However after so long it would be difficult to resize the partitions without breaking the ability to recover my computer easily, which I like.

Moving OneDrive for Business files to a different drive

I love being able to pop into Recovery page and just reset Windows while keeping my files… awesome feature, especially if you are a Developer and incessant tinkerer and often break Windows.

So, in order to move your OneDrive location you need to first “Unlink” your OneDrive account and then relink it back to the new location. The online documentation for this says that you have to re-download all of your files, but stuff that on 80GB. What if you are on a crappy or cellular internet connection! I want to move my files to the new location and have OneDrive just fire up with all of the files there. Good this this is easy and seamless…

  1. First Unlink your OneDrive
    You need to be online to complete this procedure. I am currently onsite with a customer that has blocked OneDrive and had to connect through my phone. OneDrive takes some time to connect if you change connection, so using the tray Exit button and then running the OneDrive Desktop App (from Start) gives it a little kick.
    Moving OneDrive for Business files to a different drive Once you are online you can open the tray menu and click Settings.
    Moving OneDrive for Business files to a different drive Then click “Unlink”. If your Unlink button is disabled, like above, then that means that you are not Online. You can connect to the internet and then reboot, or restart the OneDrive application.
  2. Copy your files to the new location
    You need to cop all of your existing files to the new location. If you don’t copy all of the files anything missing will need to be re-downloaded. As Windows copy also takes all of your file properties if you have made changes to files, then these will be synched successfully after the move.
    Moving OneDrive for Business files to a different drive I setup a d:\Users\MrHinsh\OneDrive folder and “moved” all 80GB of my files over to the new location… this may take some time, or considerably longer depending on your drive speed. I happen to have a Surface 3 with SSD’s so it’s pretty quick for me.
    You should also be mapping your Windows Special Folders to OneDrive so that you never lose a file again.
  3. **Setup OneDrive using the OOB experience
    **Now we need to setup OneDrive again but change the mapping to the new location of our files.
    Moving OneDrive for Business files to a different drive Just like the first time you setup Windows OneDrive you get the out-of-box experience when you click on the OneDrive folder.
    Moving OneDrive for Business files to a different drive On the configuration screen click “Change” and select the new folder. OneDrive will detect that this location is already in use and you should “use this location”.
    Moving OneDrive for Business files to a different drive

And that’s it… your OneDrive files are not in a new location, and in my case, on a new disk. That’s 80GB freed up from my Windows drive…

install-and-configuration blog onedrive

Connect with Martin Hinshelwood

If you've made it this far, it's worth connecting with our principal consultant and coach, Martin Hinshelwood, for a 30-minute 'ask me anything' call.

Our Happy Clients​

We partner with businesses across diverse industries, including finance, insurance, healthcare, pharmaceuticals, technology, engineering, transportation, hospitality, entertainment, legal, government, and military sectors.​

Genus Breeding Ltd Logo
Bistech Logo
ALS Life Sciences Logo
SuperControl Logo
Boxit Document Solutions Logo
Brandes Investment Partners L.P. Logo
MacDonald Humfrey (Automation) Ltd. Logo
Lean SA Logo
Lockheed Martin Logo
Boeing Logo
Workday Logo
Hubtel Ghana Logo
Milliman Logo
Qualco Logo
Higher Education Statistics Agency Logo
Trayport Logo
Illumina Logo
Akaditi Logo
Ghana Police Service Logo
Washington Department of Enterprise Services Logo
Nottingham County Council Logo
Washington Department of Transport Logo
Department of Work and Pensions (UK) Logo
New Hampshire Supreme Court Logo
Lockheed Martin Logo
YearUp.org Logo
Boeing Logo
Lean SA Logo
New Signature Logo
Flowmaster (a Mentor Graphics Company) Logo