Windows Error: (223): The file size exceeds the limit allowed and cannot be saved


If you see the following error (or similar) in the profile logs:


Cannot copy file (223): The file size exceeds the limit allowed and cannot be saved


when trying to copy from a network location, a file that is larger than 50000000 bytes, the client computer interprets this download as a denial of service attack. Therefore, the download process stops.


Microsoft suggests the following steps to resolve the issue:

  • Click Start, click Run, type regedit, and then click OK.
  • Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters
  • In the right pane, right-click the FileSizeLimitInBytes value, and then click Modify. If you cannot see the FileSizeLimitInBytes value, right-click the blank space in the right pane, click New, click DWORD Value, type FileSizeLimitInBytes, and then click OK.
  • In the Edit DWORD Value box, click to select the Decimal option. In the box under Value data, type a value that is larger than the size of the file that you want to download. Click OK. Note The default value for the file size limit is 50000000 bytes.
  • Quit Registry Editor. Restart the computer.

The same error may also occur if trying to copy to a Sharepoint server (or similar) that is configured with a maximum permitted file size.