Is there a way to move the pagefile?

Associate
Joined
28 Jan 2005
Posts
1,005
Just used the Microsoft pagedefrag thingy to get my pagefile into one contiguous block (was is 16 fragments!). Unfortunately the stupid thing is now almost at the slow end of the hard drive!

Anyone got any way of moving the whole thing to a different part of the disk, ie to the start where the OS and bootfiles are for a bit more speed?

Thanks.
 
Disable your pagefile, reboot and delete pagefile.sys in root of your bootdrive. Then enable your pagefile, and you maybe lucky enough to find it has moved.

Btw, this is my own diy approach, no idea if it's recommended. However, it worked for me several times.
 
I'll give that a shot.

I was kinda hoping people would have some sort of utility that would run outside of Windows that could reorganise the hard drive files and move it.

But your method should move it a good few gigs towards the start of the drive once it's had a good defrag.

Ta.
 
Right click My Computer - Properties - Advanced - Settings (Under Performance)
Advanced again - Change (Under Virtual Memory)

Disable the pagefile on C: and select the drive you want it on, then set whatever size you want. Pagefile moved.
 
ubern00b said:
Right click My Computer - Properties - Advanced - Settings (Under Performance)
Advanced again - Change (Under Virtual Memory)

Disable the pagefile on C: and select the drive you want it on, then set whatever size you want. Pagefile moved.

Need it to stay on the c: - this is on a laptop so no options for another drive :(
 
I think you need some specialized defrag program, that allows you to move the pagefile to the beginning of the drive.
 
Dr_Evil said:
I think you need some specialized defrag program, that allows you to move the pagefile to the beginning of the drive.

That's what I was hoping for I guess. Diskkeeper can defrag it (and the MFT) but doesn't allow me to say where on the drive I want it put. I know Norton Systemworks used to allow it back in the 2002-2003 days but I think that only worked for Win98, plus I don't have Systemworks to hand....
 
Glass said:
Turn the drive into a dynamic volume, then create a partion for jus the page file.


really bad advice

you should never put the pagefile on a seperate partition of your system drive, the hard drive has to work a lot more when it's setup like this, any pagefile benchmark 'review' online will prove that
 
michael baxter said:
Give my DIY approach a shot, it only takes a minute!

tried that and now have the file as one block in one place, instead of lots of fragments, but it's quite near the end of the drive with it being nearly full.
 
bledd. said:
really bad advice

you should never put the pagefile on a seperate partition of your system drive, the hard drive has to work a lot more when it's setup like this, any pagefile benchmark 'review' online will prove that
I take it the preferred method is to put the swap file on a totally separate drive to the OS?
 
Back
Top Bottom