What the paging file is and why you might move it
Your paging file is a section of your hard drive that Windows uses as overflow memory when your RAM fills up. When you run many programs at once or open large files, Windows writes data to this file instead of keeping everything in RAM. By default, Windows creates this file on your C: drive (usually where Windows itself lives), but you can move it to a different drive — typically a faster one or one with more free space — to improve performance.
Moving the paging file makes sense if your C: drive is nearly full, if you have a second faster drive available, or if you notice your computer slowing down when you have many programs open. The paging file is invisible to you normally; Windows manages it automatically. You only need to change where it lives, not how it works.
Key Takeaways
- The paging file lives in a hidden system folder, but you change its location through the System Properties window, not by finding the file itself.
- You can move the paging file to a different drive, but moving it to a slower drive than your C: drive will make your computer slower, not faster.
- Windows needs the paging file to exist somewhere; you cannot delete it entirely, but you can shrink it if you have enough RAM.
- After you change the paging file location, you must restart your computer for the change to take effect.
- If you move the paging file and your computer becomes unstable, you can move it back to the C: drive through the same window.
Opening the Virtual Memory settings window
The paging file is managed through a window called Virtual Memory, which lives inside System Properties. To reach it, right-click on This PC (or My Computer on older Windows versions) on your desktop or in File Explorer, then select Properties. If you do not see This PC on your desktop, open File Explorer, look for it in the left sidebar, right-click it, and choose Properties.
Once Properties opens, look for a link on the left side that says Advanced system settings. Click it. A window titled System Properties will open with several tabs across the top. Click the tab labeled Advanced. In the middle of this tab, you will see a section called Performance with a button that says Settings. Click that button.
A new window titled Performance Options will open. At the top are several tabs; click the one labeled Advanced. At the bottom of this tab is a section called Virtual Memory with a button labeled Change. Click it. This is where you change the paging file location.
Understanding the Virtual Memory window
The Virtual Memory window shows all your drives down the left side. At the top is a checkbox labeled Automatically manage paging file size for all drives. If this box is checked, Windows is handling the paging file automatically, and you need to uncheck it before you can move the file to a different drive.
Below that list of drives, you will see three radio button options: Custom size, System managed size, and No paging file. Do not select No paging file — your computer needs this file to run smoothly. The other two options control how large the file grows. System managed size lets Windows decide; Custom size lets you set a fixed size yourself.
For most people, leaving the paging file on automatic (System managed size) works fine. You only need to change the size if you are running into specific problems or if you have very limited drive space. The important part is choosing which drive it lives on.
Moving the paging file to a different drive
First, uncheck the box at the top that says Automatically manage paging file size for all drives. This unlocks the settings below so you can make changes.
Next, click on your C: drive in the list on the left. Below it, you will see three options. Select No paging file, then click the Set button. This tells Windows to stop using the C: drive for the paging file. You will see the C: drive now shows None next to it.
Now click on the drive where you want to move the paging file — usually a second hard drive or an SSD if you have one. Select System managed size (or Custom size if you want to set a specific size), then click Set. The drive you selected will now show the paging file size next to it.
Click OK to close this window, then click OK again to close Performance Options. Windows will ask you to restart your computer. Click Restart now to explore the change when ready, or Restart later if you need to save work first. The paging file will not move until you restart.
What to do if your computer becomes unstable after moving the paging file
If your computer crashes, freezes, or behaves strangely after you move the paging file, the new drive may be too slow or unreliable. Move the paging file back to your C: drive by following the same steps: uncheck automatic management, set the new drive to No paging file, set the C: drive back to System managed size, and restart.
The paging file works best on your fastest drive. If you moved it to an older external drive or a network drive, that will slow your computer down instead of speeding it up. The C: drive is usually the right choice unless you have a second internal SSD that is faster than your C: drive.
Checking that the change worked
After your computer restarts, you can verify that the paging file moved by opening Virtual Memory again (right-click This PC, Properties, Advanced system settings, Advanced tab, Performance Settings, Advanced tab, Change button). The drive you selected should now show a size next to it, and your C: drive should show None.
You will not see any visible change in how Windows looks or behaves — the paging file works silently in the background. If you moved the file to a faster drive, you may notice your computer feels slightly more responsive when you have many programs open, but the difference is usually small unless you were running out of RAM regularly.
Frequently Asked Questions
Can I have the paging file on two drives at once?
Yes. In the Virtual Memory window, you can select System managed size on your C: drive and also on a second drive. Windows will split the paging file between them. This is rarely necessary unless you are running extremely memory-intensive work.
What size should I set the paging file to if I choose Custom size?
If you choose Custom size, set the initial size to equal your RAM amount and the maximum size to twice your RAM amount. For example, if you have 8 GB of RAM, set initial size to 8192 MB and maximum to 16384 MB. Letting Windows manage the size automatically is simpler and works for most people.
Will moving the paging file make my computer faster?
Only if you move it to a faster drive than your C: drive. If your C: drive is already your fastest drive (which it usually is), moving the paging file will not help. The real solution to slowness is having enough RAM so Windows does not need to use the paging file much at all.
What if I do not have a second drive to move the paging file to?
If you only have one drive, leave the paging file where it is on your C: drive. Moving it to the same drive does nothing. If your C: drive is nearly full, the better solution is to delete old files or programs you no longer use to free up space.
Do I need to delete the old paging file after moving it?
No. Windows handles this automatically. The old paging file on your C: drive will be removed or left as a hidden system file that takes up minimal space. You cannot delete it manually while Windows is running.