Results 1 to 5 of 5

Thread: How to remove Pagefile.sys from Windows

  1. #1
    Join Date
    Aug 2006
    Posts
    227

    How to remove Pagefile.sys from Windows

    I am running windows xp on my hp desktop. After updating my windows i have noticed that the file pagefile.sys always in C drive. It's almost 2. 9GB in size - I was wondering if I could delete it to make some space in hard disk. it's a hidden file and do i need this or can i delete it? thx in advance.

  2. #2
    Join Date
    Apr 2008
    Posts
    3,267

    Re: How to remove Pagefile.sys from Windows

    This is a 'file' generated/used by windows as 'virtual' memory; that part of the drive behaves as though it was RAM...If you have lotsa ram (like 512) then you probably won't ever use it. However, some programs won't run without that there (even if it never uses it).When physical RAM is fully used and there is need for more, infomation/data not currently being accessed can be 'swaped' to that location and thus free physical RAM for immediate use.

  3. #3
    Join Date
    Apr 2008
    Posts
    3,522

    Re: How to remove Pagefile.sys from Windows

    Pagefile.sys is a virtual memory file. Normally the size of pagefile.sys is around 1.5 times of your physical memory size. When you boot into Recovery Console and try to delete the Pagefile.sys file, the file is not present. Windows uses this file for its normal operation however if you really need the space you can delete it after turning the virtual memory option off. 512 meg of memory is not enough to be able to decrease your page file in most cases.

  4. #4
    Join Date
    Nov 2005
    Posts
    3,026

    Re: How to remove Pagefile.sys from Windows

    Pagefile.sys is the Windows paging file, also known as the file that Windows uses as Virtual Memory.They are used by Windows for hibernation and virtual memory control. The pagefile.sys shouldn't be any larger than your Ram. If by chance you have h/d space issues like I did, you can change the location of the pagefile to another volume or partition on your computer or server.

  5. #5
    Join Date
    Jan 2008
    Posts
    3,388

    Re: How to remove Pagefile.sys from Windows

    • Boot into Recovery Console.
    • Because you boot into the %SystemRoot% folder (most commonly the C:\Winnt folder), type the following command:
    • cd \
    • Type the following command to overwrite the existing Pagefile.sys file with Boot.ini:
    • copy c:\boot.ini pagefile.sys
    • Type the following command:
    • del pagefile.sys
    • After you copy Boot.ini over to Pagefile.sys, Pagefile.sys appears in the directory listing.

Similar Threads

  1. Change Virtual Memory/PageFile Size in Windows 7
    By Rudra.J in forum Tips & Tweaks
    Replies: 6
    Last Post: 15-05-2012, 04:53 PM
  2. Windows 7: Superfetch? Pagefile? Write-cache buffering?
    By Gopu Pa in forum Hardware Peripherals
    Replies: 2
    Last Post: 22-09-2011, 11:11 AM
  3. Replies: 5
    Last Post: 09-03-2011, 10:08 PM
  4. How do you empty the pagefile in Windows XP
    By Arif15 in forum Operating Systems
    Replies: 3
    Last Post: 13-07-2009, 11:56 PM
  5. Do I need pagefile with 4GB of RAM
    By Sonic in forum Operating Systems
    Replies: 5
    Last Post: 27-10-2008, 04:32 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,342,387.47008 seconds with 16 queries