Single Signing with a SHA1 or a SHA2 certificate:

Run the following command to apply the SHA1 signature:

DO NOT USE! SHA1 Depreciated

NOTE:
XXSHA1CERTTHUMBPRINTXX is the thumbprint of your SHA1 code signing certificate
WINQUAL.EXE is the executable file you want to sign

Run the following command to apply the SHA2 signature:

NOTE:
XXSHA256CERTTHUMBPRINTXX is the thumbprint of your SHA2 code signing certificate
WINQUAL.EXE is the executable file you want to sign

Then verify the signing of the sys file: