Moving Paging File to another Partition

Page 2 of 4 FirstFirst 1234 LastLast

  1. Posts : 5,092
    Windows 7 32 bit
       #11

    I've run into that before. I made a small page file on another partition so that I could delete the one in the system partition and defrag. The system switched me to using the page file on the other partition, but it didn't delete the current one. It was some time ago so I forget how I got rid of it. Maybe took ownership and changed attributes or something.

    They should really change that dialog. I don't know how many times I've switched the paging from system control to user control, clicked all the Apply and OK buttons, only to go back in and see the new setting didn't "stick." Sometimes it takes setting it like 3 times before it stops reverting to the default.
      My Computer


  2. Posts : 1,777
    MS Windows 7 Home Premium SP1 64-bit (Family Pack Lic.) Upgrade
       #12

    the pagefile in use should change size over time, but i'd be leary of removing the other with that explination. I believe theres a key in windows registry that purges the curent page file and starts a new one upon reboot, i thought it would be mentioned in that tutorial, but, that might prove helpful in the future.


    glad to contribute,
    mike
      My Computer


  3. Posts : 124
    win7hp64
       #13

    did you try to delete extra page file? if the file is in use (active page file), it won't let you delete it, if it's not in use then it's all garbage and you should be able to delete it after going thru permission hoops. I did this (move page file to another hard drive) under xp and don't remember exactly now, but I think I needed to remove it manually.
      My Computer


  4. Posts : 1,777
    MS Windows 7 Home Premium SP1 64-bit (Family Pack Lic.) Upgrade
       #14

    Pete4 said:
    did you try to delete extra page file? if the file is in use (active page file), it won't let you delete it, if it's not in use then it's all garbage and you should be able to delete it after going thru permission hoops. I did this (move page file to another hard drive) under xp and don't remember exactly now, but I think I needed to remove it manually.
    hey Pete,
    I'd be careful using the ability to delete one of the pagefiles as a "test" of sorts. The second copy may be active too?! True it should restrict th deletion of an active pagefile, but it may the inactive one may also be unable to be deleted due to its protected status. I would think if the process would remove the restrictions, it would simply remove the file at the same time. Seems reasonable enough, right? As i mentioned, the pagefiles could simple be observed at say 3 point of time maybe 5-10 min apart and surely one will be dynamically resizing (if not stress the system memory with a handful of open browsers or photoshop sized apps)

    Mike
      My Computer


  5. Posts : 5,092
    Windows 7 32 bit
       #15

    rubyrubyroo said:
    the pagefile in use should change size over time, but i'd be leary of removing the other with that explination. I believe theres a key in windows registry that purges the curent page file and starts a new one upon reboot, i thought it would be mentioned in that tutorial, but, that might prove helpful in the future.


    glad to contribute,
    mike
    After reboot and one checks the settings, it should point to the new page file, the old one should be gone. Doesn't always happen though. Sometimes you end up with the new page file in use, the old one sitting taking up space. I believe in XP you could just delete it from the Owner account. But in Vista and later if you're in that position you need to take ownership yadda yadda.
      My Computer


  6. Posts : 1,777
    MS Windows 7 Home Premium SP1 64-bit (Family Pack Lic.) Upgrade
       #16

    thats basically what I'm implying.... the second pagefile has the however unlikely potential, to be "open" for read/write ops thinking it is the real page file, although windows is merely interacting with the true file, whatever method it uses to keep track of the location(s) of page file(s) may flag it as such. making it tricky, like in the game "operation" only instead of a red nose bulb and buzzer, it is hooked up to who knows what virtual memory management services/processes. So I'd do all I could to maybe even "trick" windows into deleting it (maybe switch it to the second drive, reboot, then put it back on the first, and reboot) - type of trick, just realize it's possibly fire your messin' with!


    EDIT: and can a protected file be taken ownership of? assuming it still holds this status.
      My Computer


  7. Posts : 1,777
    MS Windows 7 Home Premium SP1 64-bit (Family Pack Lic.) Upgrade
       #17

    the reg key I was referring to:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\ClearPageFileAtShutdown = 1

    will purge the pagefile during reboot

    zero is the default state ( i believe it resets itself after the purge, but might want to double check it is set back to 0 )


    Mike
      My Computer


  8. Posts : 140
    Windows 7 Home Premium x64
    Thread Starter
       #18

    Attempt to Move Page File (Continued!)


    I decided to re-start this attempt from a position which existed before my efforts described in this thread,

    I achieved this by using a previously created Restore Point of my C Primary Partition to return to a previous state of the PC.

    The PC has 2 hard drives DISK0 and DISK1

    DISK1
    This is partitioned into 2 Volumes:- C: Boot (Primary) & G: a Logical Drive

    DISK0
    This is partitioned into 2 Volumes , both Primary Partitions D: & F:

    I now notice that there is a Page File in both the C: drive and also in the D: Drive.
    This was something I did not notice before.

    What I want to do is remove the page file from the C: Drive in order to keep any Image File created of this drive as small as possible.

    Is this a possibility considering that there exists 2 page files ?
      My Computer


  9. Posts : 740
    Windows 7 Ultimate x64
       #19

    rubyrubyroo said:
    the reg key I was referring to:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\ClearPageFileAtShutdown = 1

    will purge the pagefile during reboot

    zero is the default state ( i believe it resets itself after the purge, but might want to double check it is set back to 0 )


    Mike
    This option will not delete the page file but simply write over all the bits in the file with 0's so data recovery cannot easily be performed on the page file and a picture of what the machine was last used for cannot be constrewed.

    This will significantly slow down your shutdown time and is recommended for use by Gary Glitter!

    Please note the new pagefile will be created immediately but in the case of selecting to remove an existing one the system will need a restart. It usually works for me first time.

    As for the dynamic resizing, I effectively disable this by setting the max and min to the same value, I just ensure that value is high enough (3GB on my system).
      My Computer


  10. Posts : 1,777
    MS Windows 7 Home Premium SP1 64-bit (Family Pack Lic.) Upgrade
       #20

    alright, so 1 system partition? multi win partitions, mixed OS's.

    If, as I had previously believed, C: is sys/boot part. : windows 7 (sole OS). and D: is going to be page file space to roam, then you have 2 active pagefileS for the C: win7 sys and you just need to remove the original C: default location pagefile.sys file leaving ONE pagefile on D:

    am I understanding in any capacity ?


    mike

    ......yes...no...maybe so
    because I can easily spew forth an answer.......
      My Computer


 
Page 2 of 4 FirstFirst 1234 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:56.
Find Us