Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    Regular Coder
    Join Date
    Sep 2010
    Location
    London, UK
    Posts
    169
    Thanks
    28
    Thanked 0 Times in 0 Posts

    Swap file settings 'changed but not changed'!!!

    Hi,

    I have a Windows laptop with Windows XP SP3 installed (on both new and old drives).

    I have been getting this problem lately (within the last year) and can't quite figure out how to resolve it or where the problem is.

    I changed my swap file settings on the hard drive I have (a 400GB laptop HD partitioned into 5 partitions) to have the swap file (pagefile.sys) on a different partition to the one where Windows is installed. I did this through the virtual memory settings.

    The settings 'took' (after clicking on SET) and I rebooted my laptop and checked to see if the swap file had moved to the new partition. It had not. It was still showing as being in the root of C (the Windows installation partition). I left this alone, since I couldn't get it to switch over to the other partition, until today when I tried installing a new 1TB drive on my laptop. I installed Win XP SP3 after partitioning my drive into 7 partitions and tried changing the swap file settings. The same thing happened. I changed the settings in the 'Virtual Memory settings' and placed the swap file on another partition, clicked 'SET', reboot the laptop and saw that the pagefile was still on C:\ drive (Windows installation partition), even though the settings still showed it on another drive partition.

    Since I didn't want this swap file on C:\ I did a search to see if there was anything on the 'net about this problem. I found an article that gave the registry location of this swap file setting. When I got to this registry item I found that the registry entry did indeed point to the NEW location of the swap file yet in Windows explorer the pagefile.sys file was shown as being in C:\ and NOT the new location.

    Can anyone tell me what the problem is and how to rectify this so that the pagefile.sys file shows up in the correct drive when viewed via Windows explorer?

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    How big is the pagefile.sys on the C: drive? And is there one at the new location too?
    OracleGuy

  • #3
    Regular Coder
    Join Date
    Sep 2010
    Location
    London, UK
    Posts
    169
    Thanks
    28
    Thanked 0 Times in 0 Posts
    Hi oracleguy,

    Thanks for responding.

    The pagefile.sys in C:\ is 1,563,056,000 bytes (1.563GB) in size and there is no pagefile.sys in the new location.

    One additional note ... I hibernate the system regularly instead of putting it into standby. So there is also a hiberfil.sys file on C:\ too. The size of this file is 1,563,124,000 bytes in size.

  • #4
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    turn off the option to use a page file altogether. reboot.
    turn on option to have pagefile on alternate drive. reboot.

    that should do it, xp can be stubborn.

  • #5
    Regular Coder
    Join Date
    Sep 2010
    Location
    London, UK
    Posts
    169
    Thanks
    28
    Thanked 0 Times in 0 Posts
    Hi DanInMa,

    I did what you said, even going so far as to delete the pagefile.sys after setting the computer to have no pagefile.sys.

    But it didn't work. After setting the pagefile.sys to be on another partition I rebooted the computer and found that the same problem was happening - pagefile.sys is on C: but in the registry it shows the correct partition that I chose.

    I have no idea how this is possible.

  • #6
    Regular Coder
    Join Date
    Sep 2010
    Location
    London, UK
    Posts
    169
    Thanks
    28
    Thanked 0 Times in 0 Posts
    Well, I have been trying to get this damn swap file to be in the correct partition for the last few hours.

    I even tried installing a version of Windows XP SP3 that had SATA drivers (which the other install did not). All to no avail.

    There was a moment when, after getting the system to have zero pagefiles anywhere, I changed the pagefile settings to the partition I wanted Windows then came up with a pop-up balloon message saying that Windows Virtual Memory is getting too low and it will adjust the pagefile size. I checked on the new partition and it showed a pagefile.sys file there. But after rebooting the pagefile when back over to C:\.

    I even checked the registry again and looked for all pagefile settings and changed all of them to reflect the new partition location. This still didn't work.

    This is really bothering me and am wondering if it has anything to do with my actual hardware.

    In the past I have had absolutely no problems in getting the swap file location changed and I have no idea why it is not doing what it used to do before.

    How is it that the registry entry can show one thing yet the pagefile shows as being somewhere else (C:\)?

  • #7
    Regular Coder
    Join Date
    Sep 2010
    Location
    London, UK
    Posts
    169
    Thanks
    28
    Thanked 0 Times in 0 Posts
    Just some more info for those looking at this.

    When spending a few hours yesterday trying to get the swap file settings to work properly, it was done on a new hard drive without being hooked in to the internet. So there was no possibility of any type of virus/trojan/malware etc causing a problem.

  • #8
    Regular Coder
    Join Date
    Sep 2010
    Location
    London, UK
    Posts
    169
    Thanks
    28
    Thanked 0 Times in 0 Posts
    Well,I sorted this out in the end.

    I set C:\ to 0 min & max, then set my new partition to a fixed size of 3GB. That worked.

    And nimohostco, why bother posting if you don't have anything of value to add?

    This thread is now solved.

  • #9
    New Coder
    Join Date
    Jan 2013
    Posts
    71
    Thanks
    3
    Thanked 2 Times in 2 Posts
    Why dont you make it as in zip file and store it ?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •