1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Disabling Swap File in WinXP Pro

Discussion in 'Windows XP' started by Rich B., 2002/09/19.

Thread Status:
Not open for further replies.
  1. 2002/09/19
    Rich B.

    Rich B. Inactive Thread Starter

    Joined:
    2002/09/13
    Messages:
    16
    Likes Received:
    0
    I imaged my C:\ drive with DriveImage 2002. I have WinXP Pro on it, and I was logged in as User w/Admin Privileges. I went into System/Control Panel and set my Swap File from 767MB to "No Swapfile "; clicked Set, and Apply, and re-booted.

    I then checked again, and my swap file size said "0 ".

    Now I defragged. Defrag ended with a msg saying "Some files could not be defragged "...One of them was Pagefile.sys...There was a *big* block of red (undefragged) data...767MB worth...

    I imaged it anyway, but I'd like to know why XP still was maintaining a 767MB swapfile when I had specified *no* swapfile...

    Do I *have* to be logged in as Administrator to delete the swapfile???
     
  2. 2002/09/19
    Zephyr

    Zephyr Inactive

    Joined:
    2002/01/21
    Messages:
    1,519
    Likes Received:
    0
    You will need to actually delete the existing pagefile after making the setting change. (of course after, it won't let you before)
     

  3. to hide this advert.

  4. 2002/09/19
    Rich B.

    Rich B. Inactive Thread Starter

    Joined:
    2002/09/13
    Messages:
    16
    Likes Received:
    0
    You mean after setting the swapfile to "0 ", I still need to delete it??? :rolleyes:

    That's crazy!!! What kind of coder would come up with an idea like that!?!?... :mad:

    ...But thanks for the info! :D
     
  5. 2002/09/19
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    Why not go to www.sysinternals.com and get their free utility to defrag the pagefile (was called swap file on 9X systems) and the other registry hives that you also can't defrag while the OS is running.

    It can be set to defrag at next boot or at every boot and will finish before those parts of the system load and are locked as being in use. Or you can just run it to get a quick report on how much fragmentation you have.
     
    Newt,
    #4
  6. 2002/09/19
    Rich B.

    Rich B. Inactive Thread Starter

    Joined:
    2002/09/13
    Messages:
    16
    Likes Received:
    0
    I'm not sure it'd be worth it...

    The difference between with and without the Page File was only 10MB... :( (The compressed image, I mean)...
     
  7. 2002/09/19
    Zephyr

    Zephyr Inactive

    Joined:
    2002/01/21
    Messages:
    1,519
    Likes Received:
    0
    Rich B.

    I'm not sure whether it's bad coding or not. I do remember having to delete it a time or two when I was preparing to burn a drive image, but I don't remember if I set it for "0" or "No Paging File" That could make a difference I suppose. I escaped the whole issue by relocating my Pagefile on my secondary drive. I just keep it set at 334 min and 4096 max and never look at it any more. When I get ready to burn the boot drive, it's a no brainer, which fits me to a tee. :)
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.