Yes —
it’s still possible in Windows 11, but the setting is buried. Also, what you used to edit was almost certainly the
page file / virtual memory setting, not
swapfile.sys specifically. Windows still lets you manage the paging file from
Advanced system settings. (
support.microsoft.com)
Where to find it
- Press Start and type
View advanced system settings
- Open it
- Under Performance, click Settings
- Open the Advanced tab
- Under Virtual memory, click Change
- Clear Automatically manage paging file sizes for all drives
- Select the drive you want
- Choose System managed size or Custom size
- Click Set
- Click OK and restart the PC. Microsoft still documents this path under System Properties → Performance → Advanced → Virtual memory. (support.microsoft.com)
Important clarification
Windows’ official docs talk about
page files (
pagefile.sys). They can exist on more than one partition, and their location/size is configured in
System Properties. Microsoft’s docs do
not present a normal separate GUI for sizing
swapfile.sys; the user-facing control is the
paging file / virtual memory control. (
learn.microsoft.com)
With 64 GB RAM, what should you do?
I would
not use the old
1.5× RAM rule literally anymore. Microsoft says there is
no single correct size, and with
large physical memory a page file may not be needed for peak commit the way it was on older, lower-RAM systems. However, Microsoft also says a page file can still be needed to
support crash dumps and to extend the
system commit limit. (
learn.microsoft.com)
My recommendation for your setup
Because your
C: space is tight, the safest practical choice is usually:
- Leave a small page file on C:, or leave C: as System managed
- Put the main/pagefile growth on a drive with much more free space
- Prefer System managed on the alternate drive unless you have a specific reason to hard-set numbers. Microsoft notes that system-managed page files can grow automatically when commit usage gets high, assuming the drive has free space. (learn.microsoft.com)
If you want a manual setup
A reasonable modern approach would be:
- On C: set either:
- System managed size, or
- a small custom size
- On your roomy secondary drive set:
I would
avoid “No paging file” on C: unless you’re comfortable trading away some crash-dump support and troubleshooting convenience. Microsoft explicitly says page files are used to back
system crash dumps. (
learn.microsoft.com)
If you want fixed numbers anyway
If you prefer custom values, use something modest —
not 96 GB just because you have 64 GB RAM. The old “1.5×” number was only a
starting point, and Microsoft says sizing depends on workload, not a fixed formula. (
learn.microsoft.com)
Short version
- Yes, you can still move/manage it in Windows 11. (support.microsoft.com)
- The setting is under Advanced system settings → Performance → Advanced → Virtual memory. (support.microsoft.com)
- With 64 GB RAM, I’d usually use System managed rather than a huge manually sized file. (learn.microsoft.com)
- If C: is cramped, put the main paging file on a roomier drive, but keep in mind page files also help with crash dumps and commit limit. (learn.microsoft.com)
If you want, I can give you a
recommended exact pagefile setup for your current drive layout (
C:,
D:,
F:) based on the screenshot you posted earlier.