Unable to start service on Windows 10 x64
Pernat1y opened this issue · 9 comments
I have build solution with Visual Studio 2019 with WDK 10.0.18362.0 (Win32 Release) on Windows 10 x64 1909.
Driver installed successfully, but I am unable to start service:
>bcdedit /set TESTSIGNING ON
The operation completed successfully.
>bcdedit /enum
[...]
testsigning Yes
[...]
>sc start hidden
[SC] StartService FAILED 1275:
This driver has been blocked from loading
>sc query hidden
SERVICE_NAME: hidden
TYPE : 2 FILE_SYSTEM_DRIVER
STATE : 1 STOPPED
WIN32_EXIT_CODE : 1275 (0x4fb)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
yes i am like you what is the problem i apear with me just when 64bit win 8 , win 10 ,win 7
and when i run 32 bit it is work fine ,can you test on 32 bit
but the question is why do not work with 64 bit ?
If it helps:
Driver C:\Hidden.sys installed!
ZwLoadDriver() returned C000036B
Failed to load C:\Hidden.sys
Basically, the same error:
0xC000036B STATUS_DRIVER_BLOCKED_CRITICAL | Driver %2 has been blocked from loading.
Sadly, I don't have 32 bit OS to test and building x64 Release fails:
https://pastebin.com/raw/zxrsPJ1C
exactly even programmatically is not working , anyone help us please
Hi,
Just to clarify, after enabling TESTSIGNING did you reboot a system?
Regards,
Nikita K.
Yes, I have tried both with and without reboot.
Hi. Attached.
Hidden.zip
yes
and I also I tried to "Disable driver signature enforcement" from advance options but still problem not solve
all of then occurred when running on 64bit system
on 32 bit is running fine.
Hi,
I tested a driver you sent me and the driver is 32-bit one. If try to load 32-bit driver on a 64-bit machine of course you will get an error 1275 or status C000036B. A driver bitness should be equal to system bitness.
Please try to compile 64-bit driver and recheck it on 64-bit machine.
If you still have an issue with loading please create a new issue and I'll help
Regards,
JK