Setup
This guide covers preparing devices for Intune enrolment — creating VMs in VirtualBox and installing Windows 11 Pro on both virtual and physical machines. The goal is a clean Windows 11 Pro installation signed into a local administrator account, ready for Entra ID join and MDM enrolment.
Virtual Machine Setup (VirtualBox)
Create the VM
- Open VirtualBox → click New
- Set the following:
| Setting | Value |
|---|---|
| Name | WIN-VM-01 (or WIN-VM-02) |
| ISO Image | Select your Windows 11 Pro ISO |
| Skip Unattended Installation | ✅ Tick this |
| Base Memory | 4096 MB (4 GB) |
| Processors | 4 |
| Disk Size | 80 GB |
Skip Unattended Installation must be ticked. If left unticked, VirtualBox will automatically create a standard user account with no admin rights, which will block Company Portal from enrolling the device later.
- Leave the network adapter enabled — Windows 11 Pro setup will offer a domain join option without needing to disconnect it
- Click Finish
Install Windows 11 Pro
- Start the VM — it will boot from the ISO
- Select language, time, and keyboard → Next → Install now
- When asked for a product key click I don't have a product key
- Select Windows 11 Pro → Next
- Accept the licence terms → Next
- Select Custom: Install Windows only (advanced)
- Select the unallocated disk → Next — Windows will begin installing and restart automatically
Set Up a Local Administrator Account
After the first restart, Windows will run through OOBE (Out of Box Experience):
- Select region and keyboard layout
- On the Sign in with Microsoft screen click Sign-in options
- Select Join a domain (some builds label this Domain join instead)
- Enter a local username — use something generic like
UserorAdmin, not a name that resembles a work account - Set a password and security questions
- Complete the remaining OOBE screens (privacy settings etc.)
The first account created during Windows setup is always a local Administrator. This is important — Company Portal requires local admin rights to enrol the device.
Physical Device Setup
If setting up a laptop or PC from a fresh Windows installation via the Microsoft Media Creation Tool:
Windows 11 Pro — Domain Join
- On the Sign in with Microsoft screen click Sign-in options
- Select Join a domain
- Enter a local username and password
- Complete OOBE
Windows 11 Home — Fake Microsoft Account
If the device shipped with Windows 11 Home and you are not reinstalling:
- On the sign-in screen enter
no@thankyou.comas the email - Enter anything as the password
- The authentication will fail and drop you into local account setup
Reinstalling as Windows 11 Pro is recommended for this lab — the Join a domain option is cleaner and more reliable. Windows 11 Pro ISOs are available via the Microsoft Media Creation Tool.
Verification Checklist
- [ ] VM or device is running Windows 11 Pro
- [ ] Signed into a local Administrator account
- [ ] Network adapter is enabled and internet access confirmed
- [ ] No Microsoft personal account signed in
Next: Enrolment