Set the default location for the OneDrive folder
Supported on: At least Windows Server 2008 R2 or Windows 7
Registry
HKCU
SOFTWARE\Policies\Microsoft\OneDrive Value name: DefaultRootDir
Options
List (registry values) list
- list under
Software\Policies\Microsoft\OneDrive\DefaultRootDir Description
This setting lets you set a specific path as the default location of the OneDrive folder on users' computers. By default, the path is under %userprofile%. If you enable this setting, the default location of the OneDrive - {organization name} folder will be the path that you specify in the OneDrive.admx file. To prevent users from changing the location you specify, enable the "Prevent users from changing the location of their OneDrive folder" setting. If you disable or do not configure this setting, the default location of the OneDrive - {organization name} folder will be in %userprofile%.