Forbidden Windows Kernel Modification Detected error [EXPERT FIX]

Matthew Adams
by Matthew Adams
Windows & Software Expert
Download PDF
Affiliate Disclosure

windows 10 cover photo

Players have widely discussed a Forbidden Windows Kernel Modification Detected error on numerous game forums. That error arises due to a lack of compatibility between Windows Insider Preview builds and the Easy Anti-Cheat software. Consequently, players can’t run games when that error message pops up.

Users rushed to share their concerns online.


‘Forbidden Windows Kernel Modification Detected’ keeps cropping up with the Insider Program on games that use Easy Anti-Cheat.

Deal with the error by following the steps below.

How can I fix the Forbidden Windows Kernel Modification Error?

1. Leave the Windows Insider Program

  1. As the Forbidden Windows Kernel error primarily arises for users playing games within Windows Insider Program build versions, leaving the Insider Program is probably among the best resolutions for it. To opt out of the Insider Program, press the Settings button on the Start menu.
  2. Select Update & Security in settings
  3. Then click Windows Insider Program to open WIP options.
  4. Press the Stop Insider Preview builds option.
  5. Select the Keep giving me builds until the next Windows release option. Then users will need to wait until the next public Windows build version release to leave the Insider Program.
  6. Alternatively, users can select the Roll me back to the last Windows release option to return to the latest public version of Windows and exit the Insider Program with more immediate effect.
  7. Select the Confirm option.
  8. Then click Restart now to restart Windows.

2. Set Up a CMD File

  1. Enter ‘Notepad’ in the Type here to search box, and click Notepad to open that text editor.
  2. Then copy the text below with the Ctrl + C hotkey.
    DEL “%windir%\system32\drivers\oem-drv64.sys”DEL “%windir%\system32\xNtKrnl.exe”DEL “%windir%\system32\xOsLoad.exe”DEL “%windir%\System32\ru-RU\xOsLoad.exe.mui”DEL “%windir%\System32\en-US\xOsLoad.exe.mui”%windir%\System32\BCDEDIT.exe /set {current} path \Windows\system32\winload.exe%windir%\System32\BCDEDIT.exe /deletevalue {current} kernel%windir%\System32\BCDEDIT.exe /deletevalue {current} nointegritychecks%windir%\System32\BCDEDIT.exe /deletevalue {current} custom:26000027

    REG DELETE HKLM\SYSTEM\CurrentControlSet\services\oem-drv64 /va /f

  3. Paste that text into Notepad with the Ctrl + V hotkey.notepad script
  4. Click File and select the Save As option.
  5. Select All Files on the Save as type drop-down menu.
  6. Enter ‘1.cmd’ in the File name box.1.cmd batch file
  7. Select to save the file on the desktop.
  8. Press the Save button.
  9. Right-click the 1.cmd file on the desktop and select Run as administrator.
  10. Some players have said they’ve fixed the Forbidden Windows Kernal error by reinstalling their game launcher software (such as Epic Games Launcher or Steam) and games. So that’s also worth a shot.

3. Reset Windows

  1. To reset Windows, click Settings (on the Start menu).
  2. Select Update & Security > Recovery > Reset this PC.
  3. Click Get Started, which opens the window shown directly below.reset this pc keep my files or remove everything
  4. Then select the Keep my files option, and click Next > Reset.


Read also: How to: Factory reset Windows 10

Hopefully, Microsoft and anti-cheat software publishers will fully resolve the Forbidden Windows Kernel Modification error with further updates. Until then, players can try fixing that error with the resolutions above.


Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!