Computer Hope
Microsoft => Microsoft Windows => Windows Vista and 7 => Topic started by: Michael on July 27, 2021, 08:00:50 AM
-
I set my pagefile to be System managed on E: drive, but there are still a 13.4 GB pagefile.sys on C: and another 7.96 GB pagefile.sys on E:.
How can I get rid of the pagefile on C: drive to clear up space?
Thanks.
-
Click on C: drive, put a tick in "No paging file", click on SET
-
Also by that clip your settings are not what you think they are...
-
Click on C: drive, put a tick in "No paging file", click on SET
Did that. And just done again to confirm. Restarted. The pagefile in C still remains there.
-
Also by that clip your settings are not what you think they are...
Then what or how should it be? I've set "No paging file" for all other drives except E:.
-
From what I recall, Windows doesn't delete the pagefile.sys file(s) automatically. After you set the new paging file settings, you need to reboot (paging file changes do not take effect until you reboot!), then you have to delete it yourself.
-
From what I recall, Windows doesn't delete the pagefile.sys file(s) automatically. After you set the new paging file settings, you need to reboot (paging file changes do not take effect until you reboot!), then you have to delete it yourself.
I've tried to google this before posting the thread. From what I read, when "No paging file" is set, the page file created before should be gone after reboot. And when that doesn't happen, some said it's ok to delete it manually, some said no as it may mess thing up. So I'm not sure if it's actually safe to delete the one in C:.
-
There will always be a small pagefile on c: drive regardless of your settings, but it should not be that large if you have set it for "none". And yes, you can try to delete it yourself - it won't do any damage though you may not be able to do it. Again, if after a reboot it's small, leave it be.
-
OK so I've deleted the page file in C and reboot. There is no new page file created in C, leaving the only page file in E.
We'll see if all go well.
Cheers.
-
There is likely a swapfile on c: (which, in my opinion, is nothing more than a small pagefile with a specific purpose). Regardless, it will be very small (it's required by the OS).