Fix hardlock.sys error Page Fault in Nonpaged Area in Windows 10

How to Fix hardlock sys Page Fault in Nonpaged Area error in Windows 10.

hardlock.sys error Page Fault in Nonpaged Area

Any user can install Windows 10 2004 but unluckily, the version is loaded with multiple issues and bugs. BSOD Stop code hardlock.sys error Page Fault in Nonpaged Area is one of them that fails the installation. This Blue Screen of Death appears on the PC screen when you try to install the 2004 update. The update process starts normally but fails and reverts back almost at the final stage of installation.

Basically, hardlock.sys is a software component of Aladdin HASP means a part of 3rd party app. So a small registry tweak can help you to install the latest Windows update without having Page Fault in Nonpaged Area error. Additionally, as it is a part of the Sentinel driver, you may remove its driver via command line to complete the update installation. See a similar issue – Fix aksdf.sys Page Fault in NonPaged Area BSOD Error Windows 10.

hardlock.sys error Page Fault in Nonpaged Area

Here is How to Fix hardlock.sys error with Page Fault in Nonpaged Area in Windows 10 –

1] Modify Registry

hardlock.sys is a part of HASP software licensing service and some experts recommend that performing a registry tweak resolves this BSOD error. Go through the below instructions to carry out the task –

  1. Hit “Win logo+R” hotkey to quickly open Run dialog box.
  2. Type in regedit and click OK. Click Yes when UAC pop up shows up for further permission.
  3. Head to the below-given path on its left sidebar –


  1. Switch to the right pane and double-click on Start. Set its Value data as 4 and click OK. Now try to install 2004 update and it will complete successfully.
hardlock.sys in registry editor

2] Uninstall the Driver

  1. First of all, launch any web browser and visit this page to download the haspdinst zip file.
  2. Once the download gets over, unzip the file (haspdinst.exe) to your C: drive.
  3. Now, type cmd.exe on the taskbar search. Right-click on Command Prompt and choose “Run as administrator“.
  4. Hit Yes on the UAC prompt and provide permission to proceed.
  5. When into the elevated Command Prompt, insert the given text and hit Enter –

haspdinst.exe -kp -r -fr -v -purge

  1. After successfully uninstalling the driver, try to update the system which should overcome the BSOD error.

3] Remove the Buggy Update

If you are experiencing hardlock.sys error with Page Fault in Nonpaged Area after installing a specific update, then it might be that patch causing the issue. So it’s better to remove that buggy update from the system. To do so, go through these steps –

  1. Fire up taskbar search, type in appwiz.cpl and click OK.
  2. On the Programs and Features window, do a click on “View installed updates“.
  3. Reach out to the update that you might think responsible for the error and do a right-click on it. Select Uninstall.

4] Fix hardlock.sys error Page Fault in Nonpaged Area by Updating Driver

  1. Right-click on Start and select Run from the Win+X menu.
  2. Insert the command devmgmt.msc and click OK.
  3. On the Device Manager console, locate and expand the device’s list to see Sentinel driver.
  4. Once you see it, do a right-click on it and select Update Driver.
  5. Choose Search automatically for drivers from the following pop up.
  6. Wait until the system download and install the driver updates.

1] Modify Registry
2] Uninstall the Driver
3] Remove the Buggy Update
4] Update Driver

That’s all!!

Sharing is caring    Share Whatsapp

Topics:  Windows
About Sunita
Love to play with Windows 11 and 10. Suggestion - Going for Registry change or system files edit then remember to take a backup or create a restore point before Starting.