Some of you may be annoyed by the way signcode.exe keeps popping up the password prompt when trying to sign file from command line. There’s a workaround, however.
The utility catches password prompt and autoenters the password. After a minute of inactivity it quits. For use in bacth files like this:
start /b AutomateSigncodePassword.exe my-authenticode-password
signcode %1 -spc mycredentials.spc -v myprivatekey.pvk -t http://timestamp.verisign.com/scripts/timestamp.dll