Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Issue: Paging file not being created properly

Symptoms: Performance Options dialog box on boot and a pop-up box stating "Windows created a temporary paging file on your computer because of a problem that occurred 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."

I have attempted to fix the issue using the command "sc config afs start= disabled" but the afs service does not exist. I also check for an existing pagefile.sys to attempt deletion but it does not exist either.

Edit: How do I fix it?

share|improve this question
1  
There's no question in your question. Did you do anything to the paging file recently? –  Wutnaut May 16 at 17:57
    
Try this: Turn off your paging file(s) on all drives, reboot, and re-enable it (you'll probably have to reboot again). Help any? –  Ƭᴇcʜιᴇ007 May 16 at 17:58
    
How do you fix it should be implied by me posting on here.. pretty sure you caught that by stating there is no question.. in my question. And no I did nothing to the pagefile. I have tried to set it numerous times but on reboot it has the same error. –  user324325 May 16 at 19:24
    
@user324325 - Don't be rude. Your original revision of the question didn't actually ask a question. –  Ramhound May 16 at 19:39
    
Sorry if you find that rude... but it should be obvious that I am seeking a solution to the issue. Pointing out that I did not flat out say how do I fix it before hand was rude in my opinion. –  user324325 May 16 at 20:53

1 Answer 1

pagefile.sys is a hidden system file in the root of whatever drive you assigned it to. I have several hdd so I moved mine to e: . If the E: drive disappears, for any reason, then windows displays the error message above. At one point, the hard drive was failing to spin up, so I didn't have an E: and got message.

If you set the swap file to another hard drive and set the original to no swapfile and then reboot. If you then "show hidden and system files" you can delete the pagefile.sys. If you want you can set the configuration back to the way it was.

However, you still need to examine why it happened in the first place. In the Start Menu search area type cmd. Right click and run as administrator. Then you need to chkdsk /r c: Yes, to do it on next restart. (substitute whatever drive the swap file is on) Reboot, make sure it starts, go to bed. (It takes hours to complete)

share|improve this answer
    
I have hidden/system files displayed but it does not appear, it is not getting created to begin with and the computer starts with a temporary pagefile stored elsewhere. I will run chkdsk and sfc when I get a chance. –  user324325 May 17 at 16:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.