Skip to content

Est. 2011ยทMicrosoft Partner 7033487ยทDelivery under 3 minยทSupport 7 days a week

Your vault is empty.

License Error Event ID 5827

Event ID 5827: Netlogon blocks vulnerable secure channel connections

9 min read Updated October 4, 2026 Windows Server: AD, DNS & Group Policy

Fix it now

A domain controller denied a machine account’s Netlogon secure channel connection because the connection did not use secure RPC. That is enforcement working as designed. There is no setting on the domain controller that makes the connection acceptable and safe at the same time, so the device at the other end has to change.

Run this on each domain controller in an elevated PowerShell session

Get-WinEvent -FilterHashtable @{LogName='System'; Id=5827,5828,5829} -MaxEvents 500 |
  Select-Object TimeCreated, Id, Message |
  Sort-Object TimeCreated
  1. Collect the account names from every domain controller, not one. The combined list is the entire scope of the problem.
  2. Sort the list by what each account is: a Windows machine, a non-Windows domain member such as a storage or print appliance, or a trust account. Trust accounts appear as 5828 rather than 5827.
  3. For supported Windows machines, apply current updates and reboot. Secure RPC support arrived with the same updates that introduced the enforcement.
  4. For non-Windows members, move to a build the vendor states implements secure RPC for the Netlogon channel. Ask the vendor for the version number in writing.
  5. Treat the allow-list policy as a stop-gap with an end date, not a fix.

Devices exempted through the policy are recorded as 5830 (machine accounts) or 5831 (trust accounts). Those two events are your exemption register – review them regularly, because nothing else tracks the list.

Once an account stops appearing, that device is compliant. The next section explains what the domain controller is checking and why the allow-list is a poor long-term answer.

Why it happens

The Netlogon secure channel carries machine authentication between a domain member and a domain controller. Secure RPC on that channel is now required: a domain controller refuses a connection that does not use it, and records the refusal as Event ID 5827 for a machine account or 5828 for a trust account. The name in the event is the account that failed, and it is the only thing you need to identify the device.

The exception mechanism is a single group policy setting, Domain controller: Allow vulnerable Netlogon secure channel connections. Accounts listed in it are allowed through, and every such connection is logged – 5830 for a machine account, 5831 for a trust account. Nothing else records the exemption, so those two events are the only running inventory of the risk you are carrying.

Event 5829 is different in kind and worth understanding before you assume you are safe. It records a vulnerable connection that was allowed during the deployment phase, and its own text warns that the connection will be denied once enforcement is in place. A domain controller full of 5829 entries is a list of the devices that will fail next, which makes it the most useful event of the set.

A non-Windows domain member that predates secure RPC

You have this one if The account names in 5827 are storage appliances, print servers, Linux or Samba-based servers, or network hardware that joins the domain.

  1. Identify the product and its current firmware or package version.
  2. Move to a build the vendor states implements secure RPC for the Netlogon secure channel. This is a vendor statement, not a guess from release notes.
  3. Re-check the domain controller logs after the upgrade and confirm the account has stopped appearing.

A Windows machine that is missing updates

You have this one if The account is a Windows computer that is still supported but has not been patched for a long time.

  1. Apply current cumulative updates and reboot.
  2. Confirm the machine is actually receiving updates rather than reporting success against a source it can no longer reach.
  3. Re-check the logs. A supported, patched Windows machine should never produce 5827.

A trust with another domain rather than a machine

You have this one if Event ID 5828 rather than 5827, naming a trust account.

  1. Identify the domain on the other side of the trust and who runs it.
  2. The remedy is the same, but it is theirs: their domain controllers need the update.
  3. If an exemption is unavoidable while they schedule it, use the trust-account form of the allow-list and expect 5831 for every connection.

A trust exemption is broader than a single machine exemption. It covers everything authenticating across that trust, so it deserves a shorter deadline.

Something is on the allow-list and nobody remembers why

You have this one if 5830 or 5831 events arrive steadily, and no 5827 or 5828 for those accounts.

  1. Read the account names out of the 5830 and 5831 events – that is the live exemption list.
  2. Check each one against the reason it was added. Devices are commonly replaced without the exemption being removed.
  3. Remove entries whose devices are compliant or gone, and confirm no 5827 follows.

Full reference

The five events and what each one tells you

Event ID Level What it records
5827 Error A vulnerable connection from a machine account was denied
5828 Error A vulnerable connection using a trust account was denied
5829 Warning A vulnerable connection was allowed during the deployment phase; the text warns it will be denied under enforcement
5830 Warning A machine account connection was allowed because the account is listed in the allow-list policy
5831 Warning A trust account connection was allowed because the trust account is listed in the allow-list policy

Using the events as a project plan

  1. Collect 5827 and 5828 from every domain controller: those devices are broken now.
  2. Collect 5829 where any domain controller is still allowing vulnerable connections: those devices break next.
  3. Collect 5830 and 5831: those are the exemptions you already hold.
  4. De-duplicate by account name, not by event, because one device generates many entries.
  5. Give every account an owner and a date. The list only shrinks if somebody is responsible for each row.

Where the allow-list belongs

Domain controller: Allow vulnerable Netlogon secure channel connections is a domain controller policy, and it takes specific accounts. Add the account, not everything: the setting exists so that one uncooperative appliance does not force you to weaken authentication for the estate. Every allowed connection is then logged, which is the mechanism that stops an exemption becoming permanent by accident.

Do not use the allow-list as a general fix for a wave of 5827 events. The connections it permits are exactly the ones the enforcement exists to stop, and the accounts on it are the accounts an attacker would target first.

Checking a device rather than waiting for the log

  • Reboot the device and watch a single domain controller’s System log while it authenticates. One reboot gives you a clean answer for that account.
  • If the device authenticates against several domain controllers, check them all – a device can succeed on one and be denied by another if patching is uneven.
  • Where a vendor claims support, confirm with the log rather than the release notes. The absence of 5827 for that account after a reboot is the only proof that matters.
  • Keep an eye on newly joined devices. Anything that joins the domain running old firmware appears in this list on its first authentication.

When a licence is the actual fix

Nothing here is a licensing fault, and most of the list is closed by patching devices you already own. The exception is the device that cannot be patched at all: a Windows server on a build that no longer receives updates, or an appliance whose vendor has no firmware that implements secure RPC. Writing a permanent allow-list entry for that machine means carrying the weakness indefinitely, and it is the first thing an auditor will find. Where the machine is a Windows server, the honest fix is a supported build, and Arco supplies Windows Server 2025 Standard with the client access licences that go with it. Where it is an appliance, the conversation is with that vendor, not with us – and if the device is still in support and simply unpatched, update it and buy nothing.

Every code this article covers

Code What it points at Source
Event ID 5827 The Netlogon service denied a vulnerable secure channel connection from a machine account Microsoft Support
Event ID 5829 A vulnerable connection was allowed during the deployment phase; the text warns it will be denied once enforcement is released Microsoft Support
Event ID 5830 A machine account connection was allowed because that account is listed in the allow-list group policy Microsoft Support
Event ID 5831 The same exemption applied to a trust account rather than a machine account Microsoft Support

Confirm the fix worked

  1. The account has stopped appearing in 5827 or 5828 on every domain controller, not just the one you were watching.
  2. No 5830 or 5831 is written for it either, which would mean it is being allowed by exemption rather than complying.
  3. A reboot of the device produces a clean authentication with no new events.
  4. The allow-list policy contains only accounts you can name a reason and a date for.
  5. 5829 entries have stopped, or are down to devices already on the replacement plan.

Questions people ask about this

Can I turn the enforcement off?

The supported exception is the allow-list policy for named accounts, and every connection it permits is logged as 5830 or 5831. Treat it as a countdown, not a setting.

Which device does the event mean?

The account name in the event is the device. For a machine account it is the computer object; for 5828 it is the trust account, which points at another domain rather than a machine.

We patched the domain controllers. Why is a client still denied?

Because the client is the side that has to use secure RPC. Patching the domain controllers is what turns the requirement on; the client needs its own update, or firmware from its vendor.

What does 5829 mean if I am not seeing 5827?

That a vulnerable connection was allowed while enforcement was not yet applied. It is a forecast: those accounts fail once enforcement applies to that domain controller.

Is there a way to test a device without waiting?

Reboot it and watch the System log on the domain controller it authenticates against. One clean authentication with no 5827, 5830 or 5829 is the answer.

Related error codes

Was this article helpful?

Your feedback helps us improve our documentation.

Related articles

License Error NTLM authentication blocked by policy: reading the NTLM operational log Free Fix Event ID 1046: the DHCP server is not authorised in Active Directory License Error LDAP 8 strong auth required: signing and channel binding enforced on DCs Free Fix Event ID 1056: DHCP has no credentials for dynamic DNS registration on a DC
โ† Back to Knowledge Base