Salih Muhammed

All field notes

Field note 02

The hardening policy that split a Hyper-V cluster

A CIS user-rights setting can coincide with two cluster nodes refusing each other. Why only one node drops, what to check, and how to roll hardening out safely.

Reviewed

01

What happens

If a CIS member-server policy reaches a two-node Hyper-V failover cluster, one node can drop out, and the virtual machines on it fail over and restart on the other, even though nothing on the cluster itself was changed.

02

The cause

Failover clustering uses the local account CLIUSR for node management. Microsoft documents it as non-administrative, so denying network logon to all local accounts (S-1-5-113) covers it, while denying only local administrators (S-1-5-114) should not. Even so, removing a deny entry for S-1-5-114 and Guests has coincided with recovery, which that documentation does not explain, so the root cause is unproven. Treat the deny right as something to test, and check the effective rights and cluster events before attributing a failure to it.

Microsoft Windows Server reference showing CLIUSR membership in Users
Microsoft Windows Server reference: CLIUSR is shown in the Users group. Source: Microsoft Learn. Used with permission from Microsoft. Open full image.

03

Why only one node dropped

In a two-node cluster each node has one vote and the disk witness breaks the tie. Only one node can hold the witness, so that node keeps quorum and the other stands down. That is the design working: it prevents both nodes running the same virtual machines on the same storage. The surviving partition depends on quorum and witness arbitration; core-group placement alone is not a reliable prediction.

04

Finding it in minutes

Export the effective user rights on a node and look for the local-account SIDs in the deny right:

secedit /export /cfg C:\Users\Public\ur.inf /areas USER_RIGHTS
findstr SeDenyNetworkLogonRight C:\Users\Public\ur.inf

Review an entry for *S-1-5-113, because it includes CLIUSR, and one for *S-1-5-114, because its removal has coincided with recovery. Neither proves the cause on its own. Check the relevant cluster events, document the required exception and validate a policy change in a maintenance window.

05

Rolling hardening out safely

Put cluster nodes in their own organisational unit with only a reviewed node policy linked, and record the settings that clustering depends on as documented deviations from the benchmark. Preview changes with Group Policy Modeling, then apply them one node at a time, starting with the node that does not own the cluster group, with a ten-minute check that both stay up. Alert on the cluster events that announce a node removal, lost quorum or paused shared storage.

References

All field notes