Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Run dsregcmd /status to distinguish a Windows device-join problem from a disabled or missing Microsoft Entra device record, a user sign-in/PRT issue, a hybrid-join configuration failure, or a device-key recovery condition. Read the sections that match the symptom: the command combines local device state with user-specific information, and one successful check does not prove the others are healthy.

Run dsregcmd in the right context

Open Command Prompt and run dsregcmd /status. Microsoft’s dsregcmd command reference recommends running it as a domain user account. For valid User State and SSO State values, run it in the affected user’s logged-in session.

Some checks need a different context. A hybrid join is carried out in SYSTEM context, so an elevated prompt most closely approximates that join scenario and exposes pre-join diagnostic data. Certain post-join tests, including KeySignTest, also require elevation. An elevated prompt can make WamDefaultSet show an error; do not treat that field alone as proof of a registration failure.

Identify the local join state

In Device State, interpret AzureAdJoined, EnterpriseJoined, and DomainJoined together. Microsoft documents these combinations:

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
AzureAdJoined EnterpriseJoined DomainJoined Local state
YES NO NO Microsoft Entra joined
NO NO YES Domain joined
YES NO YES Microsoft Entra hybrid joined
NO YES YES On-premises DRS joined

WorkplaceJoined appears separately in User State and indicates workplace registration; it is not a substitute for reading the three device join fields. For local hybrid-join verification, confirm both AzureAdJoined and DomainJoined are YES, then compare the output’s DeviceId with the corresponding device record in the tenant. See Microsoft’s hybrid-join verification steps.

Check the cloud device record independently

For an Entra joined or hybrid joined computer, review Device Details and DeviceAuthStatus. The join fields report local state; DeviceAuthStatus tests the cloud device object. Microsoft defines SUCCESS as the device existing and being enabled in Entra ID. A failed status can mean the object is disabled or deleted. FAILED. ERROR means the test could not run, not that the command has established a specific object problem.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
  • If local join fields indicate joined but authentication status fails, check that device’s Entra record and whether it is enabled before choosing a recovery action.
  • If the command cannot run the status test, treat cloud-object health as unresolved and use the tenant’s device and sign-in diagnostics as appropriate.

Tenant Details can list MDM URLs when automatic enrollment is configured, but their presence does not prove that this particular device is managed. Empty URL fields can mean MDM is not configured or that the user is outside the enrollment scope.

Use Pre-join Diagnostic Data for hybrid-join failures

When a domain-joined device cannot complete hybrid join, inspect the Pre-join Diagnostic Data section. Microsoft’s hybrid-join troubleshooting guide and dsregcmd reference describe these fields:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
  • AD Connectivity Test: A failure points to a pre-check issue involving connectivity to Active Directory.
  • AD Configuration Test: Checks the on-premises Service Connection Point (SCP) configuration used for discovery.
  • Previous Registration: Records the time of the last failed attempt.
  • Error Phase: Identifies pre-check, discover, auth, or join, narrowing down where the attempt stopped.
  • Client/Server ErrorCode, Server Message, and HTTPS Status: Provide details about the client-side or service response.
  • Request ID: Helps correlate the attempt with server-side logs.

Run this diagnostic from an elevated prompt when investigating the join itself, because the join operation runs in SYSTEM context. Use the phase and response details to direct investigation toward the corresponding AD connectivity, SCP/discovery, authentication, or join-stage issue rather than assuming every hybrid-join failure has the same cause.

Separate a post-join sign-in issue from registration

If the device appears joined but the user cannot obtain the expected sign-in experience, run the command in that user’s session and inspect SSO State. Microsoft’s field reference and primary refresh token troubleshooting guide explain the relevant signals:

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
  • AzureAdPrt : NO indicates an error acquiring a Primary Refresh Token (PRT).
  • If AzureAdPrtUpdateTime is more than four hours old, Microsoft says a refresh problem is likely. For a hybrid device, its troubleshooting guidance suggests locking and unlocking Windows to prompt a refresh, then checking whether the update time changes.
  • When available, acquisition and refresh diagnostics can show an HRESULT, user identity, credential type, correlation ID, endpoint URI, HTTP method and status, and server error. Use these details to trace the attempt rather than treating the PRT indicator as a join-state result.

On shared computers, diagnostic details might belong to another user’s sign-in attempt. Confirm the identity and attempt time in the output before using those details to diagnose the currently affected user.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Interpret device-key and recovery signals

AadRecoveryEnabled : YES means the device’s stored keys are unusable and recovery is pending. KeySignTest : PASSED indicates healthy device keys; a failure usually means the device is marked for recovery. The test requires elevation. Microsoft describes different recovery experiences depending on join type, so use the recovery procedure for the device’s actual state rather than deregistering it solely because a sign-in symptom appeared.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Use additional diagnostics when the output is not enough

The Microsoft Entra admin center Windows device troubleshooting workflow analyzes a collected authlogs folder and suggests next steps. Microsoft also publishes the DSRegTool sample, which advertises more than 50 tests spanning Entra join, hybrid join, and registration, including endpoint connectivity, device existence and enabled state, SCP verification, PRT checks, health status, and log collection. It is an optional sample diagnostic aid; assess its suitability and maintenance status before adopting it in production.

Choose the branch that matches the evidence

Evidence in dsregcmd Investigate
Join fields do not match the intended join type Local join or registration state; for hybrid join, use Pre-join Diagnostic Data.
Local state shows Entra join, but DeviceAuthStatus fails The cloud device object’s existence and enabled state.
Join state is as expected, but AzureAdPrt is NO or stale The affected user’s SSO/PRT acquisition or refresh path.
AadRecoveryEnabled is YES or KeySignTest fails The join-type-specific device key recovery procedure.

These checks answer different questions: local join status, cloud-object health, user PRT state, hybrid AD/SCP readiness, and key recovery are not interchangeable. If the command narrows the issue but does not explain a tenant-specific failure, correlate its error and request details with the relevant Entra service or audit logs.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.