Share Same Pagefile.sys Virtual Memory Paging File for Dual-Boot (Multiple) Windows to Conserve Disk Space

Even though you have multiple gigabytes of physical memory (RAM modules), Windows operating system, especially Windows Vista and Windows 7 is always hungry for more memory. And virtual memory is the free and easy resolution, by using a paging file stored on hard disk which can be used as if it’s RAM. However, virtual memory’s paging file, i.e. pagefle.sys with system and hidden attributes, takes up hard disk drive space.

On dual-boot or multi-boot system running multiple instances of Windows operating system on different hard disk drive (partition or volume), there will be multiple copy of pagefile.sys created and existed on all system drive. On PC computer running low on drive space, multiple pagefile.sys files will waste more disk space, as normally each pagefile.sys has the size of 1 GB or more, sometimes more than 4 GB, depending on physical RAM installed. Similar situation can also happen on virtual machines, where each virtual hard disk gets unnecessary bigger due to own paging file (However, it’s unlikely more than 1 virtual machine can run at the same time if using same page file).

In order to avoid wastage of disk space to VM paging file, there is workaround that instructs Windows XP, Windows Vista, Windows 7, Windows Server 2003 and Windows Server 2008 to use the same single paging file. The hack allows pagefile.sys to be shared among all installed instance of the operating system, as long as the OS can ’see’ and access the pagefile.sys and filesystem on antoher HDD partition or volume that meant for another OS.

In order use only a single pagefile.sys for all Windows operating systems installed on the PC, user first has to decide which drive to place the pagefile.sys. The drive can be existing system drive for an operating system (which means no chance is required for the installed OS), or a new formatted partition or drive.

Once determined which drive to place the pagefile.sys, the partition volume must be visible to the each and every system to share the paging file. If the partition is not visible, add in the disk or assign drive letter using Disk Management in Computer Management of Control Panel. Next, determine the drive letter path of the drive.

To switch and change the system’s paging file to use the shared pagefile.sys, right click on Computer, and select Properties. Then click on Advanced system settings (in Windows XP and Windows Server 2003, go to Advanced tab). Click on the Settings button in the Performance section, then go to Advanced tab. Under the Virtual memory section, click on Change button. Uncheck the option of Automatically manage paging file size for all drives. For all drives that you don’t want pagefile.sys to exist, select them and then set as No paging file to disable paging file storage on the drive. For the drive that contains the shared pagefile.sys, set it as Custom size (and enter the value for initial size and maximum size), or System managed size.

Repeat the process for each operating system installed. Remember that the drive letter for pagefile.sys may be different for different booted OS, especially when user installs each operating system on different partition.

Tip: If the pagefile.sys (hidden by default) still exists on drive not with the shared pagefile.sys after the trick, delete the file away.


4 Responses to “Share Same Pagefile.sys Virtual Memory Paging File for Dual-Boot (Multiple) Windows to Conserve Disk Space”

  1. lee
    March 17th, 2009 01:41
    4

    Been doing this for several years now with Windows 2000 and XP systems. Always worked, never had a problem.

    In fact what I normally do when setting up a new system is create a separate partition in FAT16 dedicated to the pagefile and nothing else.

    Now try to get a usb flash drive to be your pagefile, now that would be a hack.

  2. space
    December 29th, 2008 10:47
    3

    why is it called a hack? it’s not a hack at all. it’s a great trick and i started doing this a couple months back. no problems yet.

  3. Hok
    December 29th, 2008 09:46
    2

    I have doing that years. And I doesn’t not find any problem at all.

  4. 90014
    December 29th, 2008 05:49
    1

    Hi, I started doing this a couple months ago. I’ve not had a problem yet. :)

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

pagefile.sys windows 7 - windows 7 pagefile.sys - pagefile.sys win 7 - windows 7 paging file - can pagefile.sys be shared between two installations - pagefile.sys "windows 7" - windows 7 resize Pagefile.sys - windows 7 change pagefile.sys location - page file dual boot - vista xp share pagefile - Windows dual boot shared pagefile - antoher OS installed - does windows 7 use pagefile.sys - page file on two hard disk windows 7 - win 7 manage page file - pagefile.sys+windows 7 - what is pagefile.sys windows 7 - windows 7 page file virtual partition - Windows 7 Page File on USB Drive - "Windows 7" USB PageFile - how to fix low disk space using pagefile.sys - manage pagefile.sys multiple hard drive - pagefile.sys run on USB drive - pagesile.sys windows 7 - pagefile.sys windows 7 bootcamp - share pagefile between two operating - how to reduce size of pagefile.sys server 2003 - pagefile on virtual machines - pagefile.sys - pagefile on usb windows 7 - should you remove xp pagfile if using vm - vista multiple pagefile - what hard to place the virtual memory paging files - windows dual boot share paging file - windows vista 7 share pagefile - how to fix low disk space error with pagefile.sys - put pagefile on different partition - sharing home page file between windows vista and 7 - windows 7 pagefile.sys - is paging file same as shared memory - multiple pagefile windows 7 - mydigitallife delete page.sys files to reduce space - pagefile delete - remove pagefile.sys windows 7 - win7 pagefile - pagefile dual boot - how large page file windows 7 - how to modify pagefile.sys windows 2003 - pagefile dualboot - "windows 7" pagefile.sys -