1

I'm using XP and I want to delete the file pagefile.sys enter image description here

It is covering 4GB of data and I want to delete it. I have installed treesize free software and deleted the pagefile.sys but after restart it come back again. I have gone to My computer > Properties > Advanced > startup and recovery > settings > write debugging information I have set to small memory dump (64KB). And also yet it show 4GB after restart. Is there any solution to delete it permanently so that I can free up the disk space?

enter image description here

nO PAGING SET

enter image description here

atek
  • 179
  • 4
  • 10

1 Answers1

6

This answer assumes you know and accept the consequences of deleting the page file.

You can disable it by doing the following:

  1. Open the System Properties window
  2. Navigate to the "Advanced" tab.
  3. On the "Performance" section, choose the "Setting" button.
  4. On the "Performance Options" dialog box that opens, navigate to the "Advanced" tab.
  5. On the "Virtual Memory" section, click on "Change". It will open "Virtual Memory" window.
  6. Uncheck the option "Automatically manage paging file size for all drives"
  7. Select the drive where pagefile.sys file is situated.
  8. Select "No paging file" and click on "Set".
  9. Click on "OK".
  10. Restart your computer so that the change could take effect.

This will delete the pagefile.sys system file.

You might also consider leaving it at System Managed state, as suggested by Journeyman Geek♦:

see here

Donald Duck
  • 2,473
  • 10
  • 29
  • 45
13dimitar
  • 799
  • 6
  • 12
  • There is no virtual memory group. Note I have ask for xp not for win 7 or win8. I have attach the image – atek Feb 06 '17 at 11:49
  • 2
    Click on `Settings` under `Performance` .. – 13dimitar Feb 06 '17 at 11:56
  • I believe in Windows XP a restart is required for the setting to be effective. – LPChip Feb 06 '17 at 11:57
  • 1
    My answer *effectly* covers the same ground as yours - other than that I recommend leaving it at system managed. If you wish, feel free to use my screenshot of the systems properties and other windows in any way you see fit https://i.stack.imgur.com/T6Oep.png I've confirmed this works on an XP vm – Journeyman Geek Feb 06 '17 at 13:56
  • @13nilux after following the steps and restart still the same 4GB is back – atek Feb 09 '17 at 12:04
  • @atek you're doing something wrong, follow the steps exactly as described. You should be logged in with Administrator account (or account member of the Administrators group, having admin privileges). Restart your computer and it will work. – 13dimitar Feb 09 '17 at 12:05
  • @13nilux I have attach a new screenshot with no paging set – atek Feb 09 '17 at 12:16
  • Did you do step 6 - Uncheck the option "Automatically manage paging file size for all drives"? - not just for C:, but for D: too? – 13dimitar Feb 09 '17 at 12:23