Deleting pagefile.sys at shutdown.

Discussion in 'Computer Support' started by No-one, May 7, 2005.

  1. No-one

    No-one Guest

    According to
    http://support.microsoft.com/default.aspx?scid=kb;en-us;Q314834 (How to
    clear the windows pagefile at shutdown) you do this:

    1. Start Registry Editor (Regedt32.exe).
    2. Change the data value of the ClearPageFileAtShutdown value in the
    following registry key to a value of 1:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
    Manager\Memory Management
    If the value does not exist, add the following value:
    Value Name: ClearPageFileAtShutdown
    Value Type: REG_DWORD
    Value: 1

    I have done this, but there is no evidence that anything has happened.
    The page file is always the same amount (717MB) although the time when
    it was last updated changes on reboot.

    Also, looking in explorer it says the file was created back in November
    2004, leading me to believe that it cannot possibly be a new pagefile
    that has been created on start-up.

    Does this make sense or am I missing something here? TIA.
     
    No-one, May 7, 2005
    #1
    1. Advertisements

  2. No-one

    Ron Martell Guest

    No-one <> wrote:

    >According to
    >http://support.microsoft.com/default.aspx?scid=kb;en-us;Q314834 (How to
    >clear the windows pagefile at shutdown) you do this:
    >
    >1. Start Registry Editor (Regedt32.exe).
    >2. Change the data value of the ClearPageFileAtShutdown value in the
    >following registry key to a value of 1:
    >HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
    >Manager\Memory Management
    >If the value does not exist, add the following value:
    >Value Name: ClearPageFileAtShutdown
    >Value Type: REG_DWORD
    >Value: 1
    >
    >I have done this, but there is no evidence that anything has happened.
    >The page file is always the same amount (717MB) although the time when
    >it was last updated changes on reboot.
    >
    >Also, looking in explorer it says the file was created back in November
    >2004, leading me to believe that it cannot possibly be a new pagefile
    >that has been created on start-up.
    >
    >Does this make sense or am I missing something here? TIA.



    Insofar as I am aware there is no documented instance of anyone ever
    recovering any usable information of any kind from the contents of the
    pagefile.

    I am at a loss to understand what this apparent extreme paranoia about
    the pagefile content is all about.

    Good luck


    Ron Martell Duncan B.C. Canada
    --
    Microsoft MVP
    On-Line Help Computer Service
    http://onlinehelp.bc.ca

    In memory of a dear friend Alex Nichol MVP
    http://aumha.org/alex.htm
     
    Ron Martell, May 7, 2005
    #2
    1. Advertisements

  3. No-one

    Guest

    On Sat, 07 May 2005 17:28:45 GMT, Ron Martell <>
    wrote:

    |>Insofar as I am aware there is no documented instance of anyone ever
    |>recovering any usable information of any kind from the contents of the
    |>pagefile.
    |>
    |>I am at a loss to understand what this apparent extreme paranoia about
    |>the pagefile content is all about.

    This was a big deal with PGP users during the transition from DOS to
    "multitasking" systems; paranoia just comes with the territory.
    http://security.resist.ca/wipeswap.shtml

    Or google: pgp windows swap file

    --
     
    , May 7, 2005
    #3
  4. No-one wrote:

    > According to
    > http://support.microsoft.com/default.aspx?scid=kb;en-us;Q314834 (How to
    > clear the windows pagefile at shutdown) you do this:
    >
    > 1. Start Registry Editor (Regedt32.exe).
    > 2. Change the data value of the ClearPageFileAtShutdown value in the
    > following registry key to a value of 1:
    > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
    > Manager\Memory Management
    > If the value does not exist, add the following value:
    > Value Name: ClearPageFileAtShutdown
    > Value Type: REG_DWORD
    > Value: 1
    >
    > I have done this, but there is no evidence that anything has happened.
    > The page file is always the same amount (717MB) although the time when
    > it was last updated changes on reboot.
    >

    Actually, it does not delete the pagefile and recreate it, because that
    would only lead to excessive fragmentation over time, and help nothing
    against raw-sector based recovery programs. Instead it "zeroes out" the
    file upon shutdown - you notice shutting down windows will take a little
    longer and the hd light goes on - but still it doesn't do the "paranoia
    type" of deleting, which is overwriting with random data multiple times.

    --
    Longhorn error#4711: TCPA / NGSCP VIOLATION: Microsoft optical mouse
    detected penguin patterns on mousepad. Partition scan in progress
     to remove offending incompatible products.  Reactivate MS software.
    Linux woodpecker.homnet.at 2.6.11-mm4[LinuxCounter#295241,ICQ#4918962]
     
    Walter Mautner, May 7, 2005
    #4
  5. No-one

    insane_ai

    Joined:
    Apr 23, 2007
    Messages:
    1
    Likes Received:
    0
    Location:
    Cleveland, OH
    deleting pagefile.sys

    I have found that this function is still useful. I perform beta testing on new products for my company and deleting the pagefile is required to recover from memory errors caused by bad code. I have not been able to recover any data from the pagefile to support this directly but I have noticed consistent results in my testing with this tweak isolated from any other tweaks. If you are concerned about cached processes or clearing the pagefile to recover from errors, this tweak is a good idea. If you are a general user or if you are not testing new software on your system, it is not necessary.
     
    insane_ai, Apr 23, 2007
    #5
  6. No-one

    FredDoolie

    Joined:
    Jun 30, 2009
    Messages:
    1
    Likes Received:
    0
    > Insofar as I am aware there is no documented instance
    > of anyone ever
    >recovering any usable information of any kind
    > from the contents of the
    > pagefile.

    > I am at a loss to understand what this apparent extreme
    > paranoia about
    > the pagefile content is all about.


    Well, in my own case it's not paranoia. It's the simple fact that if I don't redo the pagefile every few days my system gets severe brain damage. Icons are wrong. Right-click menus do random stuff or active all by themselves, I get "Not Enough Memory" errors (I have 2 gigs of RAM!) and every time the computer boots up it takes longer and longer to become ready and gets weirder and weirder.

    However, deleting the pagefile (using Linux on my dual-boot system) and letting Windows recreate it or zeroing out the file fixes everything. The system boots up fast and everything works. For a week or so. Then it goes mental and I have to redo the pagefile again.

    This has been a problem since the old days of Win98. Now I'm three computers later in my life and running Vista.
     
    FredDoolie, Jun 30, 2009
    #6
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. J E L I E L ³

    PRoblem with pagefile.sys

    J E L I E L ³, Oct 18, 2003, in forum: Computer Support
    Replies:
    7
    Views:
    9,566
  2. Jim

    pagefile.sys

    Jim, Nov 25, 2003, in forum: Computer Support
    Replies:
    2
    Views:
    2,603
  3. Jim

    Pagefile.sys drive location?

    Jim, Nov 26, 2003, in forum: Computer Support
    Replies:
    1
    Views:
    3,301
    Ralph Wade Phillips
    Nov 26, 2003
  4. SNTP

    pagefile.sys

    SNTP, Dec 21, 2003, in forum: Computer Support
    Replies:
    5
    Views:
    7,570
  5. Anony Mouse

    pagefile.sys

    Anony Mouse, Feb 14, 2004, in forum: Computer Support
    Replies:
    3
    Views:
    2,931
    contech24
    Feb 14, 2004
  6. Jim Berwick

    Pagefile.sys.

    Jim Berwick, Aug 15, 2004, in forum: Computer Support
    Replies:
    1
    Views:
    574
    Dino-UK
    Aug 15, 2004
  7. Douglas BISHOP

    Pagefile.sys Shows On Partition Where It Shouldn't

    Douglas BISHOP, Aug 9, 2005, in forum: Computer Support
    Replies:
    2
    Views:
    563
    BIG NIGE
    Aug 10, 2005
  8. Replies:
    3
    Views:
    28,847
    Walter Mautner
    Sep 18, 2005
Loading...