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

Solving Microsoft Edge Side-by-Side Configuration Error

Solving Microsoft Edge Side-by-Side Configuration Error

Stuck with Microsoft Edge "Side-by-Side Configuration" Error? Follow our proven, step-by-step fixes to resolve it fast and restore smooth browsing. No tech skills needed!

Troubleshooting Microsoft Edge Webcam Privacy Error

Troubleshooting Microsoft Edge Webcam Privacy Error

Struggling with Microsoft Edge Webcam Privacy Error? Follow our proven step-by-step guide to troubleshoot and fix it quickly. Regain webcam access in minutes with simple, effective solutions.

Best Extensions for Microsoft Edge Productivity in 2026

Best Extensions for Microsoft Edge Productivity in 2026

Unlock peak efficiency with the Best Extensions for Microsoft Edge Productivity in 2026. From tab mastery to AI-powered tasks, these top picks will transform your browsing into a productivity powerhouse. Install now and save hours daily!

How to Fix Microsoft Edge Out of Memory While Browsing

How to Fix Microsoft Edge Out of Memory While Browsing

Tired of Microsoft Edge "Out of Memory" crashes? Get proven, step-by-step solutions to fix Microsoft Edge out of memory while browsing. Boost speed and stability today!

How to Use Microsoft Edge for Remote Work and Education

How to Use Microsoft Edge for Remote Work and Education

Master how to use Microsoft Edge for remote work and education. Discover workspaces, collections, Immersive Reader, and productivity tips to boost efficiency and focus.

How to Use Microsoft Edge Sandbox for Safe Browsing

How to Use Microsoft Edge Sandbox for Safe Browsing

Discover how to harness Microsoft Edge Sandbox for safe browsing. Step-by-step guide to enable, optimize, and maximize security against threats while browsing effortlessly. Stay protected today!

Solving Microsoft Edge Profile Error on Every Launch

Solving Microsoft Edge Profile Error on Every Launch

Struggling with Microsoft Edge Profile Error every time you launch? Discover proven, step-by-step fixes to resolve the issue instantly. No more frustration – get back to browsing smoothly!

How to Fix Microsoft Edge Access Denied on Specific Sites

How to Fix Microsoft Edge Access Denied on Specific Sites

Struggling with Microsoft Edge "Access Denied" on specific sites? Discover proven, step-by-step fixes for Microsoft Edge Access Denied errors. Clear cache, tweak settings, and regain access fast—no tech skills needed!

How to Use Microsoft Edge Built-in VPN for Secure Browsing

How to Use Microsoft Edge Built-in VPN for Secure Browsing

Step-by-step guide: Learn how to use Microsoft Edge built-in VPN for secure browsing. Boost privacy, bypass restrictions, and stay protected effortlessly. Enable now!

How to Fix Microsoft Edge High CPU Usage and System Lag

How to Fix Microsoft Edge High CPU Usage and System Lag

Tired of Microsoft Edge high CPU usage causing system lag? Get proven, step-by-step fixes to optimize your browser, reduce lag, and boost performance fast. Latest solutions inside!

Troubleshooting Microsoft Edge Youtube Black Screen Fix

Troubleshooting Microsoft Edge Youtube Black Screen Fix

Struggling with YouTube black screen on Microsoft Edge? Discover proven troubleshooting Microsoft Edge "Youtube Black Screen" fix steps: clear cache, disable hardware acceleration, and more for seamless video playback. Quick, easy solutions inside!

Solving Microsoft Edge ERR_CONNECTION_REFUSED Error

Solving Microsoft Edge ERR_CONNECTION_REFUSED Error

Tired of Microsoft Edge ERR_CONNECTION_REFUSED blocking your browsing? Discover step-by-step fixes, from quick resets to advanced tweaks, that work on the latest Windows versions. Get online fast!

Troubleshooting Microsoft Edge Extensions Slowing Down Browser

Troubleshooting Microsoft Edge Extensions Slowing Down Browser

Is troubleshooting Microsoft Edge "extensions slowing down browser" your nightmare? Follow this step-by-step guide to identify, disable, and optimize extensions for blazing-fast performance. Restore Edge speed today!

How to Fix Microsoft Edge JavaScript Runtime Error on Windows 12

How to Fix Microsoft Edge JavaScript Runtime Error on Windows 12

Struggling with Microsoft Edge "JavaScript Runtime Error" on Windows 12? Discover proven, step-by-step fixes to resolve it quickly. Clear cache, reset settings, and more for smooth browsing. Updated with the latest tips!

How to Fix Microsoft Edge Windows Hello PIN Reset Fix

How to Fix Microsoft Edge Windows Hello PIN Reset Fix

Struggling with Microsoft Edge prompting "Windows Hello PIN" reset? Discover proven, step-by-step fixes for the Windows Hello PIN Reset issue in Edge. Quick solutions that work on the latest Windows updates – no tech skills needed!