How to fix hardlock.sys blue screen error when updating

Alice T 40 Reputation points
2026-06-19T03:55:25.8533333+00:00

How to fix the hardlock.sys error when updating? Blue screen comes up with error hardlock and page fault in nonpaged area.

I am able to enter the Bitlocker key but I am unsure what to do next. When I can avoid this and log back in the screen freezes within 1-2 minutes.

Any suggestions on how to fix this (put simply and detailed) as I find most tutorials don't look exactly like my situation so I am unsure how to proceed.

Windows for home | Windows 11 | Performance and system failures
0 comments No comments

Answer accepted by question author
Ramesh Srinivasan 88,100 Reputation points Independent Advisor
2026-06-19T06:06:21.7433333+00:00

HVCI incompatible driver scan passed!

The script ran correctly.

Please see if you can now enable Memory Integrity.

Was this answer helpful?

1 person found this answer helpful.

Answer accepted by question author
Ramesh Srinivasan 88,100 Reputation points Independent Advisor
2026-06-19T05:07:46.2033333+00:00

Hi Alice,

Hardlock.sys is the Sentinel HASP driver, which may be incompatible with Windows 11. The driver is known to cause BSODs, especially during a Feature update.

Are you able to boot into Safe mode? Please see the instructions in the AI response, especially the section "Use Safe Mode or System Restore to roll back changes".

If you can log in to Windows, go to Windows Security → Device security → Core isolation details → Memory integrity. If the page lists any incompatible drivers, please post a screenshot.

Was this answer helpful?

1 person found this answer helpful.

2 additional answers

Sort by: Newest
  1. Ramesh Srinivasan 88,100 Reputation points Independent Advisor
    2026-06-19T08:54:20.4766667+00:00

    Thanks for the update. Optionally, please run the commands below to remove the unused ESET drivers.

    From Command Prompt (admin)

    pnputil /delete-driver oem322.inf /uninstall /force
    
    pnputil /delete-driver oem323.inf /uninstall /force
    
    pnputil /delete-driver oem324.inf /uninstall /force
    
    pnputil /delete-driver oem325.inf /uninstall /force
    
    pnputil /delete-driver oem326.inf /uninstall /force
    

    Post the output.

    Was this answer helpful?


  2. AI answer

    2026-06-19T03:55:41.9+00:00

    The issue combines a blue screen during/after update with BitLocker prompts and instability after sign‑in. From the available information, the supported next steps focus on:

    1. Unlocking or decrypting the drive so the system can boot and be serviced.
    2. Using Windows recovery options (Safe Mode or System Restore) once BitLocker is out of the way.

    Because the question mentions being able to enter the BitLocker key but not what to do next, the most relevant supported path is to temporarily turn off BitLocker/device encryption from Windows Recovery, then restart and repair.

    1. Decrypt the system drive from Windows Recovery

    Use this if the device is prompting for the BitLocker key and then failing to boot or crashing.

    1. When prompted, enter the correct BitLocker recovery key and continue.
    2. On the recovery screen, select Advanced options.
    3. Select Troubleshoot.
    4. Select Advanced options.
    5. Select Command Prompt.
    6. Choose the account shown and enter its password.
    7. In Command Prompt, turn off BitLocker on the system drive (assuming it is C:):
         manage-bde -off c:
      
    8. Check decryption progress:
         manage-bde -status c:
      
    9. Wait until Conversion Status shows Fully Decrypted.
    10. Type exit to close Command Prompt.
    11. Choose Continue to restart the PC.

    At this point the drive is decrypted, which avoids repeated BitLocker recovery during boot and lets Windows start so that the faulty driver or update can be removed or repaired.

    2. Use Safe Mode or System Restore to roll back changes

    Once BitLocker is out of the way, use Windows Recovery to get into Safe Mode or restore to a point before the crashes.

    Option A – Safe Mode

    1. From a normal boot, on the sign‑in screen hold Shift and select Power > Restart.
    2. After restart, on Choose an option, select Troubleshoot.
    3. Select Advanced options > Startup Settings > Restart.
    4. After restart, press 4 to Enable Safe Mode.
    5. Sign in. In Safe Mode, remove or update the problematic driver or software that installed hardlock.sys.

    If the system cannot reach the sign‑in screen reliably, use the same Safe Mode steps from the Windows Recovery screen instead of from a running desktop.

    Option B – System Restore

    If Safe Mode is unstable or the problem started immediately after an update:

    1. From the Choose an option screen, select Troubleshoot > Advanced options > System Restore.
    2. If asked for a BitLocker key, retrieve it as described in the BitLocker recovery key documentation (for example, via https://aka.ms/aadrecoverykey if the device is Azure AD‑joined, as shown in the CrowdStrike article in the context).
    3. Select a restore point dated before the update that introduced the error.
    4. Confirm and let System Restore complete.

    System Restore rolls back system files, drivers, and registry to the earlier point but is designed not to affect personal files.

    3. Re‑enable device encryption after repair

    Once the system is stable again and the faulty driver or update is removed or replaced, device encryption can be turned back on:

    1. Open Settings.
    2. Go to PC and devices (or the equivalent section in Windows 11, such as Privacy & security > Device encryption).
    3. Turn Device encryption back On.

    This restores BitLocker/device encryption protection after the root cause has been addressed.

    If crashes persist even after decrypting and rolling back via Safe Mode or System Restore, further analysis of the specific third‑party driver (hardlock.sys) and its update path would be required, but those details are not covered in the provided material.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.