Configure the disk space to use for offline files in Windows

Updated April 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

Normally, we don’t care about space for offline files. Sometimes we don’t know where the extra space on our disks is used. But since you’re an intelligent Windows user, you should pay attention to storage space. By default, Windows follows the policy of configuring and allocating 10% of the cache space for offline files.

Automatic caching can be set on any network share. When a user opens a file on the share, the system automatically saves a copy of the file on the user’s computer. Sometimes, this automatic caching takes up a considerable amount of disk space. In another case, if the temporary cache files do not matter to you, you may not want to cache space on your disk. To do this, you must configure the Offline Files tab to disable offline temporary file storage space.

In this article, we show you the extended ability to disable settings for saving temporary, automatically cached files.

Disable automatic temporary file caching with the registry editor

April 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally, it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

Download Now

1 Press the Windows key + R combination, type Regedt32.exe into the Run dialog box and press Enter to open the registry editor.

2 Navigate to this registry key :


3 In the right pane, create a new subkey with right click -> New -> New -> New button. Name it NetCache. Now enter the right zone of this subkey, create a DWORD value with Right Click -> New -> DWORD. Name it DefCacheSize. Double-click on the DWORD WORD thus created to modify it, it will be displayed:

4 In the field above, select the basic type as decimal. Then enter the value data (16) according to the requirement that the computer must use the percentage disk space, for example, if you want the computer to use 15.45% of the entire disk, then you must enter 1545 there. To disable offline temporary file storage, enter 0. Click OK when you are finished.

That’s it. You have just introduced a Windows restriction to cache temporary files offline according to your needs.

Set group policy for default offline cache files in Windows

1 Press the Windows key + R combination, type gpedit.msc in the Run dialog box and press Enter to open the local group policy editor.

2. 12) Navigate here :

(1)Computer Configuration -> Administrative Templates -> Network -> Offline Files

3 Look for named Default cache file in the right pane, it should have the status Not Configured by default. Double-click on the same parameter, you will see it:

4 In the window above, click Enabled and specify your requirements for saving files offline based on disk space percentage. You can enter 0 to completely disable caching. If you select Not configured/Off (default), Windows automatically uses 10% of the disk size for caching. After configuration, click Apply followed by OK.

That’s it! You have reconfigured the percentage of disk space for caching.

When you configure disk space with the local group policy editor, the registry editor entry is automatically created by Windows and vice versa.

Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here

Related Video

Scroll to Top