0X00000191

Fix ERROR_THREAD_MODE_NOT_BACKGROUND (0x191) in Windows 10/11

This error means a program tried to run background processing but wasn't set to background mode. Usually a driver or app bug. Here's how to fix it.

Quick answer

Update your graphics and chipset drivers, then run the app as administrator. If that fails, disable fullscreen optimizations for the app's .exe file.

Why this happens

This error is rare, but when it shows up, it's almost always a mismatch between what an app expects and what the OS allows. The thread in question tried to enter background processing mode—something Windows reserves for system threads or threads that explicitly ask for it. Most user-mode apps never do this correctly, so when one does, it trips over itself. I've seen this crop up in older games, some video editing tools, and occasionally with misbehaving GPU drivers. The trigger is often a simple action: opening a settings window, saving a file, or switching display modes.

The root cause is usually a bug in the app or a driver that tries to use a Windows API incorrectly. It's not something you caused—don't go down the rabbit hole of messing with your registry yet. Start with the easy stuff.

Fix steps

  1. Update your drivers—especially graphics and chipset. Use Windows Update first, then check the manufacturer's site (NVIDIA, AMD, Intel, or your laptop vendor). I've fixed this exact error twice just by updating the Intel graphics driver on a Dell Latitude.
  2. Run the app as administrator—right-click the executable, select Properties → Compatibility → check Run this program as an administrator. This gives the app higher privileges, which can bypass the thread mode restriction. Works more often than you'd think.
  3. Disable fullscreen optimizations—again in Properties → Compatibility, check Disable fullscreen optimizations. This forces the app to run in a simpler rendering mode, avoiding the thread issue. It's a known workaround for several DirectX-related errors.
  4. Run the app in compatibility mode—choose an older Windows version (say, Windows 8) in the same Compatibility tab. This changes how Windows handles thread priorities, which sometimes resolves the conflict.
  5. Clean boot—use msconfig to disable all non-Microsoft services, then restart. If the error disappears, a third-party service is interfering. Identify it by enabling services one by one.

If the main fixes fail

Try these two things I've seen work in stubborn cases:

  • Reinstall the app—uninstall fully, delete leftover folders in %AppData% and %ProgramData%, then reinstall the latest version. Outdated apps often have this bug patched in newer releases.
  • Use the Windows Performance Toolkit—if you're comfortable with command line, run wpr -start generalprofile before launching the app, then wpr -stop trace.etl after the error. Open the trace in Windows Performance Analyzer and look for the thread that threw the error. The stack trace will tell you the exact driver or DLL causing it. That's how I pinpointed a faulty audio driver once.

Prevention tips

Keep your drivers and software current. That's it. This error is almost never something you can prevent proactively—it's a bug, not a security issue. But staying on top of updates cuts the chances way down. Also, if you're using a laptop with switchable graphics (like Intel + NVIDIA), make sure the app is assigned to the right GPU in your graphics control panel. Misassigned GPU can cause weird thread behavior in some games.

Final thought: don't waste time on registry edits or third-party "fixers" for this one. They don't help, and they can break things. The steps above cover the realistic fixes.

Related Errors in Windows Errors
0X000020DB Fix ERROR_DS_MISSING_EXPECTED_ATT (0x000020DB) 0X0000362F Fix ERROR_IPSEC_IKE_INVALID_HASH_ALG (0x0000362F) – Quick Steps 0X80340010 NDIS Invalid Device Request (0x80340010) – Quick Fix 0XC000001E Fix STATUS_INVALID_LOCK_SEQUENCE (0xC000001E) on Windows

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.