Configure the disk space to use for offline files in Windows



RECOMMENDED: Click here to fix Windows errors and optimize system performance

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



October 2020 Update:

We now recommend using this tool for your error. Additionally, this tool fixes common computer errors, protects you against file loss, malware, hardware failures and optimizes your PC for maximum performance. You can fix your PC problems quickly and prevent others from happening with this software:

  • 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



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 :

HKEY_LOCAL_MACHINESOFTWAREP PoliciesMicrosoftWindows

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.



RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance

Related Video