ADMX Viewer
Microsoft.Policies.OneDriveNGSC• User

Prevent users from changing the location of their OneDrive folder

This setting lets you block users from changing the location of their OneDrive - {organization name} folder during setup of the OneDrive sync app. If you enable this setting, the "Change location" link is hidden in OneDrive Setup. The OneDrive folder will be created in the default location, or in the custom location you specified if you enabled the "Set the default location for the OneDrive folder" setting. If you disable or do not configure this setting, users can click the "Change location" link to change the location of their OneDrive folder in OneDrive Setup.

Policy Details

Policy Name
DisableCustomRoot
Registry Key
SOFTWARE\Policies\Microsoft\OneDrive
Value Name
DisableCustomRoot
Supported On
At least Windows Server 2008 R2 or Windows 7
Available Languages
en-us

Configuration Elements

Specify the tenant ID and value of the setting.

In the Value name field, enter the tenant ID. In the Value field, enter 1 to enable the setting or 0 to disable it.

Change location setting:

Type: list

Explicit values: true
Additive: true