How to Disable Cloud Files Filter on a Specific Folder in Windows 11
🔍 WiseChecker

How to Disable Cloud Files Filter on a Specific Folder in Windows 11

Windows 11 integrates tightly with cloud storage providers such as OneDrive. The Cloud Files Filter is a Windows component that syncs file status and metadata between your local folders and the cloud. This filter can cause delays when opening folders, slow down file operations, and produce unexpected sync prompts for folders you want to keep fully local. This article explains what the Cloud Files Filter does and provides a reliable method to disable it on a single folder without affecting other cloud-synced locations.

Key Takeaways: Disable Cloud Files Filter on a Single Folder

  • Registry key path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer: Create a DWORD value named UseCloudFilesForFolderExclusion to exclude a folder from cloud sync.
  • Folder exclusion via Group Policy: Computer Configuration > Administrative Templates > Windows Components > File Explorer > Turn off Cloud Files Filter: Apply this policy to a specific folder path using a GPO security filter.
  • Command-line method using fsutil: Run fsutil behavior set disablecloudfiles 1 to disable the filter system-wide, then re-enable it after working with the folder.

ADVERTISEMENT

What Is the Cloud Files Filter and Why Disable It on a Folder

The Cloud Files Filter is a Windows File Explorer extension that communicates with cloud storage providers. It displays sync status icons, such as a green checkmark or a blue cloud, on files and folders. The filter also handles placeholder files, which are small local stubs that point to content stored in the cloud.

When you open a folder where the filter is active, Windows queries the cloud provider for each file’s status. This process adds overhead, especially in folders with many files or slow network connections. Disabling the filter on a specific folder removes the status icons and stops the sync queries. The folder becomes a fully local folder, with no cloud metadata or placeholder behavior.

You might want to disable the Cloud Files Filter on folders that contain project files, databases, or large media collections where sync delays are unacceptable. The folder remains accessible, but it no longer participates in cloud status updates.

Method 1: Use Registry Editor to Exclude a Folder

This method creates a registry value that tells the Cloud Files Filter to skip a specific folder. The setting applies to the current user. You need to know the full path of the folder you want to exclude.

  1. Open Registry Editor
    Press Windows + R, type regedit, and press Enter. If prompted by User Account Control, click Yes.
  2. Navigate to the Explorer policy key
    In the left pane, expand the following path:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
    If the Explorer key does not exist, right-click the Policies key, select New > Key, and name it Explorer.
  3. Create a new DWORD value
    Right-click the Explorer key in the left pane, select New > DWORD (32-bit) Value, and name it UseCloudFilesForFolderExclusion.
  4. Set the value data
    Double-click the new value. In the Value data field, type the full path of the folder you want to exclude. For example: C:\Projects\LocalOnly. Leave the Base set to Hexadecimal. Click OK.
  5. Restart File Explorer
    Open Task Manager with Ctrl + Shift + Esc. Find Windows Explorer in the Processes tab, right-click it, and select Restart. The folder you specified will no longer show cloud status icons.

To add multiple folders, create separate DWORD values under the same key, each named with a unique identifier such as Folder1, Folder2, and set each value data to the corresponding folder path.

ADVERTISEMENT

Method 2: Use Group Policy to Disable the Filter on a Folder

Group Policy is available in Windows 11 Pro, Enterprise, and Education editions. This method lets an administrator apply the exclusion to multiple computers or users.

  1. Open Local Group Policy Editor
    Press Windows + R, type gpedit.msc, and press Enter.
  2. Navigate to the Cloud Files Filter policy
    In the left pane, go to:
    Computer Configuration > Administrative Templates > Windows Components > File Explorer
  3. Open the Turn off Cloud Files Filter policy
    Double-click Turn off Cloud Files Filter in the right pane.
  4. Enable the policy and specify the folder
    Select Enabled. In the Options section, click Show under the list of folder paths. In the Show Contents dialog, add one folder path per line, for example C:\Projects\LocalOnly. Click OK, then click Apply and OK.
  5. Apply the policy
    Open a Command Prompt as administrator and run gpupdate /force. Restart File Explorer as described in Method 1. The filter will be disabled for the specified folder.

This policy disables the entire Cloud Files Filter for the specified folder. It does not affect other folders or cloud providers.

Method 3: Use fsutil to Temporarily Disable the Filter System-Wide

The fsutil command can disable the Cloud Files Filter for the entire system. This method is useful when you need to work with a folder quickly and do not want to modify the registry or Group Policy. Note that this affects all cloud providers and all folders.

  1. Open Command Prompt as Administrator
    Press Windows + X and select Terminal (Admin). If prompted, click Yes.
  2. Disable the Cloud Files Filter
    Type the following command and press Enter:
    fsutil behavior set disablecloudfiles 1
  3. Work with your folder
    Open the folder in File Explorer. No cloud status icons will appear, and all file operations will be local-only.
  4. Re-enable the filter
    When you are done, run this command to restore the filter:
    fsutil behavior set disablecloudfiles 0

This method requires administrative privileges and affects all users on the machine. Do not leave the filter disabled permanently, as it may break sync operations for cloud storage apps.

Common Issues When Disabling Cloud Files Filter on a Folder

Folder still shows cloud icons after applying the registry change

The registry method uses a policy key that may not take effect immediately. Restart File Explorer or sign out and sign back in. Also verify that the folder path in the value data is typed correctly, including the drive letter and backslashes. If the folder is inside a cloud-sync root folder, the cloud provider may override the filter. Move the folder outside the cloud sync root.

Group Policy says the setting is managed by your system administrator

If you are on a corporate network, domain policies may override local Group Policy. Contact your IT administrator to request an exclusion. Alternatively, use the registry method, which may still work if domain policies do not block it.

fsutil command returns access denied

The fsutil command requires an elevated Command Prompt. Make sure you run Terminal or Command Prompt as administrator. If the command still fails, your antivirus or security software may be blocking the change. Temporarily disable the security software, apply the setting, then re-enable it.

Registry Method vs Group Policy vs fsutil: Feature Comparison

Item Registry Method Group Policy fsutil
Scope Single folder per value Single folder or multiple folders Entire system
Requires admin rights Yes Yes Yes
Edition support All Windows 11 editions Pro, Enterprise, Education All editions
Persistence Permanent until removed Permanent until policy removed Temporary until reboot or re-enable
Affects other cloud providers No No Yes

The registry method is the most targeted approach for a single folder. Group Policy is better for administrators managing multiple computers. The fsutil method is a quick workaround for temporary use but should not be left enabled.

After disabling the Cloud Files Filter on a folder, you can manage that folder like any other local folder. Cloud status icons disappear, and File Explorer no longer queries the cloud provider when you open the folder. If you later need to restore cloud sync, remove the registry value, disable the Group Policy setting, or re-enable the filter with fsutil.

For advanced users, consider creating a batch script that toggles the fsutil setting before and after working with a specific folder. This gives you on-demand control without permanent changes.

ADVERTISEMENT