Windows 10: How to integrate Windows kernel driver signing with automatical build system?

Discus and support How to integrate Windows kernel driver signing with automatical build system? in Windows 10 Drivers and Hardware to solve the problem; Microsoft requires to use windows hardware dev center to do the kernel driver signing, this raises a new challenge for our automatical build system.... Discussion in 'Windows 10 Drivers and Hardware' started by owt-codebear, Jul 13, 2021.

  1. How to integrate Windows kernel driver signing with automatical build system?


    Microsoft requires to use windows hardware dev center to do the kernel driver signing, this raises a new challenge for our automatical build system. Previously, our build system works will corss-sign the kernel drivers using a EV certificate locally. But now, we need to submit drivers to hardware dev center, wait for Microsoft to sign it and download the signed drivers. This stops the build system from doing the build automatically. How to eliminate human intervention and make it work automatically like before?

    :)
     
    owt-codebear, Jul 13, 2021
    #1

  2. Kernel driver service not start after upgrade on Windows 10

    Hello,

    I have a driver package include drivers for USB device and some kernel driver services. The driver works normally on Windows 10, when I upgraded the system to latest version (say from build 1803 to 1809), I found the kernel driver services
    not start after upgrade if USB device not attached, both the driver files on Windows\System32\drivers and the registry for the kernel driver service are missing.
    When I attached the USB device, the kernel driver service can be restored by executing the INF file since the DriveStore copied into the upgraded system.

    I expect the kernel driver service start normally after the upgrade whether USB device attached or not. I have some queries for my cases,

    1. I met this issue lately, seems Windows 10 update some policy about this, why the registry and driver files not copied into the upgraded system? Seems the kernel driver service is regarded as a USB driver which should be restored
      from DriverStore, then not copied, right?
    2. If not split the kernel driver service from the driver package, could you provide some suggestion on how to start the kernel driver service after the upgrade (without USB device attached)?
    Thanks,

    Mark
     
    cornor2018, Jul 13, 2021
    #2
  3. Code Integrity and Cryptographic problems

    Hello,

    Thank you for posting the query on Microsoft Community. I am glad to assist you on this.

    The Code Integrity component of Windows enforces the requirement that kernel-mode drivers be signed in order to load. Windows always generate Code Integrity operational events and optionally will generate additional system audit events and verbose diagnostic
    events that provide information about the status of driver signing.

    The Code Integrity operational log includes warning events that indicate that a kernel-mode driver failed to load because the driver signature could not be verified. Signature verification can fail for the following reasons:

    • An administrator preinstalled an unsigned driver, but Code Integrity subsequently blocked loading the unsigned driver.
    • The driver is signed, but the signature is invalid because the driver file has been altered.
    • The system disk device might have device errors when reading the file for the driver from bad disk sectors.
    For more information, I suggest you to refer the below Microsoft article and check if it helps.

    Code Integrity Diagnostic System Log Events - Windows drivers

    You can try the below steps and check if it helps.


    • Open the Task manager. Here’s a tip: Press
      CTRL+Shift+ESC.

    • Click File > Run New Task.

    • Make sure you have a check mark beside “Create this task with administrative privileges”.

    • Type CMD.

    • Type the following 4 commands at the CMD prompt:

      dism /online /cleanup-image /restorehealth

      sfc /scannow

      powershell

      Get-AppXPackage -AllUsers |Where-Object {$_.InstallLocation -like "*SystemApps*"} | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}



    • Close the CMD window.
    Kindly let us know if you need any further assistance with Windows. We are glad to assist you.

    Thank you.
     
    ThofikhAhamad, Jul 13, 2021
    #3
  4. thraxed Win User

    How to integrate Windows kernel driver signing with automatical build system?

    Disable Driver Signing Vista 64 Sp2

    I heard if you attach a kernel debugger driver signing is automatically disabled, but if I turn on /debug switch I'm unable to load daemon tools.
     
    thraxed, Jul 13, 2021
    #4
Thema:

How to integrate Windows kernel driver signing with automatical build system?

Loading...
  1. How to integrate Windows kernel driver signing with automatical build system? - Similar Threads - integrate kernel driver

  2. Problem with Hyper-V NT Kernel Integration VSP driver

    in Windows 10 Gaming
    Problem with Hyper-V NT Kernel Integration VSP driver: Since updates KB5050411 & KB5050188 on 15/01/2025 my Windows 10 22H2, on the system with Intel i5-6600 & Z170 BIOS/MBR, is no longer starting correctly. Further updates did not correct this problem.While loading, it produces a strong screen blink and the following...
  3. Problem with Hyper-V NT Kernel Integration VSP driver

    in Windows 10 Software and Apps
    Problem with Hyper-V NT Kernel Integration VSP driver: Since updates KB5050411 & KB5050188 on 15/01/2025 my Windows 10 22H2, on the system with Intel i5-6600 & Z170 BIOS/MBR, is no longer starting correctly. Further updates did not correct this problem.While loading, it produces a strong screen blink and the following...
  4. Problem with Hyper-V NT Kernel Integration VSP driver

    in Windows 10 Drivers and Hardware
    Problem with Hyper-V NT Kernel Integration VSP driver: Since updates KB5050411 & KB5050188 on 15/01/2025 my Windows 10 22H2, on the system with Intel i5-6600 & Z170 BIOS/MBR, is no longer starting correctly. Further updates did not correct this problem.While loading, it produces a strong screen blink and the following...
  5. How to sign-in to Windows 11 automatically

    in Windows 10 News
    How to sign-in to Windows 11 automatically: Some Windows users prefer to sign-in to the Windows operating system automatically. While not advised on multi-user systems or systems with confidential files, the automatic login into Windows can speed up the start of the operating system. Windows 11 users can configure the...
  6. NT kernel and file system driver crashing.

    in Windows 10 BSOD Crashes and Debugging
    NT kernel and file system driver crashing.: NToskrnl.sys frequently crashes but today i got the nt system file driver crash. ive been BSOD multiple times a day for the past few months. ive gotten new hardware and complete reformat with fresh install windows. ive found no solution. onedrive link with last 5...
  7. System integrated webcam

    in Windows 10 Drivers and Hardware
    System integrated webcam: i have a ASUS TUF F17 laptop, my camera was not working properly, so I tried uninstalling and reinstalling, after I uninstalled and scanned for hardware changes, the driver didn't get install again, I tried restarting but it didn't help, I tried some third party websites to...
  8. Will windows 10 automatically update "OS Build", system files repair options by build ?

    in Windows 10 Installation and Upgrade
    Will windows 10 automatically update "OS Build", system files repair options by build ?: Well, since seems Microsoft is pilling up OS builds, now we have 6 and upcoming 7th OS build would like to understand which OS builds automatically upgrades to next OS build. So, according to Windows 10 - Release Information a. Does OS Build 10240 automatically without...
  9. Automate system integrity

    in Windows 10 Software and Apps
    Automate system integrity: The attached script schedules a weekly /RestoreHealth and /scannow execution to maintain file integrity. It runs silently and will only prompt if unable to complete either scan or corrupted files are found. On first run it creates the task to run weekly. [img] If an...
  10. How to find out why my kernel driver is hanging the system.

    in Windows 10 Drivers and Hardware
    How to find out why my kernel driver is hanging the system.: I wrote a kernel driver that uses IoConnectInterrupt to register a handler for an interrupt vector. If I don't actually enable interrupts on the hardware, no problem, but with interrupts enabled, the system freezes after a short time. I can't use the mouse or keyboard, not...