OneDrive Tip: Map Your Cloud Storage as a Drive in File Explorer

Posted on May 22, 2015 by Paul Thurrott in OneDrive with 1 Comment

OneDrive Tip: Map Your Cloud Storage as a Drive in File Explorer

If you’re freaking out—as I am—because Microsoft is removing the placeholder functionality from its OneDrive sync client in Windows 10, I may have a solution for you. It’s not perfect, and can result in some performance issues. But if your goal is to be able to access all of the files in your OneDrive cloud storage from File Explorer in Windows, this may be your best option.

And to be clear, this tip works on any modern version of Windows, which is important because those using Windows 7 and 8.0 also don’t have the placeholder functionality that is unique to Windows 8.1. It’s nice being able to access all your files from the shell.

The trouble is, while mapping OneDrive as a drive in Windows does work, it can be slow, and the PC has to be online for it to work. I’m hoping that Microsoft’s promised alternative to placeholders—called offline files—will obviate the need for this tip. But that solution could be many, many months away, according to the recently-revealed schedule. So here’s what you can do now.

(Unless you’re on Windows 8.1. If you’re using Windows 8.1, don’t bother with this. The OneDrive sync client in that version of the OS lets you seamlessly access all of the files in your OneDrive storage already.)

First, visit OneDrive on the web, sign-in and click the Files link in the top left. When you do, the address bar will display a URL that includes a “cid” number, like so. (I’ve altered this number so that it is not my real cid number.)


Make a note of the cid part of that URL, or just keep the browser open so you can copy and paste it later.

Now, open File Explorer (or, in Windows 7, Windows Explorer), navigate to the This PC view (Computer, in older OS versions) and click Map Network Drive in the ribbon/toolbar. (If the ribbon is hidden by default, you will need to open it first.)


When you do, the Map Network Drive wizard appears.


Select a drive letter (perhaps O: for OneDrive, your call) and then add this to the Folder field:

(Where YOUR-CID is of course replaced with your actual cid number.) Make sure “Reconnect at sign-in” remains selected and then click Finish.

You’ll be prompted to enter your OneDrive credentials—that is, your Microsoft account name (like [email protected] or whatever) and password—but if you’ve added the correct protections (two-step verification) to your account, you’ll need to create an app password at the Microsoft Account web site first: navigate to the Security settings page to do so.

When you do sign-in, a new drive will appear in File Explorer, in the This PC view, with a name that matches that cid number. You might want to rename it to something that makes a bit more sense.


Now, you can access the contents of your OneDrive normally, if slowly. It’s all there. You can copy/move back and forth to this location, access OneDrive directly from apps like Word, and do any other file operation you normally use.

Beside performance, the other caveat is that this is an online view only: if the PC is offline, you can’t access your OneDrive files and folders.

I know there are various third party solutions for accessing OneDrive in File Explorer, but I’ve found them to be slow as well. If you know of something more elegant than this, please do let me know. As I test Windows 10, I find that the lack of placeholders is a serious issue. And like many others, it really inhibits my desire to use this new OS version.

Tagged with ,

Join the discussion!


Don't have a login but want to join the conversation? Become a Thurrott Premium or Basic User to participate

Comments (1)

One response to “OneDrive Tip: Map Your Cloud Storage as a Drive in File Explorer”

  1. PeterR111

    I tend to agree that most third-party solutions are a tad slow. However, WebDrive was one solution that actually worked well with OneDrive for me. It might be worth a try for people who are struggling with speed issues or connection issues.