Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to delete or resize pagefile.sys in WinXP? Changing properties in "My Computer" doesn't work, changing properties in Administrative Tools > Computer Management doesn't work either.

share|improve this question
4  
In what way doesn't it work? – Tom Wijsman May 1 '11 at 23:51
1  
I set sizes (original, maximal) of pagefile.sys to, say, 10 MB, then click "Set", then "OK", then reboot. File is 3.5 GB after reboot, did not changed. – DSblizzard May 4 '11 at 3:02
up vote 2 down vote accepted

First, I'd highly recommend you invest in some extra storage space (if that's the concern) rather than do this. If you have a lot of physical RAM, you probably don't need the page file in a practical sense, but it's a safety net that will prevent hard "out of memory" errors, particularly with older programs.

That said, you can use the pagefileconfig.vbs script that's in system32. Example (if you were concerned about the D drive):

PAGEFILECONFIG.vbs /Delete /VO D:

After reboot it should rebuild the page file with the size you've set.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .