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

Troubleshooting Microsoft Edge Application Error 0xc000007b

Troubleshooting Microsoft Edge Application Error 0xc000007b

Stuck with Microsoft Edge Application Error 0xc000007b? Follow our step-by-step troubleshooting guide with proven fixes to resolve it fast and restore smooth browsing. No tech skills needed!

How to Customize Microsoft Edge Sidebar for Daily Tasks

How to Customize Microsoft Edge Sidebar for Daily Tasks

Discover step-by-step ways to customize Microsoft Edge Sidebar for daily tasks. Pin tools like email, weather, and calendars to boost productivity effortlessly in the latest Edge updates.

Solving Unrecognized Disc for Backward Compatible Games

Solving Unrecognized Disc for Backward Compatible Games

Tired of the frustrating "Unrecognized Disc" error blocking your backward compatible games? Get step-by-step fixes for Xbox Series X|S to play Xbox 360 and original Xbox titles smoothly. Proven solutions inside!

How to Fix Microsoft Edge 15 Access Denied Error

How to Fix Microsoft Edge 15 Access Denied Error

Struggling with Microsoft Edge "15 Access Denied" Error? Discover step-by-step fixes to resolve it quickly. Clear cache, reset settings, and more for seamless browsing in 2026.

Troubleshooting Microsoft Edge TPM Attestation Not Supported

Troubleshooting Microsoft Edge TPM Attestation Not Supported

Struggling with Microsoft Edge "TPM Attestation" Not Supported error? Discover proven fixes to enable TPM attestation, resolve compatibility issues, and restore secure browsing in Edge. Quick, easy steps for Windows users.

How to Reinstall Microsoft Edge Without Losing Your Data

How to Reinstall Microsoft Edge Without Losing Your Data

Discover exactly how to reinstall Microsoft Edge without losing your data like bookmarks, passwords, and extensions. Follow our foolproof, up-to-date guide for a fresh browser experience on Windows. Safe, simple, and data-protected!

Troubleshooting Microsoft Edge Sync Paused Account Error

Troubleshooting Microsoft Edge Sync Paused Account Error

Struggling with Microsoft Edge "Sync Paused" account error? Discover proven troubleshooting Microsoft Edge "Sync Paused" account error steps to restore seamless sync across devices. Quick fixes inside!

How to Fix Microsoft Edge Aw, Snap! Error Codes

How to Fix Microsoft Edge Aw, Snap! Error Codes

Tired of Microsoft Edge 'Aw, Snap!' error codes crashing your tabs? Get instant relief with this step-by-step guide featuring the latest fixes for smooth browsing. Clear cache, update Edge, and more – no tech skills needed!

How to Use Microsoft Edge Built-in Password Manager Safely

How to Use Microsoft Edge Built-in Password Manager Safely

Master the Microsoft Edge built-in password manager safely with this step-by-step guide. Learn to enable, save, autofill passwords, and apply top security tips for worry-free browsing. Protect your data today!

How to Fix Remote Play Lag on Your Smartphone (2026)

How to Fix Remote Play Lag on Your Smartphone (2026)

Tired of Remote Play lag ruining your smartphone gaming? This 2026 guide reveals expert fixes for smooth PS5/PS4 streaming. Optimize network, settings & more – play stutter-free today!