Computers
Cheat sheet · https://pcornel.dk/topic.php?topic=3240
Answer
A domain-joined Windows machine has a computer account with a SID and machine password used to maintain a secure relationship with the domain. The object can also hold SPNs and management attributes.
Remember
- Computer object existence does not prove the machine currently has a healthy domain secure channel.
- The machine account has credentials that change independently of human user passwords.
- Duplicate/incorrect SPNs can create authentication problems even when the computer object exists.
- Deleting/rejoining is not the first diagnostic step for a suspected trust relationship failure.
First checks
Get-ADDomain— domain details and FSMO holdersGet-ADDomainController -Filter * | Select HostName,Site,IsGlobalCatalog— DCsdcdiag /v /e /q— DC health tests (errors only with /q)repadmin /replsummary— replication summarynltest /dsgetdc:<domain>— DC locator
Commands
Get-ADComputer <name> -Properties *- Returns a computer account from Active Directory with its attributes.
Verify in this order
computer account → secure channel → GPOs
Where it usually breaks
First mismatch in forest/domain/object identity → authoritative DC/source policy → replication/KDC/GP processing → client token/effective policy → target resource → event/audit verification; preserve identity/native error/pre-state before mutation.
Active Directory Domain Services → Computers reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Computer object | Directory identity | not host reachability |
| Machine password | Secure-channel credential | independent lifecycle |
| SPN | Service identity mapping | duplicates can break Kerberos |
| Secure channel | Machine↔domain relationship | depends on DNS/time/DC |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3240