The file size exceeds the limit allowed and cannot be saved

Milan Stanojevic
by Milan Stanojevic
Deputy Editor
Download PDF
Affiliate Disclosure

The file size exceeds the limit allowed and cannot be saved

System errors can be a big problem, and many users reported ERROR_FILE_TOO_LARGE error on their PC. This error usually comes with The file size exceeds the limit allowed and cannot be saved message, and today we’re going to show you how to fix this error on Windows 10.

How to fix The file size exceeds the limit allowed and cannot be saved error?


1. Modify your registry

This error usually appears if you’re trying to download a file that exceeds the download size limitation. You can manually change this limitation in Registry Editor by following these steps:

  1. Press Windows Key + R and enter regedit. Press Enter or click OK.
  2. Optional: Modifying the registry comes with certain risks, and if you don’t modify it properly you can cause system stability issues to occur. To prevent any potential problems, it’s important to backup your registry. To do that, click on File > Export.
    Select a safe location for your backup. Enter the desired file name, select All as Export range and click on Save.
    After exporting the registry, you can use the exported file to restore everything to the original state if anything goes wrong.
  3. In the left pane navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters. Locate FileSizeLimitInBytes DWORD in the right pane and double click it to open its properties.
  4. In Value data field enter 4294967295 and click OK to save changes.
  5. Close Registry Editor.

After doing that, you just need to restart your PC and the issue should be resolved. By modifying the registry you’ll change the maximum file size to 4GB. Instead of restarting your PC, some users are recommending to restart WebClient service. To do that, follow these steps:

  1. Press Windows Key + R and enter services.msc.
  2. Once the Services window opens, locate WebClient service and restart it.
  3. Close the Services window.

After you restart the service, changes will be applied and file size limit will be removed.

2. Scan your PC for viruses

Several users reported that this error can occur due to malware infection. If you notice this error appearing on your PC, we strongly advise you to perform a detailed scan. To perform a detailed scan, you can try using two different malware removal tools. In addition, be sure to check your PC for spyware. After removing the malicious files, the error should be completely resolved.

3. Configure your SharePoint storage

Few users reported that The file size exceeds the limit allowed and cannot be saved message appears with files located in the SharePoint folder. To fix this issue, users are suggesting to configure your SharePoint storage so it can save larger files. Apparently, SharePoint has a storage limit, but you can easily change it. After doing that, you should be able to save files without any issues.

4. Set a file size upload limit

If you’re having this problem with SharePoint, you might be able to fix it by changing few settings. To do that, follow these steps:

  1. Login to Central Admin and navigate to Central Administration > Application Management > Manage Web Applications.
  2. Select the applications you want to change and click on General Settings.
  3. Once the General Settings opens, you’ll see Maximum upload size value. Change that value to 2047 MB and save changes.

After performing these steps, the error message should be gone.

5. Change the web.config file

In previous solution we showed you how to change the size limit in the Central Administration in SharePoint, but you can also do that for individual web applications. To do that, follow these steps:

  1. Open Internet Information Server console on server desktop.
  2. Open the Websites tree and select the desired website. Select Open in Explorer View option.
  3. Locate web.config file in the folder. Create a copy of that file and use it as a backup in case anything goes wrong. Open the original web.config file with Notepad or any other text editor.
  4. When Notepad opens, locate the <httpRuntime maxRequestLength=”51200″ /> line and change it to <httpRuntime maxRequestLength=”204800″ />.
  5. Repeat these steps for each server in the SharePoint farm.

6. Increase the machine-level request setting

According to users, you can fix this problem in SharePoint by making few changes in Administrative Command Prompt on each SharePoint server desktop. To do that, follow these steps:

  1. Open Administrative Command Prompt.
  2. Enter the following command: %windir%\system32\inetsrv appcmd set config -section:requestFiltering -requestLimits.maxAllowedContentLength:209715200.
  3. You should receive a confirmation message after applying this command.

The file size exceeds the limit allowed and cannot be saved message and ERROR_FILE_TOO_LARGE error usually affect SharePoint users. As you can see, this is a system limitation, but you should be able to remove it by using one of our solutions.


Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!