Advertisement

Change Offline Files Disk Usage Limit in Windows 10

Offline Files is a special feature of Windows that allows you to access files stored on a network share locally, even when you are not connected to that network. By default, the OS limits the local disk space that offline files take to 25% of the system drive. The limit includes the local disk space used by cached files that were made available offline, and automatically cached files which were accessed by the user on a network share. Here is how to change this.

Advertisеment

By default, Windows store Offline files for all users on the computer under the folder C:\Windows\CSC. It is a protected system folder. The disk space limit defines the size and number of offline files stored on your computer.

Windows deletes automatically cached files from the Offline Files cache on a least-recently used basis if the maximum cache size is reached. Files that were manually set as always available offline are never removed from the cache. To remove such files from the cache, you need to disable always offline mode for some of your network files, or remove the cache contents manually using the Sync Center in the classic Control Panel.

To change the Offline Files Disk Usage limit in Windows 10, do the following.

  1. Open the classic Control Panel app.
  2. Switch its view to either "Large icons" or "Small icons" as shown below.Control Panel Large Icons View
  3. Find the Sync Center icon.Windows 10 Sync Center Icon
  4. Open Sync Center and click on the link Manage offline files on the left.Windows 10 Manage Offline FIies Link
  5. In the next dialog, switch to the Disk usage tab. There, you'll see the current size of the offline files cache.Windows 10 Disk Usage Offline Files
  6. Click on the Change limits button to change the disk space limit for offline files. Windows 10 Change Offline Files Limits

Alternatively, you can use Group Policy to force a specific disk space limit for all users. Here is how it can be done.

Change Offline Files Disk Usage Limit with Group Policy

  1. Open Registry Editor.
  2. Go to the following Registry key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetCache

    Tip: See how to jump to the desired Registry key with one click.

    If you do not have such a key, then just create it.

  3. Here, modify or create a new 32-bit DWORD value CacheQuotaLimit. Note: Even if you are running 64-bit Windows, you still need to use a 32-bit DWORD as the value type. 
  4. Enter in decimals the value data for how many Megabytes you want for total size of offline files (always offline files+temporary files).Windows 10 Tweak Change Offline Files Limits
  5. Modify or create a new 32-bit value CacheQuotaLimitUnpinned to specify the limit in Megabytes for automatically cached files (temporary files).
  6. Restart Windows 10 to apply the changes.

Later, you can delete the CacheQuotaLimitUnpinned and CacheQuotaLimit values to restores the default options.

Using the Local Group Policy Editor app

If you are running Windows 10 Pro, Enterprise, or Education edition, you can use the Local Group Policy Editor app to configure the options mentioned above with a GUI.

  1. Press Win + R keys together on your keyboard and type:
    gpedit.msc

    Press Enter.Windows 10 run gpedit

  2. Group Policy Editor will open. Computer Configuration\Administrative Templates\Network\Offline Files.
  3. Enable the policy option Limit disk space used by Offline Files.
  4. Under Value entered is in Megabytes, configure the desired limits.Windows 10 Group Policy Change Offline Files Limits
  5. Restart Windows 10.

Related articles:

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

Advertisеment

Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

Leave a Reply

Your email address will not be published.

css.php
Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.