Every logon, unlock or credential prompt done through CodeB SmartLogin writes one event to the Windows event log CodeB Credential Provider V2: event ID 1100 for success and 1101 for failure. Since the beta of 10 November 2026 it also logs 1102 (temporary card refused), 1103 (unknown card presented) and 1104 (audit note). Each event records the action, account, card serial, method, computer, UTC time and result — but never a password or PIN. On shared accounts the card serial shows which person logged on, on which PC and when.
What does the CodeB logon audit record?
The CodeB logon audit writes one event for every logon, unlock or credential prompt performed through CodeB SmartLogin. The events go to the Windows event log CodeB Credential Provider V2, under Applications and Services Logs. This gives a complete, tamper-evident record of who used a PC and when, without any extra agent.
Which event IDs and fields are used?
| Event ID | Meaning |
|---|---|
1100 | Succeeded (Audit Success). |
1101 | Failed (Audit Failure) — includes the Windows status code. |
1102 | Temporary card refused — the card is outside its valid-from / valid-until window; the reason is in the event. |
1103 | Unknown card (Warning) — a card was tapped that is not linked to any account; no logon was attempted. |
1104 | Audit note — the unknown-card audit was paused or rate-limited (more than 30 unknown cards or 100 checks in 10 minutes). Not a card tap itself. |
Each event carries these fields:
| Field | Content |
|---|---|
| Action | Logon, Unlock or Credential prompt. |
| Account | The Windows account that was logged on or unlocked. |
| Card serial | The card (or phone card) serial, or none. |
| Method | Password from card, or certificate / Kerberos. |
| Computer | The PC where it happened. |
| Time | UTC. |
| Result | Success, or failure with the Windows status code. |
What does event 1103 “unknown card” mean?
Event 1103 (Warning) is written to CodeB Credential Provider V2 when a card is tapped at the logon or unlock screen and it is not linked to any account. It records the card ID, the text “the card is not linked to any account; no logon was attempted”, whether Active Directory was checked, the computer and the UTC time — never a PIN or password. It closes the audit gap for cards that do not belong to anyone, for example a found or foreign card.
- “Not linked” means: no card token on this computer or on the shared data folder, no Kerberos/KSP card, no 2FA entry, and — when Active Directory card linking is on — no AD account carries the card.
- If the domain controller cannot be asked (offline, LDAP error), nothing is written, because CodeB cannot decide.
- At most one event per card every 2 minutes; heavy bursts produce a single
1104note instead. - A card enrolled for an AD account marked
codeb_newusershows one1103on its first tap, before the user signs in with password + card. - Switch it off with
HKLM\SOFTWARE\WOW6432Node\CodeB\Config\AuditUnknownCards=0(default on). See Registry settings.
How do you collect the events centrally?
The events can be collected from all PCs with Windows Event Forwarding or any SIEM. Filter on the log name CodeB Credential Provider V2 and event IDs 1100–1104. Because the record is a standard Windows event, it fits existing log pipelines with no extra agent.
A Windows Event Forwarding subscription (or Event Viewer → Filter Current Log → XML) can use this query:
<QueryList>
<Query Id="0" Path="CodeB Credential Provider V2">
<Select Path="CodeB Credential Provider V2">*[System[(EventID >= 1100 and EventID <= 1104)]]</Select>
</Query>
</QueryList>
The CodeB Admin Console shows the same events on its Logon log tab, with CSV export.
What is never written?
No password and no PIN is ever written to the audit. On shared accounts the card serial is the identifier; for phone cards it is the phone card’s pseudonymous ID, not the employee’s name.
Honest limits
The CodeB audit covers logons, unlocks and credential prompts done through CodeB SmartLogin. Logons through Windows’ own smart-card tile — for example the phone-as-PKI-smart-card path, which runs without any CodeB component on the PC — are recorded in the Windows Security log instead, not in events 1100/1101.
Frequently asked questions
Where are the CodeB logon events?
In the Windows event log CodeB Credential Provider V2, under Applications and Services Logs. Event ID 1100 is a successful logon/unlock, 1101 a failed one.
Can I tell which person used a shared account?
Yes, when each person has their own card enrolled for the shared account. The event records the card serial, so you can see which card — and therefore which person — logged on, on which PC and at what time.
Is any password or PIN written to the log?
No. The audit never records a password or PIN. It records the action, account, card serial, method, computer, UTC time and result only.
How do I forward the events to a SIEM?
Use Windows Event Forwarding or your SIEM’s Windows collector and filter on the log name CodeB Credential Provider V2 and event IDs 1100 and 1101.
Which events does CodeB write to the event log?
Five events in the log CodeB Credential Provider V2: 1100 logon/unlock succeeded, 1101 failed, 1102 temporary card refused, 1103 unknown card presented, 1104 audit note (unknown-card audit paused or rate-limited). No PIN or password is ever written.