RECOMMENDED: Click here to fix Windows errors and optimize system performance
The error code 0x80070299 has a message similar to “The requested operation could not be completed due to a file system limitation”. This is caused by a very fragmented file in an NTFS file system volume. The volume must not exceed a certain size caused by an implementation limit in the structures used to describe the assignments.
You will receive the said error message when you try to copy a large file to a new location.
Open Start, Type: CMD
Right click CMD
Click Run as Administrator.
At the command prompt, type OR copy and paste one after the other: (Press the Enter key after each one).
Unmount /On-line /Clean image /CheckHealth
Dism /Online /Cleanup Image /ScanHealth
Restore Dism /Online /Cleanup-Image /RestoreHealth
Applying a Microsoft Hotfix
A supported patch is available from Microsoft. However, this patch is intended to solve only the problem described in this article. Apply this patch only to systems that encounter the problem described in this article. This patch can be tested in addition. Therefore, if you are not seriously affected by this problem, we recommend that you wait until the next update of the software that contains this patch.
If the patch is available for download, there is a “Patch Download Available” section at the top of this article in the knowledge base. If this section does not appear, contact customer service and Microsoft support to get the patch.
To run this utility in Windows, you must open the command prompt in administrator mode. Right-click on the Start menu or press Windows+X on your keyboard and select “Command prompt (Admin)” from the Admin menu.
If the command prompt is open in administrator mode, you can run the utility with the following syntax:
SFC [/SCANNOW] [/VERIFYONLY] [/SCANFILE=<file>] [/VERIFYFILE=<file>]
[/OFFWINDIR=<offline windows directory> /OFFBOOTDIR=<offline boot directory>]
The most useful option is only to immediately scan the entire system, which scans all files that have been modified or corrupted and tries to do so. You can do it with this order:
Alternatively, you can use the sfc /verifyonly command to search for problems but not to perform repairs.
Hard disk defragmentation
By default, Windows regularly defragments the volume; it is scheduled via the Windows Task Scheduler. The most vulnerable files are as follows
written between two defragmentations with sufficient fragmentation to trigger the problem. Backups seem to be an excellent example. A new deduplication (or compression) of a complete volume can also trigger this operation.
Files that are always open, such as SQL or Exchange databases. Files that are still open are not available for defragmentation.