PsSecDrv icon indicating copy to clipboard operation
PsSecDrv copied to clipboard

Possibly missing registry entry?

Open miguelmartins1987 opened this issue 1 year ago • 0 comments

The guide, as per https://github.com/ericwj/PsSecDrv/blob/master/README.md , states that it is necessary to, and I quote, "Install a game that brings (a recent version of) SECDRV.sys".

I don't think that's necessarily the case. In fact, I followed said guide from the third step ("Install the Windows 10 SDK from...") to the end, and what I got instead was that the Secdrv service didn't seem to exist ("The specified service does not exist as an installed service") when running sc.exe qc secdrv. However, an easy fix for this is to import the following registry file once that happens:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Secdrv]
"Type"=dword:00000001
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):5c,00,3f,00,3f,00,5c,00,43,00,3a,00,5c,00,57,00,69,00,6e,00,\
  64,00,6f,00,77,00,73,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,\
  00,5c,00,64,00,72,00,69,00,76,00,65,00,72,00,73,00,5c,00,53,00,45,00,43,00,\
  44,00,52,00,56,00,2e,00,53,00,59,00,53,00,00,00
"DisplayName"="Secdrv"

...and reboot the system (yes, you must reboot!). I tested this on a Windows 10 virtual machine and, after rebooting, it seems to work; querying secdrv now produces positive results; I am now able to run Command & Conquer: Red Alert 2's setup without issues.

Am I missing something here?

Either way, thank you for the guide.

miguelmartins1987 avatar Aug 05 '24 14:08 miguelmartins1987