Windows 10 Paging file error on boot up

Posted on

Error:

Windows created a temporary paging file on your computer because of a problem that
occured with your paging file configuration when you started your computer. The total paging
file size for all disk drives may be somewhat larger than the size you specified

If you get errors that Windows cannot create a paging file, you can do the following:

  1. Try repairing the drive by checking fro errors and defraging
  2. Delete the [pagefile.sys] and reboot
  3. Modify the registry to verify the paging file has a location

Deleting Paging File

  1. Log in under a local Administrator account. (Do this after each restart in these instructions as well.)
  2. If it’s not already open, open the virtual memory settings by rich-clicking on Computer, → PropertiesAdvanced System Settings → click the Advanced tab → Under Performance, click Settings, go to Advanced tab, finally under Virtual Memory section click the Change button.
  3. Uncheck the Autmatically manage paging file size for all drives checkbox.
  4. Set a “Custom size” for the paging file on the C drive: 0MB initial, 0MB maximum.
  5. Click OK, close all dialog boxes, and restart your computer.
  6. After logging in again, delete the file C:\pagefile.sys
    1. To do this, you may need to change your folder settings so you can see it first. Open a window of your C: drive and click Organize at the top, then Folder and Search Options
    2. Click the View tab, and make sure Show hidden files, folders and drives is turned on, and that Hide protected system files is not checked.
    3. Click OK and go back to your C: drive, find pagefile.sys and delete it.
  7. Now go back to the virtual memory settings (see step 2 above) and set the paging file for the C: drive to System managed size, and then make sure the Automatically manage paging file size for all drives checkbox is checked.
  8. Click OK, close all dialog boxes, and restart your computer.

Registry Change

HKLM\SYSTEM\ControlSet001\Control\Session Manager\Memory Management/PagingFiles