How to Fix ERROR_NO_PAGEFILE

First, recover disk space by removing unwanted files and apps

Reading time icon 5 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

The ERROR_NO_PAGEFILE with error code 578 (0x242) and description {No Paging File Specified} No paging file was specified in the system configuration, indicates that your device is not able to locate a paging file, which is important for virtual memory management.

The paging file extends the physical RAM, allowing your operating system to swap data between hard disk and RAM.

How can I fix ERROR_NO_PAGEFILE?

1. Set the paging file manually

  1. Press Windows + R to open the Run window.System Properties ERROR_NO_PAGEFILE
  2. Type sysdm.cpl and click OK to open the System Properties window.
  3. Switch to the Advanced tab, go to the Performance section, and click Settings.Settings - ERROR_NO_PAGEFILE
  4. In the Performance Options window, go to the Advanced tab.
  5. Locate the Virtual Memory section and click Change..change virtual memory
  6. On the following page, remove the checkmark from the Automatically manage paging file size for all drives option.
  7. Choose C or the system drive letter you want to use for the paging file, then select the Custom size optionSet - ERROR_NO_PAGEFILE
  8. Set the Initial size equal to the installed RAM size and the Maximum size 1.5x to 3 times more than the physical RAM.
  9. Click Set.
  10. Click OK, then restart your computer to apply the settings and check if ERROR_NO_PAGEFILE persists.

2. Enable paging files via Registry Editor

  1. Press Windows + R to open the Run window.Regedit - ERROR_NO_PAGEFILE
  2. Type regedit and click OK to open Registry Editor.
  3. Before making any changes, back up registry entries. To do so, go to File>Export and save the .reg file to a desired location.Export ERROR_NO_PAGEFILE
  4. Navigate to this path: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
  5. Look for PagingFiles and double-click to open the Edit Multi-String window.Paging files ERROR_NO_PAGEFILE
  6. Now copy & paste the following and paste it under Value data, and click OK: C:\pagefile.sys 4096 8192
  7. If you can’t find PagingFiles, right-click on the empty space, click New, and select String Value. Then name it PagingFiles. Then, edit the string value data using steps 5 and 6.String value ERROR_NO_PAGEFILE
  8. Restart your computer to let the changes take effect.

3. Run the CHKDSK scan

  1. Press the Windows key, type cmd in the search box, and click Run as administrator from the list of options to launch Command Prompt with admin rights.CMD elevated
  2. Copy & paste the following command to run the chkdsk utility on the affected drive to scan and repair any file system issues. Don’t forget to replace the Letter C: with the affected drive letter, then hit Enter: chkdsk C: /fCHKDSK - ERROR_NO_PAGEFILE
  3. If the drive is in use, you will be prompted to schedule a scan after the restart; type Y and hit Enter.
  4. Now save all your work and restart your computer to initiate the chkdsk scan.

4. Free up the disk space

  1. Press Windows + R to open the Run console.Cleanmgr Run command
  2. Type cleanmgr and click OK to open the Disk Cleanup window.
  3. On the Disk Cleanup: Drive Selection window, choose the Drive and click OK.DISK C ERROR_NO_PAGEFILE
  4. Click the Clean up system file button.Clean up system files
  5. You will get the Disk Cleanup: Drive Selection window again, choose the drive and click OK.
  6. Select all the items listed under the Files to delete field and click OK.Click OK ERROR_NO_PAGEFILE
  7. Click Delete Files on the following window to confirm the action.Delete Files

If the drive is still low on storage and you see ERROR_NO_PAGEFILE, open it, go through each folder, and move or delete unwanted files, such as media files or unused software installers, from this drive to another one.

However, if you are dealing with a system drive, don’t move or delete the essential Windows folders, which are usually in C: Windows or C: Program Files. If you mistakenly migrate an important app or system folder to another drive, your system may not function properly. You should only move files or subfolders like documents and downloads from your user account folder, i.e., (C:\Users\[Your Username]). If you are unsure, avoiding moving files from system-related folders is safer.

5. Remove all unwanted apps

  1. Press Windows + I to open the Settings app.Apps - Installed apps ERROR_NO_PAGEFILE
  2. Locate and select Apps from the left pane, and click Installed apps.
  3. Go through the list of apps, locate unwanted apps one by one, click the three-dot icon, and select Uninstall from the context menu.Uninstall (2)
  4. Click Uninstall.uninstall confirmation  - ERROR_NO_PAGEFILE
  5. Next, go to the app’s official website and reinstall the application.

4. Move the paging file to another drive

  1. Press Windows + I to open the Settings app.
  2. Go to System and click About.
  3. Click Advanced system settings under Device specifications section.Advanced system settings ERROR_NO_PAGEFILE
  4. On the Advanced tab, look for Performance and click Settings.
  5. Under the Virtual memory section, click Change.
  6. Remove the checkmark next to Automatically manage paging file size for all drives.
  7. Under Paging file size for each drive, choose the desired drive.
  8. Select Custom size.Custom paging file - ERROR_PAGEFILE_QUOTA_EXCEEDED
  9. For the Initial size option, you can set 1.5x your physical RAM size, and for the Maximum size, you can set 3x your RAM size.
  10. Click Set.
  11. Click OK, then reboot your computer to apply the settings.

Changing the paging file location can also help you fix the ERROR_PAGEFILE_QUOTA_EXCEEDED

In conclusion, to fix the ERROR_NO_PAGEFILE, you can manually set the paging file value, change the drive for paging files, free up disk space, remove unwanted apps, use the registry editor to enable paging files, or run the CHKDSK scan.

In case you often encounter BSoD errors, you should know how to check the blue screen error log to understand them. We also have a guide on ERROR_PAGE_FAULT_DEMAND_ZERO so don’t miss it.

Did we miss a step that helped you fix the BSoD error? Feel free to mention it in the comments section below. We will add it to the list.

More about the topics: BSoD error codes, BSoD errors, Windows 11

User forum

0 messages