How to Map OneDrive as a Network Drive to See All Your Files

  • MORE

In Windows 10, you can select which folders get synced between OneDrive online and the OneDrive folder on your hard drive, but File Explorer won't show you the data that's stored only on the OneDrive cloud storage space. There's a workaround, however, that lets you see and access all of the files you have in OneDrive: Map it as a network drive.

Mapping OneDrive in Windows 10 will make it work similarly to the way OneDrive works in Windows 8.1. You'll see the full list of folders and files available, even the ones not stored locally on your computer. Once you map OneDrive, you can double-click a file that's stored online only to download it to your machine.

1. Log into

2. Copy the CID number from the address bar. These are the digits and letters after the "cid=" part of the URL. Don't include any other characters that separate the CID, such as % or &.

onedrive cid

3. In Windows Explorer, go to This PC.

onedrive thispc4. Click on the Computer tab then "Map network drive".

onedrive mapdrive

5. In the Folder field, enter followed by the CID you copied in step 1.

onedrive mapdrive folder6. Check the "Connect using different credentials" box.

7. Click Finish and enter your OneDrive login.

onedrive credentials

That's it. You should now see all of your OneDrive folders and files under This PC in Windows Explorer--whether or not they are stored locally on your computer. You can copy, rename, and open files from this mapped drive. And, by the way, you can right-click on the drive name, which will likely be named with your OneDrive CID, and rename it to something more meaningful.

Add a comment
  • dave2477 Says:

    These instructions worked on Windows 10. Thank you! :-)

  • O. Hablani Says:

    Mapping is a good idea...
    BUT this doesn't work with Robocopy.exe or RobocopyGW.exe. (I still receive the message: "The cloud file provider is not running")
    To resolve this issue, you can use with this mapping another application to sync OneDrive by using: Super Flexible File Synchronizer 6.05 or later ($). Remark:
    (No personal interest to recommend this app)...

  • aidan Says:

    My onedrive is 1tb but it say i got low space on my network drive

  • El Jefe Says:

    I have mapped successfully using both the author's method and also using Alan's method. In both cases, I am not able to copy larger files. Files under 100 MB always copy just fine. Files between 100-150 MB will occasionally copy. Files over 150 MB never copy. I get an error message: "There is a problem accessing (the drive)...Make sure you are connected to the network and try again." When get this message, I cancel the copy and try with a smaller file and it works. So clearly I am connected. I've edited the registry to accommodate a 4 GB file but this can't be the issue because the previous setting was for 50 MB and I've been able to copy 95 MB files with no problem. Any ideas?

  • Jeff Elzy Says:

    If using two factor authentication, a person will need to use an app specific password, not the account password.

  • Johann Says:

    I can map successfully via the method in the article AND via the method from Alan's comment...but I get frequent "unexpected error"'s while copying files to the networked location. Usually "Error 0x8007003A:The specified server cannot perform the requested operation."

    Not sure what to do about this, wondering if anyone else has the same issue?

  • Alan - same length as Phil Says:

    This method only works for stand-alone OneDrive accounts which log into Microsoft’s servers. Office 365 usually logs into a corporate SharePoint so the URL will not usually have a CID.

    For me this method did not work. I received the error, “Network path not found”. It may be blocked by the firewall, but I’m not sure. Instead I performed these steps to basically create a shortcut to OneDrive.

    1. Click the link, "Connect to a Web site that you can use to store your documents and pictures".
    2. When the "Add Network Location" wizard opens, click Next.
    3. Select “Choose a customer network location”, and click Next.
    4. Enter the same path, + CID in the address field and click Next.
    5. Enter a name for the network location, (ex. MyOneDrive) and click Next.
    6. Verify the box, “Open this network location when I click Finish” is checked and click Finish.
    7. If a login screen appears, enter your OneDrive log on credentials and click Log On.
    8. The network folder should open and the location will now be listed under “Network Locations” in This PC.

  • Abhi Yenv Says:

    Million thanks, I have been looking for something like that for ages; can't express my joy in words. It means a lot to an average, not geek, common computer user like me, you made my life a bit easier. I am grateful!

  • Thore Says:

    Access is Denied when I put in the app password. I think this trick dont work anymore-

  • Ahmed Says:

    This still works. If you have multi-factor authentication turned on, you need to use the App Password.

  • maestrogarry Says:

    Try KrojamSoft SyncFile for synchronising. Its a simple and best software for synchronising.

  • hoerenvreter Says:

    Worked great ! Thanks a lot !!!!+30

  • Admin72 Says:

    There's a much simpler way to do this. A commercial product called Webdrive can easily map a drive letter, and the drive letter can stay persistent. It supports other cloud services too, like Amazon, Drop Box, and Google. has a free trial

  • Phil - whose name is shorter than 5 characters (silly restriction) Says:

    Doesn't seem to work with O365. The URL doesn't provide a CID#.

  • Gilberto Says:

    Tracy John Ross you must change to onedrive classic view to see URL with CID

  • Willemijn Says:

    Thanks so much for this article, you helped me a lot. Good job!

  • Alex Naeve Says:

    Worked perfectly! Thanks so much!

  • Tracy John Ross Says:

    When I log into I don't get a URL anything like the one you show. It is a sharepoint address with no CID. Any thoughts? Thanks.

  • Ian+extra_characters Says:

    Works perfectly for me (Windows 7).

  • it was working since WIN10 it seems Says:

    it was working since WIN10 it seems. I was using two months ago, but now it does not work.

  • Johnny Says:

    Yup... not working.
    Your comment must be more than 30 characters long
    Your comment must be more than 30 characters long
    Your comment must be more than 30 characters long

  • Isaac S Says:

    I did everything it told me to do, and i get an error saying "Access is Denied".

  • Byrone Says:

    Had this set up a while ago. Used to be a staple of the OS then they started going the DropBox route and having the entire drive Sync to the hard drive, which was stupid. this fixes that!

  • Vlad (My name is shorter then 5 characters =/... what about Li?) Says:

    Thanks! Useful! -- Why should I type 30 chars? you don't want people to say thanks?

Back to top