When you download something from internet, you will see a suggestion asking you to change the location and size of the pagefile on your Windows PC. Pagefile is like a virtual memory in your PC. Whenever Windows runs low on RAM, it creates the hidden file by name pagefile.sys and dumps all the least-used memory bits into that file. Changing the pagefile isn’t hard, but it is buried deep inside the Windows settings to avoid the unwanted changes. Here is how to change the size and location of the pagefile in Windows PC.
How to change pagefile size and location in Windows
Change Pagefile size
- Press the Windows start button, search for System and click on System item displayed under Control Panel in results. If you are using Windows 8 press Win+X and select system from power user menu.
- Here, click on Advanced system settings displayed in the left pane and this will take you to Advanced System Properties window.
- Click on Settings under performance section and this will open performance options window and go to advanced tab and click on Change button under virtual memory.
- This will open Virtual Memory window and here uncheck Automatically manage paging file size for all drives, select paging file drive and select radio button Custom size. Now enter the initial size and max size for the pagefile and click on OK button and save the changes.
Now restart your PC and apply the changes.
Change Pagefile location
- To change the pagefile location, you need to follow the steps above steps 1 to 3. Now in this window uncheck the checkbox Automatically manage paging file size for all drives.
- Now select the default paging file drive, select the radio button No paging file and click on set button and this disable the paging file feature.
- Select the drive where you want to store the paging file and click on the button set to apply the changes and then click on OK and close all windows.
- Now restart your system and you have successfully changed the paging file location on your Windows PC.