To obtain your registration code, please send an email to [email protected]
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Mantis on Virtual machine Hyper-v

1
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?
Thanks given by:
2
Are you reinventing the wheel?

https://mhhauto.com/Thread-Man-Mantis-v8...-VM-VMware
Thanks given by:
3
(02-17-2026, 01:41 AM)maxxx333 Wrote: Are you reinventing the wheel?

https://mhhauto.com/Thread-Man-Mantis-v8...-VM-VMware

I know about this, but few other programs I have in Hyper-V, so trying to have all in one place.
Thanks given by:
4
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.
IF I HELP PRESS THANKS + REP
Thanks given by: bimmerdriver , joe_black15
5
(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.
2020 BMW M2C DCT Hockenheim Silver
2014 Mercedes Benz ML 350 4MATIC Iridium Silver
Thanks given by: beha
6
@salah7,
can you explain how musk this in VMware, too?
Thanks
Thanks given by:
7
(04-19-2026, 04:16 AM)bimmerdriver Wrote:
(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.
This helped: make sure 'Enhanced Session Mode' is turned OFF
Thanks given by:

Possibly Related Threads…

AA MAN
Replies: 0
Views: 42
Yesterday, 03:14 AM
AA MAN
Replies: 16
Views: 2,313
10-15-2026, 10:35 PM
Users browsing this thread: