ERROR_PAGEFILE_CREATE_FAILED 0x80070240
Error code 576 · HRESULT 0x80070240
The creation of the paging file … failed (…). The requested size was ….
What it means
ERROR_PAGEFILE_CREATE_FAILED is a Windows error code (system error 576, returned as HRESULT 0x80070240) reported by Windows. Its official message is: “{Unable to Create Paging File} The creation of the paging file %hs failed (%lx). The requested size was %ld.”
How to fix ERROR_PAGEFILE_CREATE_FAILED
- Verify the path/file actually exists and is not blocked by antivirus quarantine
- Reinstall the application that raised the error to restore missing files
- Check the full path spelling (long paths >260 chars need a registry opt-in)
- Run 'chkdsk /scan' on the affected volume and read the report
- Check disk health: 'wmic diskdrive get status' or CrystalDiskInfo SMART values
- If errors return on a clean disk, replace the drive — sectors are degrading
Related errors
Source: Microsoft WinError.h
Last updated: