vJoy: vJoy failed to install on Windows11
vJoy kept failed to install on my device even the latest release. Please help me! Here is some detailed information about my device.
版本 Windows 11 专业工作站版
版本 21H2
安装日期 2021/8/17
操作系统版本 22000.194
体验 Windows 功能体验包 1000.22000.194.0
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 63
No it isn’t working, the install fail, it is unable to create the devices.
But vJoy 2.1.9.1 from jshafer817 seems to work
Ok, good news. After many months (years?), I finally setup a windows 11 computer for kernel debugging to see what happens . This required me to compile and install vjoy with testsigning enabled (using a test certificate), using VS2022 and latest WDK available to date (10.0.22621.0). The dowside of this upgrade is that win32 is not accepted anymore, only x64 is available. So OS Windows target version must be >10 (ie windows 10, windows 11, and possibly future major OS).
So, after debugging step by step, I discovered that the main loading issue is related to this function DriverEntry function, where a piece of code is called at the wrong time:
Basically, we ask for a memory allocation, while driver memory pool is not yet created…
So I am happy to say that we probably have a fix for vjoy 2.2.x
Hey folks we decided to go through the signing process and just released a fully signed version in our fork here. We just built the master branch which was already at version v2.2.2.0 and tested it on several win10 and win11 machines with great success. Hope this helps others and puts the great work of @njz3 (and others) to use 😃
@MichalBerner https://github.com/jshafer817/vJoy/releases/tag/v2.1.9.1 That is signed for Windows 10, but people say it works with Windows 11. Not sure about @njz3 status is on his version as his supports more force feedback stuff.
@NPU-Franklin I’ve just seen that the author is not maintaining the project anymore.
I used this fork https://github.com/njz3/vJoy and installed it successfully under Windows 11
I only know some industrial platforms like Beckhoff and Siemens that were using win7 (mostly embedded versions WES7) where it could be relevant, but that’s really a niche. I will try to backport my most important changes to the master branch w10/w11 and let you know when done.
Here is a download link to the TESTSIGN binary version v2.2.1.2 for feedbacks. https://drive.google.com/file/d/1Vu2JICPl9xMlvjQvZLP05dBodJmepk6o/view?usp=sharing To use it, first enable TESTSIGN mode on your windows computer by entering
Bcdedit.exe -set TESTSIGNING ONin an elevated command prompt. https://learn.microsoft.com/en-us/windows-hardware/drivers/install/the-testsigning-boot-configuration-option Then download my test certificate that you can download from here: https://drive.google.com/file/d/1QAWUyx7mptCcIt99xyQ3mjhte9KgxxDY/view?usp=sharing Install the certificate by double-clicking on it and select the “Trusted Root Certification” store. https://learn.microsoft.com/en-us/windows-hardware/drivers/install/installing-test-certificates Finally, proceed to vJoy installation as usual.