Disable Offline Files on Individual Redirected Folders


Applies To: Windows 10, Windows 8, Windows 8.1, Windows Server 2012, Windows Server 2012 R2

This topic describes how to disable Offline Files caching on individual folders that are redirected to network shares by using Folder Redirection. This provides the ability to specify which folders to exclude from caching locally, reducing the Offline Files cache size and time required to synchronize Offline Files.

In this document


This topic includes sample Windows PowerShell cmdlets that you can use to automate some of the procedures described. For more information, see Using Cmdlets.


To disable Offline Files caching of specific redirected folders, your environment must meet the following prerequisites.

  • An Active Directory Domain Services (AD DS) domain, with client computers joined to the domain. There are no forest or domain functional-level requirements or schema requirements.

  • Client computers running Windows 8.1, Windows 8, Windows Server 2012 R2, or Windows Server 2012.

  • A computer with Group Policy Management installed.

Disabling Offline Files on individual redirected folders

To disable Offline Files caching of specific redirected folders, use Group Policy to enable the Do not automatically make specific redirected folders available offline policy setting for the appropriate Group Policy Object (GPO). Configuring this policy setting to Disabled or Not Configured makes all redirected folders available offline.


Only domain administrators, enterprise administrators, and members of the Group Policy creator owners group can create GPOs.

To disable Offline Files on specific redirected folders

  1. Open Group Policy Management.

  2. To optionally create a new GPO that specifies which users should have redirected folders excluded from being made available offline, right-click the appropriate domain or organizational unit (OU) and then click Create a GPO in this domain, and Link it here.

  3. In the console tree, right-click the GPO for which you want to configure the Folder Redirection settings and then click Edit. The Group Policy Management Editor appears.

  4. In the console tree, under User Configuration, expand Policies, expand Administrative Templates, expand System, and expand Folder Redirection.

  5. Right-click Do not automatically make specific redirected folders available offline and then click Edit. The Do not automatically make specific redirected folders available offline window appears.

  6. Click Enabled. In the Options pane select the folders that should not be made available offline by selecting the appropriate check boxes. Click OK.

Windows PowerShell equivalent commands

The following Windows PowerShell cmdlet or cmdlets perform the same function as the preceding procedure. Enter each cmdlet on a single line, even though they may appear word-wrapped across several lines here because of formatting constraints.

This example creates a new GPO named Offline Files Settings in the MyOu organizational unit in the contoso.com domain (the LDAP distinguished name is "ou=MyOU,dc=contoso,dc=com"). It then disables Offline Files for the Videos redirected folder.

New-GPO -Name "Offline Files Settings" | New-Gplink -Target "ou=MyOu,dc=contoso,dc=com" -LinkEnabled Yes

Set-GPRegistryValue –Name "Offline Files Settings" –Key 
"HKCU\Software\Policies\Microsoft\Windows\NetCache\{18989B1D-99B5-455B-841C-AB7C74E4DDFC}" -ValueName DisableFRAdminPinByFolder –Type DWORD –Value 1

See the following table for a listing of registry key names (folder GUIDs) to use for each redirected folder.

Redirected folder

Registry key name (folder GUID)





Start Menu




















Saved Games


See Also

Folder Redirection, Offline Files, and Roaming User Profiles overview
Deploy Folder Redirection with Offline Files