Moving Page File Problem

Ubertortle

Honorable
Dec 28, 2012
9
0
10,510
Hi there, so in the process of swapping around a few of my drives I ran into an issue that windows had assigned the page file to a drive i was trying to clean via diskpart. I went and changed the page file writing location. But the issue is that when i go to disk manager, it still show the old disk as the page file and doesnt allow me to clean the disk. Any idea how i can fix this? Thanks
 
Solution
After you have created the new swapfile and removed the old one, the system keeps using the old swapfile until the system is restarted. You should be able to remove the old swapfile after rebooting.