btrfs icon indicating copy to clipboard operation
btrfs copied to clipboard

StartService FAILED 577 (Windows cannot verify the digital signature)

Open citizenserious opened this issue 3 years ago • 11 comments

Hi there,

I installed the latest release 1.7.8.1 successfully on my Windows 10 (19042.1110) Version 20H2 I also added the registry entry UpgradedSystem and set it to "1" as described. I also installed winmd.

I did also try this installation progress:

C:\data\btrfs-1.7.8.1> pnputil.exe -a btrfs.inf Microsoft PnP Utility

Processing inf : btrfs.inf Driver package added successfully. Published name : oem59.inf

Total attempted: 1 Number successfully imported: 1


Somehow nothing is happening when I plug my btrfs formatted drive in my windows computer, even after a restart. The drive does not appear in the explorer, even tough it is visible (like before) in the Disk Management.

Did I overlook something?

Thank you very much.

citizenserious avatar Jul 21 '21 16:07 citizenserious

Is the driver running? Try sc query btrfs from an admin command prompt. If not, what does sc start btrfs say?

maharmstone avatar Jul 21 '21 16:07 maharmstone

Thanks for the reply in light speed (: It is stopped:

SERVICE_NAME: btrfs TYPE : 1 KERNEL_DRIVER STATE : 1 STOPPED WIN32_EXIT_CODE : 31 (0x1f) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x0

And cannot be started:

C:\WINDOWS\system32>sc start btrfs [SC] StartService FAILED 577:

Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source.


The Device Manager is not showing "Btrfs controller" under "Storage volumes" or everywhere else.

citizenserious avatar Jul 21 '21 16:07 citizenserious

Yes, release must be signed to be installable securely https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/signing-a-driver

ohhmm avatar Sep 01 '22 15:09 ohhmm

Yes, release must be signed to be installable securely https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/signing-a-driver

do you know how to do this? The description here states "The driver is signed, so should work out of the box on modern versions of Windows."

citizenserious avatar Sep 01 '22 15:09 citizenserious

The driver must be signed with publicly verifiable certificate.

ohhmm avatar Sep 15 '22 13:09 ohhmm

@ohhmm so there is nothing I can do? I do not know how to sign the driver as an user.

citizenserious avatar Sep 15 '22 13:09 citizenserious

That's on maintainer

ohhmm avatar Sep 15 '22 14:09 ohhmm

@citizenserious, Anyway, you can buy new certificate and sign your build with your public certificate.

ohhmm avatar Sep 19 '22 14:09 ohhmm

@citizenserious, the driver works out of the box as is, you don't need to mess around with signatures. Try installing the latest version as described in the README (i.e. not using pnputil).

maharmstone avatar Sep 19 '22 15:09 maharmstone

Thanks @maharmstone,

Misleading was unsigned inf part. See how to sign inf too: https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/inf2cat?source=recommendations image

Looks like the driver however is signed. image

ohhmm avatar Sep 19 '22 18:09 ohhmm

The inf is signed

maharmstone avatar Sep 19 '22 18:09 maharmstone

Closing old issues

maharmstone avatar Nov 30 '23 01:11 maharmstone