Check Entra Join State With dsregcmd
See whether a device is Azure AD/Entra joined and its SSO and MDM state.
01Command
$ dsregcmd /status02What it does
dsregcmd reports join type, tenant, certificate thumbprint and the status of single sign-on and device management, which is the fastest way to diagnose sign-in and policy failures. It produces a block of text that is easy to capture in a support script.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Troubleshoot devices with dsregcmdEvidence: Documents dsregcmd /status fields for Entra join and SSO state.
Last verified: 2026-10-13 · Category: System & Settings
06Related solutions
The nuclear option for broken connectivity: rebuild Winsock and the TCP/IP stack to defaults when adapters show 'no internet' despite everything else working.
A built-in PowerShell one-liner that answers 'is port 5432/3389/443 actually open through this network?' — no telnet client needed.
Configure a fixed IPv4 address, subnet mask and default gateway on any adapter in one line — essential for headless servers and remote workstations.