Pcornel
Browse topics
Options
Recent
Favorites
Command · Windows / Windows Server / PowerShell

dsregcmd /status

dsregcmd /status

Shows whether the device is domain joined, Microsoft Entra joined or hybrid joined, and its SSO token state.

Execution context

Standard user

Use when

Single sign-on to Microsoft 365 fails, or a device is "Pending" in Microsoft Entra ID.

Then verify

Look up the error code in the hybrid join troubleshooting guide.

Privilege Standard userState impact Read-onlyProduction Unknown

Operational impact: Read-only.
Command detailsSafety model · family · platform · verification · bundle
PrivilegeStandard user
Execution contextStandard user
State impactRead-only
Safe during productionUnknown
CategoryActive Directory
Evidence levelmixed
Primary DomainWindows
Historical technical verificationNeeds verification dateCurrent command content requires review after a Git edit.
Family Ctive Irectory
PlatformWindows / Windows Server / PowerShell
PrerequisiteStandard user
Output fields

Field glossary

Important fields projected from persisted Command guidance.

AzureAdJoined, DomainJoined, WorkplaceJoined, DeviceId, AzureAdPrt, AzureAdPrtUpdateTime

Important persisted output field; use surrounding guidance for interpretation.

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

DomainsWindows

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

Shows the device join state and whether the user has a primary refresh token.

Does not prove

Does not prove Conditional Access will allow sign-in.

Next check

Look up the error code in the hybrid join troubleshooting guide.

Depth when you need it

Command guidance

Execution context

Standard user

Important fields

AzureAdJoined, DomainJoined, WorkplaceJoined, DeviceId, AzureAdPrt, AzureAdPrtUpdateTime

Common problems

AzureAdJoined NO on a hybrid device; AzureAdPrt NO (no primary refresh token)

Operational impact

Read-only.

Technical context

Run it in the user's context to see the PRT state. The Diagnostic Data section shows the last join error.

Confirmation

Confirm action

Continue?