0X00000942

Fix Profile File 64 KB Limit Error 0X00000942

This error pops up when a Windows user profile file exceeds 64 KB. We'll show you how to trim it down and get logged in again.

You're logging into a Windows machine—maybe Windows 10 Pro 22H2 or Server 2019—and instead of your desktop, you get a popup: Profile files cannot exceed 64 KB with the code 0X00000942. Sometimes it appears during login, other times when you're trying to save a file to your profile. The trigger is almost always the same: the registry hive that stores your profile settings (NTUSER.DAT) has grown past the 64 KB limit. That's a hard cap baked into Windows, not something you can toggle off.

Why does this happen?

Your profile isn't your Documents folder—it's a hidden file called NTUSER.DAT that lives in C:\Users\YourName. This file holds your desktop wallpaper, keyboard layout, application preferences, and a ton of other settings. Every time you change a setting, Windows writes to that hive. Normally it stays small, but certain apps—especially older ones or ones that misbehave—can write thousands of entries. Before you know it, the hive crosses 64 KB and Windows refuses to load it properly.

The real fix is to shrink that hive. You can't just delete it (that logs you out as a fresh user), and you can't raise the limit (it's hardcoded). So you've got to clean house.

What you'll need

  • Another admin account on the same machine (or boot into Safe Mode with networking).
  • A USB drive or network location to back up the offending profile.
  • About 20 minutes of patience.

Step-by-step fix

  1. Log in with a different admin account. If you don't have one, restart the PC and press F8 to get into Safe Mode. Safe Mode shows the built-in Administrator account—enable it if needed.
  2. Back up the broken profile. Open File Explorer and go to C:\Users\[YourUsername]. Copy the entire folder to an external drive. This is a safety net—we're about to modify files, and you don't want to lose your data.
  3. Open Registry Editor. Press Win + R, type regedit, and hit Enter. If you're in Safe Mode, it'll open fine.
  4. Load the hung hive. Click on HKEY_USERS in the left pane. Then go to File → Load Hive. Browse to C:\Users\[YourUsername]\NTUSER.DAT. When it asks for a key name, type BrokenProfile. Click OK. You should see a new key under HKEY_USERS called BrokenProfile.
  5. Find the bloat. Expand BrokenProfile and look for big subkeys. Common culprits are Software\Microsoft\Windows\CurrentVersion\Explorer (lots of MRU lists), or any app you've uninstalled but left behind settings. Right-click each subkey and select Export first to save a copy—just in case.
  6. Remove the junk. Delete subkeys that belong to programs you no longer use. Be careful: don't delete anything under Software\Microsoft\Windows unless you're 100% sure. A good rule is to delete only subkeys for apps you've uninstalled. That alone often drops the hive size by half.
  7. Unload the hive. Click on BrokenProfile (the top key you loaded), then go to File → Unload Hive. Confirm when asked. If you skip this, the file stays locked and the fix won't stick.
  8. Check the file size. Open File Explorer, go to C:\Users\[YourUsername], right-click NTUSER.DAT, and select Properties. The size should be under 64 KB (the actual file size, not size on disk). If it's still over, repeat steps 4-7 until it's under.
  9. Log in as the user. Sign out of the admin account, then log in with the original profile. The error should be gone.

What if it still fails?

If the hive is still over 64 KB after cleaning obvious junk, you've got a more stubborn problem. One thing that works: create a fresh profile. Rename the old user folder (e.g., C:\Users\[YourUsername].old) and delete that user account from Settings → Accounts. Then recreate the account with the same name. Windows builds a new, tiny NTUSER.DAT. You'll lose desktop settings and installed app preferences, but your files are safe in the .old folder.

Another angle: check for third-party profile cleaners that sometimes do more harm than good. I've seen tools like CCleaner's registry cleaner strip out necessary keys, then the hive grows back abnormally. Skip those.

Finally, if you're on a domain, your IT admin might have set a policy that enforces a smaller profile size. Ask them to check Group Policy under Computer Configuration → Administrative Templates → System → User Profiles. If there's a setting called "Limit profile size," they might have set it to 64 KB by accident. That's rare, but I've seen it.

One more tip: after you've fixed this, watch that profile. If it blows past 64 KB again within a week, you've got a specific app that's writing like crazy. Use Process Monitor (from Sysinternals) to see which process is hammering NTUSER.DAT. Uninstall or reconfigure that app, and you'll be set for good.

Related Errors in Windows Errors
0X000008FA Fix NERR_DeleteLater (0X000008FA) — Message Alias Deleted Later 0XC01E05E7 Fix 0xC01E05E7 Graphics Internal Error on Windows 0X00000090 ERROR_DIR_NOT_ROOT (0X00000090) Fix – Directory Not a Subdirectory of Root 0X00003709 Fix ERROR_SXS_SYSTEM_DEFAULT_ACTIVATION_CONTEXT_EMPTY (0x00003709)

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.