Hello, trying to install mantis on Virtual machine Hyper-v, but I always get error No Hardlock : 38
On normal windows works fine.
Any solution for this?
On normal windows works fine.
Any solution for this?
(02-17-2026, 01:41 AM)maxxx333 Wrote: Are you reinventing the wheel?
https://mhhauto.com/Thread-Man-Mantis-v8...-VM-VMware
(02-19-2026, 09:56 PM)salah7 Wrote: The 'No Hardlock: 38' error in Hyper-V is caused by the software's protection layer detecting the virtualized hardware environment. While VMware makes it easy to mask this, Hyper-V is a 'Type 1' hypervisor and exposes its identity more aggressively to the guest OS.
To get this running on Hyper-V, you have two main paths:
1. Mask the Hypervisor in the VM Config
You need to hide the hypervisor signature so the Hardlock driver doesn't realize it's in a VM. Run PowerShell as Administrator on your Host and try this command:
Set-VMProcessor -VMName "YOUR_VM_NAME" -ExposeVirtualizationExtensions $false
Note: This might not be enough on its own for Mantis, but it's the first step.
2. Modify the Registry (Guest OS)
Inside your Hyper-V Virtual Machine, go to:
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0
Look for the Identifier or ProcessorNameString. If it says 'Hyper-V' or 'Virtual CPU,' some older Hardlock emulators will instantly throw Error 38. You can try to rename these, but they often reset on reboot.
3. The Better Solution: Use a 'Patched' Hardlock Emulator
Most guys running Mantis in VMs use a specific 'MultiKey' or 'VUSBBus' emulator that has been patched to ignore the VM detection bit. If you are using an old emulator from a physical install, it will never work in Hyper-V. You likely need a version of the emulator specifically compiled for x64 virtual environments.
Quick Tip: If you absolutely must stay in Hyper-V, make sure 'Enhanced Session Mode' is turned OFF when you try to start the software, as the RDP-based redirection in Enhanced Session can also trigger the Hardlock security.
(04-19-2026, 04:16 AM)bimmerdriver Wrote:This helped: make sure 'Enhanced Session Mode' is turned OFF(02-19-2026, 09:56 PM)salah7 Wrote: The 'No Hardlock: 38' error in Hyper-V is caused by the software's protection layer detecting the virtualized hardware environment. While VMware makes it easy to mask this, Hyper-V is a 'Type 1' hypervisor and exposes its identity more aggressively to the guest OS.
To get this running on Hyper-V, you have two main paths:
1. Mask the Hypervisor in the VM Config
You need to hide the hypervisor signature so the Hardlock driver doesn't realize it's in a VM. Run PowerShell as Administrator on your Host and try this command:
Set-VMProcessor -VMName "YOUR_VM_NAME" -ExposeVirtualizationExtensions $false
Note: This might not be enough on its own for Mantis, but it's the first step.
2. Modify the Registry (Guest OS)
Inside your Hyper-V Virtual Machine, go to:
HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0
Look for the Identifier or ProcessorNameString. If it says 'Hyper-V' or 'Virtual CPU,' some older Hardlock emulators will instantly throw Error 38. You can try to rename these, but they often reset on reboot.
3. The Better Solution: Use a 'Patched' Hardlock Emulator
Most guys running Mantis in VMs use a specific 'MultiKey' or 'VUSBBus' emulator that has been patched to ignore the VM detection bit. If you are using an old emulator from a physical install, it will never work in Hyper-V. You likely need a version of the emulator specifically compiled for x64 virtual environments.
Quick Tip: If you absolutely must stay in Hyper-V, make sure 'Enhanced Session Mode' is turned OFF when you try to start the software, as the RDP-based redirection in Enhanced Session can also trigger the Hardlock security.
Thanks for posting these tips. In my case, running Windows 11 IoT Enterprise LTSC VM on a Windows 10 Professional host, I was not able to get the Xentry installer to run. All I had to do was disable Enhanced Session Mode.