Windows Prefetch RAM: What It Is, How to Enable or Disable It, and How to Free Up More RAM
Windows Prefetch and its RAM use worry a lot of people for no good reason. Here is what Prefetch and SysMain really do with your memory, when turning them off helps, and how to do it safely.
Windows Prefetch records what each app loads at startup so the next launch is faster. It does not eat your RAM, and most people should leave it on.
- Prefetch files are tiny records on disk, in C:\Windows\Prefetch. They are not kept in memory.
- The part that fills RAM is a separate service called SysMain (once named SuperFetch). The memory it uses is cache, and Windows hands it back the instant an app needs it.
- Turn SysMain off only if it keeps your disk at 100%. The steps are below.
Prefetch Decision Finder
Should you touch it at all? Two questions.

Prefetch, SuperFetch and SysMain: what each one is
| Name | What it does | Where it lives |
|---|---|---|
| Prefetch | Keeps a small record of the files each app reads when it starts | .pf files in C:\Windows\Prefetch |
| SuperFetch | Old name of SysMain, used until Windows 10 version 1809 | Same service, renamed |
| SysMain | Loads the apps you use most into spare RAM before you open them | A Windows service |
Leave it on unless you have a measured problem. Spare RAM that holds cached data is not wasted. Task Manager counts it under “Cached” and “Available”, and it is released without delay when a program asks for memory. Clearing the Prefetch folder also does not help: Windows rebuilds the files, and the next launch of each app is slower while it does.
How to check and change it
Step 1: Check your current settings
Open PowerShell or Terminal and run these two commands. Neither needs administrator rights.
reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v EnablePrefetchersc query sysmainA value of 0x3 is the Windows default. For SysMain, “RUNNING” means it is on.
Step 2: Turn SysMain off
- Press Windows + R, type services.msc and press Enter.
- Double-click SysMain.
- Click Stop, set Startup type to Disabled, and click OK.
Or run these in Terminal as administrator:
sc stop sysmain
sc config sysmain start= disabledWorked if: after a restart, disk use in Task Manager settles within a minute or two. Give it a few days before you judge app launch speed.
Step 3: Change EnablePrefetcher in the registry
This switches the prefetch records themselves. Use the chart above to pick a value. Run in Terminal as administrator, replacing the last number:
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v EnablePrefetcher /t REG_DWORD /d 0 /fRestart for it to take effect. We do not suggest this for normal use. With the value at 0, Windows stops learning how your apps start, and there is no memory to gain from it.
Step 4: Turn everything back on
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters" /v EnablePrefetcher /t REG_DWORD /d 3 /f
sc config sysmain start= auto
sc start sysmainFree up RAM the useful way
- Press Ctrl + Shift + Esc, open Processes and click the Memory column. The real users are at the top, usually a browser.
- Close browser tabs you are not using, or turn on the browser’s memory saver.
- Open Startup apps in Task Manager and disable what you do not need at sign-in.
- Look at Performance > Memory. If “In use” is near the total while you work, the fix is more RAM, not a registry tweak.
What we saw on our own PC
Our test PC has an NVMe SSD and 16 GB of RAM. EnablePrefetcher is at the default 3, and the SysMain service is disabled, as the screenshot shows. The C:\Windows\Prefetch folder refused to open from a normal account. It needs administrator rights. We did not measure startup or app launch times with SysMain on and off, so we make no speed claim in either direction.
What did you do in the end?
One tap. It shows the next reader what others chose.
Frequently asked questions
Does Prefetch use a lot of RAM?
No. Prefetch files sit on disk. SysMain uses spare RAM as cache, and Windows frees that cache as soon as a program needs the memory.
Should I disable Prefetch on an SSD?
There is no need. Windows already adapts to SSDs, and turning it off does not make an SSD faster or last longer in any way you would notice.
Is it safe to delete the Prefetch folder?
It is safe, but pointless. Windows recreates the files, and apps start a little slower until it does.
What is the default value of EnablePrefetcher?
3, which turns on both application launch and boot prefetching.
Axee Davies is the founder of AxeeTech, publishing gaming guides, codes, and Windows how-tos since March 2013. A tech enthusiast for 13+ years — starting with smartphones and Android rooting — he now runs a site that puts out a new guide every day for Roblox players, traders, and Windows users. More about AxeeTech
More Guides You May Like
adjudicator status ack’d by adjudicator
What Is VSync in Overwatch 2? (And Should You Turn It On?)
mmsys.cpl: Open the Classic Sound Control Panel in Windows 11/10 (Every Command)
Windows 11 Update “Something Went Wrong”? 7 Fixes That Work
Zebra Printer Not Printing? 7 Fixes for Blank, Skipped and Stuck Labels
Print Spooler Keeps Stopping in Windows 11/10? 7 Fixes
Wi-Fi Option Not Showing in Windows 11? 7 Fixes to Get It Back
Windows Security Not Opening in Windows 11/10? 7 Fixes