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 to Fix Microsoft Edge Youtube Error: Black Screen and Lag

How to Fix Microsoft Edge Youtube Error: Black Screen and Lag

Struggling with Microsoft Edge YouTube error like black screen and lag? Discover step-by-step fixes for smooth playback. Clear cache, toggle hardware acceleration, and more – ultimate guide to resolve black screen and lag issues fast.

How to Completely Uninstall Microsoft Edge from Windows 11 in 2026

How to Completely Uninstall Microsoft Edge from Windows 11 in 2026

Master how to completely uninstall Microsoft Edge from Windows 11 in 2026. Step-by-step, no-trace removal for gamers seeking max performance. Say goodbye to bloatware!

How to Reset Microsoft Edge to Default Settings in 2026

How to Reset Microsoft Edge to Default Settings in 2026

Discover how to reset Microsoft Edge to default settings in 2026 effortlessly. Fix crashes, slowdowns, and pop-ups with proven step-by-step methods for a fresh, blazing-fast browser.

Troubleshooting Microsoft Edge Certificate Not Trusted Warnings

Troubleshooting Microsoft Edge Certificate Not Trusted Warnings

Tired of Microsoft Edge "Certificate Not Trusted" warnings blocking your browsing? Discover proven troubleshooting Microsoft Edge "Certificate Not Trusted" warnings steps to resolve SSL errors securely and regain smooth access. Works on latest Edge versions.

Removing Your Microsoft Edge Profile and Personal Data Safely

Removing Your Microsoft Edge Profile and Personal Data Safely

Discover how to safely remove your Microsoft Edge profile and personal data without risks. Our expert guide ensures a clean slate while protecting your important info – perfect for privacy pros!

How to Change Microsoft Edge Home Page and Startup Settings

How to Change Microsoft Edge Home Page and Startup Settings

Discover simple, step-by-step instructions on how to change Microsoft Edge home page and startup settings. Customize your browser for a faster, personalized experience today!

Troubleshooting Microsoft Edge Update Errors on Windows 11

Troubleshooting Microsoft Edge Update Errors on Windows 11

Tired of Microsoft Edge update errors crashing your Windows 11 browsing? This ultimate guide delivers proven, step-by-step fixes for common issues like 0x80070005, stuck updates, and more. Update Edge effortlessly today!

How to Fix This Site is Not Secure Error in Edge Browser

How to Fix This Site is Not Secure Error in Edge Browser

Struggling with "This Site is Not Secure" error in Edge? Discover step-by-step fixes to restore secure browsing instantly. Clear cache, update certs, and more—no tech skills needed!

How to Fix Microsoft Edge 404 Not Found Browser Error

How to Fix Microsoft Edge 404 Not Found Browser Error

Tired of the frustrating Microsoft Edge "404 Not Found" error? Discover quick, proven fixes to resolve 404 errors in Edge browser. Step-by-step guide with latest tips for smooth browsing.

How to Fix Microsoft Edge Out of Memory Error During Streaming

How to Fix Microsoft Edge Out of Memory Error During Streaming

Tired of Microsoft Edge "Out of Memory" error crashing your streaming sessions? Get step-by-step fixes to resolve it fast, boost performance, and stream smoothly without interruptions. Updated with the latest tips.

Troubleshooting Microsoft Edge Cortana and Copilot AI

Troubleshooting Microsoft Edge Cortana and Copilot AI

Struggling with Troubleshooting Microsoft Edge "Cortana and Copilot" AI? Get proven fixes for crashes, unresponsiveness, and errors in the latest Edge versions. Restore your AI assistant effortlessly!

Solving Edge Browser Clock Behind Error on Windows 11

Solving Edge Browser Clock Behind Error on Windows 11

Struggling with the Edge Browser "Clock Behind" error on Windows 11? Discover proven, step-by-step fixes to sync your clock, clear caches, and restore smooth browsing. Quick solutions that work!

Troubleshooting Microsoft Edge Video Stuttering and Frame Drops

Troubleshooting Microsoft Edge Video Stuttering and Frame Drops

Tired of Microsoft Edge video stuttering and frame drops ruining your streaming? Discover proven troubleshooting steps to restore smooth playback in this comprehensive guide. Fix it fast!

How to Fix Microsoft Edge BitLocker Recovery Loop Error

How to Fix Microsoft Edge BitLocker Recovery Loop Error

Struggling with the Microsoft Edge BitLocker recovery loop error? Discover simple, step-by-step fixes to escape the endless loop and regain access to your PC without data loss. Updated with the latest solutions.

How to Fix Microsoft Edge Core Isolation Settings Error

How to Fix Microsoft Edge Core Isolation Settings Error

Struggling with the Microsoft Edge "Core Isolation" Settings Error? Discover proven step-by-step solutions to resolve it fast, restore smooth browsing, and boost your PC security. Works on latest Windows versions.