Enabling Smart Card Event Logging in the Registry
Smart card reader drivers should log errors in the system event log so that the system administrators can use the log to help diagnose why a driver fails.
To enable event logging, you must add several values to the registry under the following key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EventLog\System\ SmartCardDriver
The registry values that enable event logging are listed in the following table.
Registry value name | Contents of the registry value |
---|---|
EventMessageFile |
%SystemRoot%\System32\Drivers\SmartCardDriver.sys
Important The file name extension must be included in the EventMessageFile value name, but it must never appear in any other part of the registry path.
|
TypesSupported |
DWORD:0x00000007 |
For more information about specifying these registry entries, see INF AddService Directive.