# Reset GPG Card PIN Retry Counter
## Metadata
**Status**:: #x
**Zettel**:: #zettel/permanent
**Created**:: [[2023-07-15]]
## Synopsis
The command `gpg --card-status` will show the field `PIN retry counter`. This field saves how many tries still are left to enter the right PIN. They are decremented whenever a wrong PIN is entered. They are reset whenever a correct AdminPIN is entered.
Steps to reset the counter using the AdminPIN:
```
gpg --edit-card
gpg/card> admin
gpg/card> passwd
```
Select "2 - unblock PIN" and enter the AdminPIN.