I want OneDrive to make my user directory (C:\Users\Raj) its base directory.

I'm on Windows 7 x64, and its latest stable OneDrive build (17.3.6201.1019) on a Personal OneDrive account.

  • Should be as simple as setting the directory from within the OneDrive client configuration options window
    – Ramhound
    Dec 9, 2015 at 19:48
  • @Ramhound, "Should be", +1
    – Raj
    Dec 9, 2015 at 19:49
  • When you install OneDrive on your PC it automatically makes the path C:\Users\User\OneDrive. Is that what you are trying to achieve? Otherwise dumping documents into the root of your user folder will create a mess.
    – CharlieRB
    Dec 9, 2015 at 21:51
  • 3
    It's a bad idea because of C:\Users\Raj\AppData.  Windows dumps lots of stuff in there, and you probably don't want all of it to be sent out to the network. Dec 10, 2015 at 6:59
  • 2
    That sounds like a terrible idea. Why not just move the Documents folder and whatnot to the OneDrive folder? The profile directory contains (in its “root“) the HKCU registry. This is security critical and OneDrive could interfere with its proper use.
    – Daniel B
    Dec 11, 2015 at 20:49

3 Answers 3


Maybe you're looking at the problem the wrong way. You can change the location of your user profile directory if you follow the instructions on the page here: http://www.sevenforums.com/tutorials/87555-user-profile-change-default-location.html


In case my first answer doesn't do what you want. You can also change the One Drive (for business) base directory in the following registry key:

HKEY_USERS\$YOUR USER$\Software\Classes\Microsoft\Office\$VERSION$\Common\Internet\LocalSyncClientDiskLocation

Do this at your own risk though, as I have not tested it.


OneDrive will only allow you to sync a selected file (Default for me was C:\user\Dean\OneDrive), Creating a Symbolic link Between your user profile and a given file will allow you to upload your user profile.

To do this you will need to relocate your OneDrive file by either setting its location when you install and login to the OneDrive desktop app or UN-linking your account from a preinstalled OneDrive installation and changing the location while logging into OneDrive.

(Note: Ensure the OneDrive file is NOT located within your user profile)

Finally create a Symbolic link using this command MKLINK /j "C:\ONEDRIVEPATH\YOURNAME" "C:\user\YOURNAME"

for more information refer to Change the location of your OneDrive folder and Typing the command MKLINK /? into windows command prompt.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .