Instructions for changing Pagefile size and location on Windows

Occasionally, you will see a fix recommended by the Internet that asks you to change the location and/or size of the pagefile or pagefile.sys file on your Windows PC. The pagefile is a part of your system's virtual memory that Windows uses to extend the memory available for everyday tasks. If you know why you're being asked to do so, follow this guide to change the size and location of the pagefile in Windows.

Change Pagefile Size in Windows

When Windows is running low on physical memory (RAM), it accesses the pagefile.sys system file and moves all the least used bits of memory into that file. The system can then clear physical RAM for any additional tasks. Windows automatically manages the pagefile size by default, so only make changes if you really need to. Windows typically allocates about 1/8 of your total RAM or 4GB (whichever is greater) on your hard drive to the pagefile.

Follow the steps below to change the pagefile size:

Right-click the Windows button, select System , then select Advanced system settings .

Instructions for changing Pagefile size and location on Windows
Go to Windows system settings

In Performance under the Advanced tab , click Settings .

Instructions for changing Pagefile size and location on Windows
Advanced Windows System Settings

In the Virtual memory section of the Advanced tab , click Change . Uncheck Automatically manage paging file size for all drives in the Virtual Memory window , select the paging file drive, and click the button next to Custom size . Enter the Initial size and Maximum size values ​​for your pagefile, and click OK to save the changes.

Instructions for changing Pagefile size and location on Windows
Windows system virtual memory

It's best to restart your system for the changes to take effect. Also, if you're experiencing high memory usage in Windows, try increasing your virtual memory, although this may not completely fix the problem.

Change Pagefile Location in Windows

To change the pagefile location, follow the steps above until the Virtual Memory window opens, then uncheck the box next to Automatically manage paging file size for all drives . Select the default paging file drive, click the button next to No paging file , and click Set to effectively disable the paging file on the drive you selected.

Instructions for changing Pagefile size and location on Windows
Select No paging file

Select the drive where you want to store the paging file, then click the button next to System managed size and click Set to apply the changes. Click OK and close all windows.

Instructions for changing Pagefile size and location on Windows
Change pagefile location

Restart your system for the changes to take effect.

You can refer to some articles below:

Leave a Comment

How Do You Know When Your Business Is Ready For Its First Office?

How Do You Know When Your Business Is Ready For Its First Office?

For many entrepreneurs, moving into a first office feels like a major milestone. It can signal growth, stability, and a new level of professionalism. However, it is also a decision that should be made carefully.

How AI Checkers Work: Behind the Detection Process

How AI Checkers Work: Behind the Detection Process

As AI writing tools become more advanced, many people want a reliable way to identify machine-written text. This is where an AI checker comes into the picture.

How to Fix Microsoft Edge Cant Read and Write to Data Directory

How to Fix Microsoft Edge Cant Read and Write to Data Directory

Frustrated by Microsoft Edge "Can't Read and Write to Data Directory" error? Get step-by-step fixes, from quick resets to advanced troubleshooting, to restore your browser fast. Works on latest versions!

How to Fix Microsoft Edge Windows Update Catalog Error

How to Fix Microsoft Edge Windows Update Catalog Error

Tired of the frustrating Microsoft Edge "Windows Update Catalog" Error blocking your updates? Discover proven, step-by-step fixes that work on the latest Windows versions. Get back online in minutes!

How to Fix Microsoft Edge OBS Studio Black Screen

How to Fix Microsoft Edge OBS Studio Black Screen

Struggling with Microsoft Edge black screen in OBS Studio? Discover step-by-step fixes for hardware acceleration issues, capture settings, and more. Get your stream crystal clear today!

How to Link Your Microsoft Edge Account to Your Phone

How to Link Your Microsoft Edge Account to Your Phone

Master how to link your Microsoft Edge account to your phone for seamless syncing of tabs, passwords, and bookmarks. Step-by-step guide for Android and iOS with troubleshooting tips.

How to Fix Microsoft Edge System Sounds Missing Fix

How to Fix Microsoft Edge System Sounds Missing Fix

Struggling with Microsoft Edge "System Sounds" missing? Our ultimate guide provides step-by-step fixes to restore notifications, alerts, and browser sounds quickly and easily. Works flawlessly on the latest versions.

How to Fix Microsoft Edge DNS Probe Finished No Internet

How to Fix Microsoft Edge DNS Probe Finished No Internet

Struggling with Microsoft Edge "DNS Probe Finished No Internet" error? Discover step-by-step fixes to restore your browsing instantly. Flush DNS, change servers, and more – no tech skills needed!

Troubleshooting Microsoft Edge Profile is Already in Use

Troubleshooting Microsoft Edge Profile is Already in Use

Tired of the frustrating Microsoft Edge "Profile is Already in Use" error blocking your browsing? Follow our proven, step-by-step troubleshooting fixes to resolve it quickly and regain smooth performance. Works on latest versions!

Troubleshooting Microsoft Edge Stream Deck App Not Opening

Troubleshooting Microsoft Edge Stream Deck App Not Opening

Facing Microsoft Edge "Stream Deck" app not opening? Discover proven troubleshooting steps, quick fixes, and expert tips to resolve crashes, freezes, and launch issues fast. Get back to streaming seamlessly.