# How to enroll Windows mobile devices

Hexnode supports Windows from 8.1 and above. The enrollment steps vary for Windows 8.1 and Windows 10 slightly due to the placement of Work Account in the device settings. Essentially, the process is same for both OS versions. Windows mobile devices can be enrolled in 3 different ways.

 1. [Email or SMS enrollment](#email-or-sms-enrollment)
2. [Active Directory based or Self enrollment](#active-directory-based-enrollment-or-self-enrollment)

Email or SMS enrollment
-----------------------

Here, the user will receive an enrollment request with enrollment URL, username and password.

In a Windows 10 mobile device,

1. In device settings, select **Access work or school**.
2. Select **Enrol only in device management**.
3. Enter the user email id mentioned in the enrollment request mail.
4. Enter the server URL which will be in the format:  https://<portalname>.hexnodemdm.com.
5. Enter the password received in the enrollment request mail. ( Leave the username field empty as it is used to authenticate the AD username and password)
6. Click **Finish**.

In a Windows 8.1 mobile device,

1. In the device settings, select **Workplace**.
2. Click on Add account and enter the user’s email address.
3. Click **Sign in**.
4. Enter the server name and click **Sign in**.
5. Enter the password that was received via the enrollment mail. Do not provide the Domain name as it is used for AD based enrollment.
6. Click **Sign in** and click **Done**.

Active Directory based enrollment or Self Enrollment
----------------------------------------------------

The user can enroll their device with their Active Directory credentials. Here, the admin may provide the enrollment URL alone.

In a Windows 10 mobile device,

1. In device settings, select **Access work or school**.
2. Select **Enrol only in device management**.
3. Enter the user email id.
4. Enter the server URL which will be in the format:  https://<portalname>.hexnodemdm.com.
5. Enter the domain name and user name in the format domain\username
6. Enter the Active Directory password.
7. Click **Finish**.

In a Windows 8.1 mobile device,

1. In the device settings, select **Workplace**.
2. Click on **Add account** and enter the user’s email address.
3. Click **Sign in**.
4. Enter the server name and click **Sign in**.
5. Enter the domain and username in the format : domain\username
6. Enter the Active Directory password.
7. Click **Sign in** and click **Done**.