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%.
Registry Hive | HKEY_CURRENT_USER |
Registry Path | SOFTWARE\Policies\Microsoft\OneDrive |
Value Name | DefaultRootDir |
Value Type | REG_DWORD |
Enabled Value | 1 |
Disabled Value | 0 |
Specify the tenant ID and default path.
In the Value name field, enter the tenant ID. In the Value field, enter the path.
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Microsoft\OneDrive\DefaultRootDir |
Value Name | {number} |
Value Type | REG_EXPAND_SZ |
Default Value |