# Gpg4win (Windows 7) does not recognize Nitrokey Pro on Notebooks with built-in smartcard reader. SOLUTION!

**URL:** <https://support.nitrokey.com/t/gpg4win-windows-7-does-not-recognize-nitrokey-pro-on-notebooks-with-built-in-smartcard-reader-solution/224>\
**Category:** Nitrokeys\
**Created:** [September 25, 2016, 6:57pm UTC](https://support.nitrokey.com/t/gpg4win-windows-7-does-not-recognize-nitrokey-pro-on-notebooks-with-built-in-smartcard-reader-solution/224 "2016-09-25T18:57:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaltfeld](https://support.nitrokey.com/letter_avatar_proxy/v4/letter/j/e495f1/32.png) [@jaltfeld](https://support.nitrokey.com/u/jaltfeld)\
**Post date:** [September 25, 2016, 6:57pm UTC](https://support.nitrokey.com/t/gpg4win-windows-7-does-not-recognize-nitrokey-pro-on-notebooks-with-built-in-smartcard-reader-solution/224/1 "2016-09-25T18:57:11Z")

</div>

I am using a Dell Latitude Notebook with a built-in smartcard reader (in my case: Broadcom Corp Contacted SmartCard, shown as “Broadcom Usbccid Smartcard reader (WUDF)” in the device manager).

After plugging in the Nitrokey Pro

```auto
gpg --card-status
```

failed with the message

[quote]gpg: selecting openpgp failed: unknown command  
gpg: OpenPGP card not available: general error[/quote]

Using the GPA tool of Ggp4win showed “No smartcard detected” in the Smartcard admin dialog.

**Solution:**

1. Open the GPA tool (GNU Privacy Assistent)
2. Windows \> Card Administration
3. Edit \> Backend settings
4. Select the tab “Smartcard Daemon”
5. Set the “reader-port” to “user defined value” and enter “ **Nitrokey Nitrokey Pro 0** ” as value
6. Close the GPA tool
7. Restart the gpa-agent to enable the new settings:

`gpg-connect-agent killagent /bye
gpg-connect-agent /bye`

Alternatively you can edit the file “scdaemon.conf” in the folder  
“C:\Users\<your user name\>\AppData\gnupg” and add the reader port manually:

> [@](#):
>
> reader-port Nitrokey Nitrokey Pro 0

Don’t forget to restart the gpa-agent as described above to activate the changed settings.

If you cannot find the gnupg folder enter “%appdata%” into the file explorer and hit enter.

**How to diagnose the problem**

If you use the GPA tool to enable the logging of the _Smartcard Daemon_ into a file (debug level 1000)  
the log file will contain an error message and two (or more) entries showing the detected smart readers:

> [@](#):
>
> 2016-09-25 18:24:48 scdaemon[6444] detected reader `Broadcom Corp Contacted SmartCard 0' 2016-09-25 18:24:48 scdaemon[6444] detected reader ` **Nitrokey Nitrokey Pro 0** ’  
> 2016-09-25 18:24:48 scdaemon[6444] reader slot 0: not connected  
> scdaemon[6444]: chan\_0x00000138 → OK GNU Privacy Guard’s Smartcard server ready  
> …  
> 2016-09-25 18:24:48 scdaemon[6444] pcsc\_connect failed: removed card (0x80100069)  
> 2016-09-25 18:24:48 scdaemon[6444] reader slot 0: not connected  
> scdaemon[6444]: chan\_0x00000138 → ERR 100663408 Card not found  
> …

The scd daemon shows the exact name of the Nitrokey smartcard “reader” that you have use as reader port setting.  
I mention this just in case you have the same problem but use another type of smartcard or crypto stick.

**@admin: Since it is quite common that notebooks have a built-in smartcard reader I would suggest to add this solution to installation instructions on your web site or at least into the FAQ section!**

---

<div class="post-metadata">

**Author:** ![jan](https://support.nitrokey.com/letter_avatar_proxy/v4/letter/j/ce7236/32.png) [@jan](https://support.nitrokey.com/u/jan)\
**Post date:** [September 27, 2016, 7:17pm UTC](https://support.nitrokey.com/t/gpg4win-windows-7-does-not-recognize-nitrokey-pro-on-notebooks-with-built-in-smartcard-reader-solution/224/2 "2016-09-27T19:17:21Z")

</div>

Thank you for the clear instructions!

So far nobody else reported this problem which is why it doesn’t really qualify for a **Frequently** Asked Question. 🙂 But I will add it to the FAQ in case more people have the same problem. Thank you.

---

<div class="post-metadata">

**Author:** ![jaltfeld](https://support.nitrokey.com/letter_avatar_proxy/v4/letter/j/e495f1/32.png) [@jaltfeld](https://support.nitrokey.com/u/jaltfeld)\
**Post date:** [September 27, 2016, 9:17pm UTC](https://support.nitrokey.com/t/gpg4win-windows-7-does-not-recognize-nitrokey-pro-on-notebooks-with-built-in-smartcard-reader-solution/224/3 "2016-09-27T21:17:58Z")

</div>

Adding a FAQ entry is perfect.

Since Dell notebooks are quite common in many companies I thought I am not alone with this problem.

Always a pleasure to support open software (and hardware)…!
