Automate PIN Entry on Smartcard RUNAS?
I am trying to automate a smart card RUNAS PIN entry (so that i throw it in a loop and quickly lock a card with a bogus PIN for demonstration purposes)I tried the following:C:\Users\buia>runas /smartcard cmd.exe < c:\pin.txtReading smart cards........The following errors occurred reading the smart cards on the system:No certificates valid for this use on reader 1Using the card in reader 2. Enter the PIN:Attempting to start cmd.exe as user "John Doe (affiliate) - Org CA" ...RUNAS ERROR: Unable to run - cmd.exe-2146893790: Provider could not perform the action since the context was acquired as silent.This all returns almost immediately. Am I just not allowed to pass in a PIN from a text file? Does anyone have any other ideas of how I can do this?
February 19th, 2010 8:24pm

I do not believe you can pass the PIN from a text fileThe whole idea of the card is two factor (something you have, something you know)Brian
Free Windows Admin Tool Kit Click here and download it now
February 19th, 2010 10:01pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics