Skip to main content

cPVAL Excessive Logon ExcludeByComputer

Summary​

Lists the computer and account pairs that the Excessive Logon Attempts solution ignores when it counts failed logon attempts (Security event ID 4625). A failed logon is ignored when its account matches an entry and the computer in that entry is either the account's domain or the workstation the attempt came from. Failed logons ignored this way never count toward the alert threshold.

Use it for an account that is only expected to fail on or from one computer, such as the local account on a front desk PC. The same account failing on or from any other computer still counts.

Entering Entries​

  • Write each entry as COMPUTER\account. A forward slash also works, as in COMPUTER/account.
  • Separate entries with commas, semicolons or line breaks.
  • Use * to match any number of characters and ? to match exactly one character, in either part of the entry. COMPUTER\* matches every account.
  • Matching is not case-sensitive, and quotes are not needed.
  • An entry that does not have both a computer and an account, such as FRONTDESK-01 on its own, is skipped.
EntryWhat it ignores
FRONTDESK-01\receptionThe local account reception on FRONTDESK-01, and any account named reception, including CONTOSO\reception, failing from FRONTDESK-01.
LAB-PC07\*Every account whose domain or workstation is LAB-PC07.
POS-*\cashierThe account cashier on, or from, every computer whose name starts with POS-.

How Entries Are Matched​

The computer part of an entry is compared with two fields of each failed logon. Both fields appear under the same names in the alert.

FieldWhat it holds
DomainThe domain of the account that failed, such as CONTOSO. For a local account it is the name of the computer the account belongs to, such as FRONTDESK-01.
WorkstationNameThe name of the computer the attempt came from, as reported by that computer. It can be empty or -. Source IP addresses are not matched.

Checking both fields covers both sides of a local account on one PC: failures of the local account itself, and failures that come from that PC. To match only one of these fields, use cPVAL Excessive Logon ExcludeByDomain, which checks only the account's domain, or cPVAL Excessive Logon ExcludeByWorkstation, which checks only the computer the attempt came from.

The account part of an entry is compared with both the username and the workstation name. It is normally a username, but it can also be a workstation name.

To ignore an account everywhere rather than on one computer, use cPVAL Excessive Logon ExcludeUsers instead.

Note: Avoid broad patterns such as *\* or *\Administrator. They hide failed logons from real attacks along with the harmless ones. Because the workstation name is reported by the computer that makes the attempt, any computer can report a name that matches an entry, so prefer naming a specific account over COMPUTER\*.

The field can be set at the organization, location or device level. A value set at a lower level replaces the inherited value instead of adding to it. To keep the organization's entries on a single device, include them in the device's value as well.

Details​

LabelField NameExampleDefinition ScopeTypeRequiredDefault ValueDropdown OptionsEditableCustom Field Tab
cPVAL Excessive Logon ExcludeByComputercpvalExcessiveLogonExcludebycomputerFRONTDESK-01\reception; LAB-PC07\*Organization, Location, DeviceMulti-lineFalseYesExcessive Logon Failures Detection

Dependencies​

Custom Field Creation​

Sample Screenshot​

Image1

Changelog​

2026-11-11​

  • Initial version of the document