4

Is there a portable version of Onedrive desktop app for windows like the DropboxPortableAHK for dropbox ?

3
  • 1
    No; There isn’t. What you want isn’t possible
    – Ramhound
    Nov 9, 2017 at 12:11
  • No, but you can use WebDAV to map OneDrive folders. They do not sync to your computer but you can access them more or less the same way. I actually wish there was WebDAV for Dropbox so I don't need to use DBP to access Dropbox files. Jul 10, 2018 at 21:30
  • hello @InterLinked... can you supply some examples/recipes to connect webdav to OneDrive folders?
    – ZEE
    Dec 13, 2021 at 17:10

1 Answer 1

2

For some reason, commenting seems broken now on the site, so here it is as an answer.

While not quite portable in that your files are not actually stored portably at all, you can use WebDAV to access your files without download them at all. This basically presents it to you as a network drive, as if the files were on a network server on your LAN.

  1. In your web browser, login to your OneDrive.

  2. After you log in, your URL should be like: https://onedrive.live.com/?id=root&cid=ABCDEFGHIJKLMNOP The ABCDEFGHIJKLMNOP part is your “customer ID”. Select it and copy it to the clipboard.

  3. Map "https://d.docs.live.net/CUSTOMERID" in Explorer. You do this as you would map any network drive.

Be sure to not check "Reconnect at login" if the computer isn't yours.

If it is yours, you can automate this by using a batch script using the net use command:

e.g. map "Documents", require password interactively, do not reconnect at login:

net use h: "https://d.docs.live.net/CUSTOMERID/Documents" /user:myuser@outlook.com /P:no

e.g. with the password, non-interactive, reconnect automatically:

net use h: "https://d.docs.live.net/CUSTOMERID/Documents" /user:myuser@outlook.com mypassword /P:Yes

https://www.laptopmag.com/articles/map-onedrive-network-drive

2
  • After following steps, it worked, but mapped drive is not showing in windows explorer but in cmd
    – proseosoc
    Dec 31, 2021 at 14:40
  • It won't show up in existing explorer windows, you will need to open a new one. Are you possibly running in an admin command prompt? Without linked connections, it would not show up, either. Make sure UAC is on and you are running in a non-elevated prompt Dec 31, 2021 at 14:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.