0x00000139 - KERNEL_SECURITY_CHECK_FAILURE: Windows found damaged internal data
0x00000139 Microsoft name: ERROR_NOT_ALLOWED_ON_SYSTEM_FILE
What it means
Windows detected that an important internal data structure had been damaged and stopped to stay safe.
This number is listed more than once in Microsoft's tables (see the source box). Use the entry that matches where you saw it.
Where you see it
A blue screen (Windows 11 shows a black or blue screen with a sad face and a stop code name) followed by a restart.
Likely causes
- An out-of-date or faulty driver.
- Failing memory.
- Damaged system files.
Three safe steps, in order
Try them one at a time and test after each. No registry edits, no repair tools to buy, and no switching off your security. If a step needs a driver, firmware or Windows installation media, get it only from Microsoft or your device maker.
- Install all Windows updates (Settings > Windows Update), which also updates many drivers.Related Microsoft page: Troubleshoot problems updating Windows
- Remove the last driver, app or device you added before the crashes began, using Microsoft's stop code steps.Related Microsoft page: Resolving blue screen errors in Windows
- Run DISM /Online /Cleanup-Image /RestoreHealth and then sfc /scannow.Related Microsoft page: Use the System File Checker tool to repair missing or corrupted system files
Stop and get help when…
it keeps coming back with the same driver named on the screen. Note the file name and ask for help.
Source and date
- Official Microsoft reference
- System Error Codes (WinError.h)
- More Microsoft help
- Resolving blue screen errors in Windows
- Date checked
- 24 November 2026. Microsoft changes its pages; if a step no longer matches, trust the Microsoft page.
Windows system error (Win32) 313
Microsoft describes it as: “Operation is not allowed on a file system internal file.”
Source: System Error Codes (WinError.h) (Microsoft Learn content, CC BY 4.0)
Blue screen stop code (bug check)
Source: Bug check code reference (Microsoft Learn content, CC BY 4.0)
The wording above is ours. Where a box quotes Microsoft's description, it comes from Microsoft Learn documentation published under CC BY 4.0 and is credited to the page linked.
Related codes
- 0x00000154UNEXPECTED_STORE_EXCEPTION: a memory store component failed
- 0xC000021AWindows sign-in system stopped (Windows logon or subsystem)
- 0x0000000AIRQL_NOT_LESS_OR_EQUAL: a driver touched memory at the...
- 0x00000019BAD_POOL_HEADER: system memory records are damaged
- 0x0000001AMEMORY_MANAGEMENT: a serious memory problem
- 0x0000001EKMODE_EXCEPTION_NOT_HANDLED: a kernel program had an...