Skip to content

Oracle&Javadsregcmd: Troubleshoot and manage Azure Active Directory |4sysops

dsregcmd is a command line tool that allows viewing the current details of Azure Active Directory joined devices. Using the tool, admins can check various aspects of a hybrid Microsoft Entra ID configuration and current status, such as the current state of the Azure Active Directory join. It provides an excellent troubleshooting and management tool for administering hybrid joined devices.

To view the parameters of the command, run the following command:

dsregcmd /?

Verifying domain and Microsoft Entra ID joins

The dsregcmd /status command provides verbose output, allowing admins to determine the device state and many other aspects to manage and troubleshoot hybrid Active Directory joins. It provides the basic details needed to troubleshoot an Active Directory join. We can see this by running dsregcmd with the status parameter. The device state allows admins to easily see the status of the device and which directory services it is joined to, including the following:

  • AzureAdJoined—Joined to Azure Active Directory
  • EnterpriseJoined—Joined to an on-premises Device Registration Service (DRS), also known as a “Workplace Join” (WPJ)
  • DomainJoined—Joined to a legacy on-premises Active Directory Domain Services directory service

Run the following command:

dsregcmd /status

Posted from: https://4sysops.com/archives/dsregcmd-troubleshoot-and-manage-azure-active-directory-microsoft-entra-id-joined-devices/

Leave a Reply

Your email address will not be published. Required fields are marked *