Step 3

Join it to the school

A school PC is either joined to the on-site domain or joined to Entra ID. Choose one for each machine.

10 minutesOn the Windows 11 VM

Join the domain

The PC must use the domain controllers for DNS. On the client VLAN it gets them from DHCP.

CON-WS-001, as an administrator
Resolve-DnsName ad.contoso.com     # must answer first
Rename-Computer -NewName "CON-WS-001"
Add-Computer -DomainName "ad.contoso.com" -Credential (Get-Credential "CONTOSO\Administrator") -Restart

Then move the computer into the right OU, so it picks up Group Policy and its LAPS password:

A domain controller
Get-ADComputer "CON-WS-001" | Move-ADObject -TargetPath "OU=CON-Staff-Devices,OU=CON-Workstations,OU=Contoso School,DC=ad,DC=contoso,DC=com"

Or join Entra ID

You choose this during Windows setup, not afterwards. At "How would you like to set up this device?", pick Set up for work or school and sign in with a school account.

First allow itEntra ID›Devices›Device settings›Users may join devices to Microsoft Entra

Check which it is

CON-WS-001
dsregcmd /status | Select-String "AzureAdJoined|DomainJoined"
ResultMeans
DomainJoined YESJoined to the on-site domain. Group Policy and Windows LAPS apply.
AzureAdJoined YESJoined to Entra ID. Intune manages it instead.
Your progress is kept in this browser only.