You are always prompted for the virtual smart card PIN when you use the Certutil.exe command-line tool in Windows 8.1 or Windows Server 2012 R2

Aplica-se a: Windows 8.1 EnterpriseWindows 8.1 ProWindows RT 8.1

This article describes an issue when you use the Certutil.exe command-line tool. A hotfix is available to resolve this issue. The hotfix has a prerequisite.

Symptoms


Assume that you copy a .pfx certificate file to a Windows 8.1-based or Windows Server 2012 R2-based computer that has its Trusted Platform Module (TPM) chip enabled. You run the certutil -importpfx command and the -pin argument to import the .pfx file together with a virtual smart card (VSC) personal identification number (PIN). In this situation, the -pin argument cannot be recognized, and you are always prompted for the VSC PIN.

Cause


This issue occurs because the value for the -pin argument is saved into a global variable during the argument processing. However, the value is never used by the Certutil.exe command-line tool. Therefore, you are always prompted for the VSC PIN.

Resolution


To resolve the issue, install the hotfix that is described in this article.

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, go to the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Window 8.1 or Windows Server 2012 R2. Additionally, you must have the following update installed:
2919355 Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2 Update: April 2014

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
For more information about the Certutil.exe command-line tool, go to the following Microsoft website: