Configure Amount Of Disk Space To Use, For Offline Files in Windows

Normally, we don’t bother about the space used for offline files. Sometimes we don’t know where the extra space on our drives is getting used. But being a smart Windows user, you should be careful about the disk space. By default, Windows follows the policy of configuring and allotting 10% of disk space to cache offline files.

Automatic caching can be set on any network share. When a user opens a file on the share, the system automatically stores a copy of the file on the user’s computer. Sometimes this automatic caching consumes a considerable disk space. In other case, if the temporary cached files doesn’t matters for you then you may want to have no caching of disk space on your drive. To do that, you need to configure the offline files tab in order to disable amount of disk space to use for temporary offline files.

In this article, we’ll show you the advanced way to disable the settings to store temporary automatic cached temporary files.

Disable Automatic Caching Of Temporary Files Using Registry Editor

1. Press Windows Key + R combination, type put Regedt32.exe in Run dialog box and hit Enter to open the Registry Editor.

2. Navigate to this registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows

Disable-Amount-Of-Disk-Space-To-Use-For-Temporary Offline Files

3. In the right pane of location, create a new sub-key using Right Click -> New ->Key. Name it as NetCache. Now come to right pane of this sub-key, create a DWORD value using Right Click -> New -> DWORD. Name it as DefCacheSize. Double click on the DWORD so created in order to modify it, you’ll got this:

Disable-Amount-Of-Disk-Space-To-Use-For-Temporary Offline Files-1

4. In the above box, firstly select the base type as Decimal. Then input the Value data accrding to the requirement you want the computer to use the disk space percentage, for ex. If you want computer should use 15.45% of the total disk, then you should input 1545 there. To disable amount of disk space to use for temporary offline files, input 0. Click OK when done.

That’s it. You’ve just imposed a limitation on Windows to cache temporary offline files, according to your requirements.

Configure Group Policy for Default Offline Cache Files in Windows

1. Press Windows Key + R combination, type put gpedit.msc in Run dialog box and hit Enter to open the Local Group Policy Editor.

2. Navigate here :

Computer Configuration -> Administrative Templates -> Network -> Offline Files

Disable-Amount-Of-Disk-Space-To-Use-For-Temporary Offline Files-2

3. In the right pane, look for the setting named Default cache file, it must have Not Configured status by default. Double click on the same setting, you’ll got this:

Disable-Amount-Of-Disk-Space-To-Use-For-Temporary Offline Files-3

4. In the above window, click on Enabled and specify your requirements to store offline files according to percentage of disk space. You can enter 0 to completely disable caching. If you select Not Configured / Disabled (default setting), Windows will automatically use 10 percent of disk size for caching. After configuring, click Apply followed by OK.

That’s it! You’ve again configured the disk space percentage for caching.

If you configure the disk space using Local Group Policy Editor, then entry for Registry Editor is automatically created by Windows and vice versa.

Download this VPN to secure all your Windows devices and browse anonymously
Posted by on , in Category Windows with Tags
An Electrical Engineer by profession, Kapil is a Microsoft MVP and a Microsoft Content Creator. Please read the entire post & the comments first & create a system restore point before making any changes to your system.

Leave a Reply

Your email address will not be published. Required fields are marked *


8 + 5 =