Hello
Moving the page file from one drive to another on Windows Server 2012 R2 can be done safely, but it requires careful steps to avoid any potential issues. Here are the steps to safely move the page file:
- Open the System Properties dialog box by right-clicking on "Computer" and selecting "Properties."
Click on "Advanced system settings" and then on the "Settings" button under the Performance section.
Go to the "Advanced" tab and click on the "Change" button under the Virtual Memory section.
Uncheck "Automatically manage paging file size for all drives."
Select the "E" drive, choose "No paging file," and click "Set."
Select the "C" drive, choose "System managed size," and click "Set."
Click "OK" and restart the server to apply the changes.
It's important to ensure that the "C" drive has enough free space to accommodate the page file. Additionally, performing this operation during a maintenance window and having a backup plan in place can help mitigate any potential risks.