Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Windows (ADMX) · WorkFolders-Client.admx

WorkFolders-Client.admx: 3 policies

Generated from Microsoft Windows Server 2025 Datacenter build 26100 in-box templates + Windows 11 ADMX package (download id 108394) on 2026-12-05. Titles, explanations and "Supported on" text are Microsoft's own, from the en-US ADML file.

Enables the use of Token Broker for AD FS authentication

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10 Version 1703

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\Software\Policies\Microsoft\Windows\WorkFolders
Value nameEnableTokenBroker
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy specifies whether Work Folders should use Token Broker for interactive AD FS authentication instead of its own OAuth2 token flow used in previous versions.

Group Policy path: User Configuration > Administrative Templates > Windows Components > Work Folders > Enables the use of Token Broker for AD FS authentication

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\WorkFolders' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\WorkFolders' -Name 'EnableTokenBroker' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: WorkFolders-Client.admx · policy name Pol_UserEnableTokenBroker

Force automatic setup for all users

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2008 R2 or Windows 7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\WorkFolders
Value nameAutoProvision
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting specifies whether Work Folders should be set up automatically for all users of the affected computer.

If you enable this policy setting, Work Folders will be set up automatically for all users of the affected computer. This prevents users from choosing not to use Work Folders on the computer; it also prevents them from manually specifying the local folder in which Work Folders stores files. Work Folders will use the settings specified in the "Specify Work Folders settings" policy setting in User Configuration\Administrative Templates\Windows Components\WorkFolders. If the "Specify Work Folders settings" policy setting does not apply to a user, Work Folders is not automatically set up.

If you disable or do not configure this policy setting, Work Folders uses the "Force automatic setup" option of the "Specify Work Folders settings" policy setting to determine whether to automatically set up Work Folders for a given user.

Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Work Folders > Force automatic setup for all users

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WorkFolders' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WorkFolders' -Name 'AutoProvision' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: WorkFolders-Client.admx · policy name Pol_MachineEnableWorkFolders

Specify Work Folders settings

Per user Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2008 R2 or Windows 7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\Software\Policies\Microsoft\Windows\WorkFolders
OptionValueTypeAllowed values
Work Folders URL:SyncUrlREG_SZText
Work Folders Local Path:LocalFolderPathREG_SZText
On-demand file access preference:GhostingPreference1 (REG_DWORD) = Enable (recommended)
2 (REG_DWORD) = Disable
3 (REG_DWORD) = User choice
Force automatic setupAutoProvisionREG_DWORDChecked: 1 (REG_DWORD); unchecked: 0 (REG_DWORD)
What it does (vendor explanation)

This policy setting specifies the Work Folders server for affected users, as well as whether or not users are allowed to change settings when setting up Work Folders on a domain-joined computer.

If you enable this policy setting, affected users receive Work Folders settings when they sign in to a domain-joined PC. If this policy setting is disabled or not configured, no Work Folders settings are specified for the affected users, though users can manually set up Work Folders by using the Work Folders Control Panel item.

The "Work Folders URL" can specify either the URL used by the organization for Work Folders discovery, or the specific URL of the file server that stores the affected users' data.

The "Work Folders Local Path" specifies the local folder used on the client machine to sync files. This path may contain environment variables. Note: In order for this configuration to take effect, a valid 'Work Folders URL' must also be specified.

The “On-demand file access preference” option controls whether to enable on-demand file access. When enabled, the user controls which files in Work Folders are available offline on a given PC. The rest of the files in Work Folders are always visible and don’t take up any space on the PC, but the user must be connected to the Internet to access them.

If you enable this policy setting, on-demand file access is enabled. If you disable this policy setting, on-demand file access is disabled, and enough storage space to store all the user’s files is required on each of their PCs. If you specify User choice or do not configure this policy setting, the user decides whether to enable on-demand file access. However, if the Force automatic setup policy setting is enabled, Work Folders is set up automatically with on-demand file access enabled.

The "Force automatic setup" option specifies that Work Folders should be set up automatically without prompting users. This prevents users from choosing not to use Work Folders on the computer; it also prevents them from manually specifying the local folder in which Work Folders stores files. By default, Work Folders is stored in the "%USERPROFILE%\Work Folders" folder. If this option is not specified, users must use the Work Folders Control Panel item on their computers to set up Work Folders.

Group Policy path: User Configuration > Administrative Templates > Windows Components > Work Folders > Specify Work Folders settings

PowerShell equivalent (generated from the template)
# Work Folders URL:
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\WorkFolders' -Name 'SyncUrl' -Value <value> -PropertyType String -Force
# Work Folders Local Path:
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\WorkFolders' -Name 'LocalFolderPath' -Value <value> -PropertyType String -Force
# On-demand file access preference:
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\WorkFolders' -Name 'GhostingPreference' -Value 1 -PropertyType DWord -Force
# Force automatic setup
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\WorkFolders' -Name 'AutoProvision' -Value <value> -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

ADMX: WorkFolders-Client.admx · policy name Pol_UserEnableWorkFolders