Make sure you have the Windows Driver Kit installed on your development machine. You can download it from the official Microsoft website.
Ensure your driver package contains all necessary files and configurations required by the antivirus software.
Make sure the .inf
file specifies the correct information required by the antivirus software for integration.
You need to generate a catalog file for your driver package and with SignTool utility provided by Microsoft to sign the catalog file.
Finally test and run it.
See:
https://learn.microsoft.com/en-us/windows-hardware/drivers/install/driver-signing