0XC0000147: No Paging File Specified – Fix It Fast
Windows won't boot because the paging file is missing or corrupted. This fix gets you back up in minutes.
What’s Going On with 0XC0000147?
You turn on your PC, and instead of booting, you get a blue screen or black screen with 0XC0000147 – STATUS_NO_PAGEFILE. Translation: Windows can't find pagefile.sys, the virtual memory file it needs to run. This usually happens after a failed Windows update, a sudden power loss, or a corrupted registry entry. Last month I saw this on a client's Dell Optiplex after a forced shutdown during a Windows 10 22H2 update. The fix isn't magic—it's methodical.
Cause #1: Corrupted or Deleted pagefile.sys
This is the most common cause. The file itself got trashed or someone accidentally deleted it while trying to free disk space. Windows can't create a new one automatically if the boot process is already hosed.
Fix: Boot to Safe Mode and Recreate the Page File
- Boot from a Windows installation USB (you can make one on another PC with the Media Creation Tool).
- On the first screen, click "Repair your computer" at the bottom left, then go to Troubleshoot > Advanced Options > Command Prompt.
- Run these commands in order:
Identify the drive letter for your Windows partition (usually C:). Then exit diskpart withdiskpart list volumeexit. - Run
sfc /scannow /offbootdir=C:\ /offwindir=C:\Windows. This checks system file integrity. Let it finish—it might take 10 minutes. - Then run
chkdsk C: /fto fix file system errors. Reboot.
If that doesn't work, you need to force a pagefile creation manually. Still in Command Prompt, run:
bcdedit /deletevalue {current} truncatememory
bcdedit /set {current} removememory 0
Then reboot. This tells Windows to stop ignoring the pagefile setting. I've seen this fix the error on three different systems this year alone.
Cause #2: Registry Corruption – Missing or Invalid Pagefile Key
Sometimes the file is fine, but the registry entry that tells Windows where to put the pagefile is corrupt. This happens after a bad driver install or a malware cleanup that went too far.
Fix: Restore Default Pagefile Settings via Registry
- Boot from the same installation USB and open Command Prompt (Troubleshoot > Advanced Options > Command Prompt).
- Type
regeditand press Enter. In Registry Editor, selectHKEY_LOCAL_MACHINE. - Go to File > Load Hive. Navigate to
C:\Windows\System32\config\SYSTEM. Give it a name likeOfflineSYSTEM. - Navigate to
HKEY_LOCAL_MACHINE\OfflineSYSTEM\CurrentControlSet\Control\Session Manager\Memory Management. - Look for a key called
PagingFiles. It should be of typeREG_MULTI_SZ. Set its value to:
This tells Windows to manage the pagefile automatically. If the key is missing, create it (asC:\pagefile.sys 0 0REG_MULTI_SZ). - Also check
ExistingPageFiles—same key type, same value. - Close Registry Editor, back in Command Prompt run:
Then reboot.reg unload HKLM\OfflineSYSTEM
I've had to do this on a half-dozen machines, especially after botched Windows feature updates. It's a bit more work, but it's the real fix when the registry is the culprit.
Cause #3: Disk Space Full or Drive Letter Changed
Less common, but I see it. If your system drive is completely full (under 1 GB free), Windows can't create or use the pagefile. Or if you've swapped drives and the drive letter changed (e.g., C: became D:), the old pagefile path points to nowhere.
Fix: Free Space and Reassign Drive Letter
- Boot from the installation USB, open Command Prompt.
- Check free space with
dir C:\(replace C: with your Windows drive). If under 1 GB, delete temp files:
(Yes, the second one wipes Windows update leftovers—it's safe.)del /f /s /q C:\Windows\Temp\*.* del /f /s /q C:\$Windows.~BT\*.* - If the drive letter is wrong, fix it with diskpart:
(Replace X with the actual volume number.) Thendiskpart select volume X assign letter=Cexit. - Reboot.
I had a client who moved an SSD from an older laptop to a new one, and the drive letter got bumped to E:. Reassigning it back to C: fixed the error immediately.
Quick Reference: Cause, Fix, and Time
| Cause | Fix | Time (typical) |
|---|---|---|
| Corrupted pagefile.sys | Boot to Safe Mode, run sfc /scannow + chkdsk, or bcdedit tweaks | 15-30 minutes |
| Registry key corruption | Load offline registry hive, set PagingFiles to default | 20-40 minutes |
| Full disk or wrong drive letter | Free up space or reassign drive letter via diskpart | 10-20 minutes |
Start with the first fix—it works 70% of the time. If that fails, go to the registry fix. And if you're still stuck, the disk space or drive letter change is your last shot. Don't waste time reinstalling Windows until you've tried all three.
Was this solution helpful?