This document describes the use of the native Windows interface with the Yubico Minidriver to manage the PIN and PUK for the YubiKey PIV function. Users on Linux or macOS should generally use the YubiKey Manager. However, note that on macOS, the Terminal command sc_auth changepin can be used to change the PIN.
These settings are only possible with INGOS MFA, powered by YubiKey. The YubiKey is the hardware token that functions as a security device, enhancing authentication. INGOS MFA leverages the powerful features of the YubiKey to provide secure and reliable multi-factor authentication.
The YubiKey Minidriver blocks the PUK if it is set to the factory default value. Once the PUK is blocked, it cannot be used unless the PIV applet is reset. To use the PUK, it must first be set with the YubiKey Manager before the YubiKey Minidriver can be used to load or modify certificates on the YubiKey PIV Applet.
Use the following command in the YubiKey Manager to set a new PUK value:


Enter the current and new PUK values in alphanumeric text. These values are not automatically saved and should be noted for future use.
To enable this function, the Group Policy Object "Allow Integrated Unblock screen to be displayed at the time of logon" must be set. This setting is located under:
GPO
Computer Configuration > Administrative Templates > Windows Components > Smart CardOnce a YubiKey is registered, the user’s PIN should be changed if the default value (123456) is still set. After logging into their account, the user can change the PIN of a YubiKey connected to their system as follows:
By default, the user PIN is blocked after three consecutive incorrect PIN entries. The PIN Unblock Code (PUK) is used to unblock the user PIN. If both the PIN and the PUK are blocked, the YubiKey must be reset, which deletes any loaded certificates and returns the YubiKey to its factory default state.
Steps to Unblock the User PIN via Windows login interface:
Insert the YubiKey and attempt to log in at the Windows login screen. When the PIN is blocked, the Change a Password screen is displayed.
Check the Unblock smart card checkbox.
For Windows 10 and higher, as well as Windows Server 2016 and newer:
Enter a new, properly formatted PIN in the New PIN and Confirm PIN fields, then press Enter.
Remove and then reinsert the YubiKey, and test the new PIN to verify you can access the account.