There is not enough space on disk to complete the operation
There are several possible reasons why Windows may report that there is not enough disk space even though there is plenty of space available:
To resolve the issue, you can try the following solutions:
#1 Use Disk Cleanup: Use the built-in Disk Cleanup tool to remove temporary files, system files, and other unnecessary data from your hard drive.
To run disk cleanup on a Windows computer, go to the Start menu, search for "Disk Cleanup," select the drive you want to clean up, and click "OK."
#2 Check Disk for Errors: Use the Check Disk tool to scan your hard drive for errors and fix any issues that are found.
To check for disk errors on a Windows computer, go to File Explorer, right-click on the drive you want to check, select "Properties," click on "Tools," then "Check."
Or you may use free tool Partition Resizer that can help find and repair bad sectors on hard drive or any storage media.
#3 Adjust Virtual Memory Settings: Adjust the virtual memory settings on your computer to ensure that they are not set too high.
To adjust virtual memory settings on a Windows computer, go to "System Properties," select "Advanced system settings," click on "Settings" under "Performance," then "Advanced," and choose "Change" under "Virtual memory."
#4 Show Hidden Files: Show hidden files and folders to check for any large files that may be taking up space on your hard drive.
To show hidden files on Windows 10: Open File Explorer, click on the "View" tab, check the "Hidden items" box in the "Show/hide" section.
#5 Disable Disk Quotas: Disable disk quotas if they are enabled on your computer and causing issues.
To disable disk quotas on Windows 10: Open File Explorer, right-click on the drive you want to disable quotas for, select "Properties," click on the "Quota" tab, and uncheck "Enable Quota Management."
#6 Expand the drive with free tool:
You may add as many GB disk space to the drive using the free tool Partition Resizer if there are free space from other volumes on the same disk or there are unallocated space on the disk.
Video - how to shrink d drive to expand c drive with free tool