The certutil command below is incorrect, it should use commas instead of spaces:
certutil -dsTemplate WHFBAuthentication msPKI-Private-Key-Flag +CTPRIVATEKEY_FLAG_HELLO_LOGON_KEY
THe correct command is below:
certutil -dsTemplate WHFBAuthentication,msPKI-Private-Key-Flag,+CTPRIVATEKEY_FLAG_HELLO_LOGON_KEY
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Wish I had a relevant scenario to test your statement in. Using internet search engines instead, nobody else have mentioned this before. I find that more than a little bit strange. The concept of separating command parameters or command line arguments with commas (especially when not mentioned in the program's own internal documentation) looks very, very unusual to me.
I agree, but the specified command resulted in a ‘too many arguments’ response, which yielded this thread -
The comma separated command worked, the given command threw an error. Please do try when (or if) you get the chance.
Sent from my iPhone
On 2 Oct 2019, at 19:58, Trond B. Krokli notifications@github.com wrote:
Wish I had a relevant scenario to test your statement in. Using internet search engines instead, nobody else have mentioned this before. I find that more than a little bit strange. The concept of separating command parameters or command line arguments with commas (especially when not mentioned in the program's own internal documentation) looks very, very unusual to me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Very good. Nice. That is actually a very useful reference for your statement. I feel less urged to burden myself with getting my hands on the proper scenario to test this (although I do suggest that anyone who has got access to a relevant scenario should test it).
I will go as far as to say that the document needs to be updated to include those findings, although I would like to have a confirmation from one of the MS Docs team members before I open a PR to do so.
Again, I agree with your comments.
If this issue could be confirmed or rejected by a product team member it would be useful.
Oh well. I will go ahead and create the PR anyway. I presume this topic will attract feedback faster that way.
edit: Would you happen to know if the added commas in the command allow for a single space after them, to make the command easier to read?
Or would that cause the same issue as you already ran into?
Thanks for this, I only tested the versions I posted I’m afraid.
Most helpful comment
I agree, but the specified command resulted in a ‘too many arguments’ response, which yielded this thread -
https://social.technet.microsoft.com/Forums/windowsserver/en-US/847c13d5-a32e-4799-bb83-2f8ead98a069/certutil-too-many-arguments?forum=winserversecurity
The comma separated command worked, the given command threw an error. Please do try when (or if) you get the chance.
Sent from my iPhone