# Building VM Template for Windows 11 Enterprise Clients Why Windows 11 you ask? Mainly due to some differences in the versions of the Windows 10 ISO I have. I wanted as through a process as I could, and after setting up the Windows 10 Client, I realised I could potentially only achieve this thoroughness by redoing the process with Windows 11. As a result, there will be somethings here that won't have turned up on my Win10 - such as turning off Tamper protection. The new network diagram of this portion would look like something like this: ![image](https://hackmd.io/_uploads/H1ZtRkXb0.png) I kept the other vulnerable machine just as a means of having another target to practice on. ## VM Setup Some of the steps will be similar. Others not so much. 1. General ![image](https://hackmd.io/_uploads/B1iOyeXbC.png) 2. OS ![image](https://hackmd.io/_uploads/rJ1qJe7bR.png) 3. System ![image](https://hackmd.io/_uploads/S14T1lQZA.png) 4. Disks ![image](https://hackmd.io/_uploads/rJ0RygQbC.png) 5. CPU - Personal preference ![image](https://hackmd.io/_uploads/BJ61ge7ZA.png) 6. Memory - Personal preference ![image](https://hackmd.io/_uploads/SysgexQZC.png) 7. Network - putting them in the 999 vlan first ![image](https://hackmd.io/_uploads/B1F7elX-A.png) 8. Confirm ![image](https://hackmd.io/_uploads/r1tNgxQ-C.png) ## OS Install ***After creating the VM and doing the initial install, remember to add a Network Adapter that has internet access. If you do skip step 14 and 15, otherwise, well... you'll know what to do when you get there.*** 1. Console > Start Now ![image](https://hackmd.io/_uploads/BJa_gl7WR.png) 2. Hit enter to start boot option or hit any key to boot from CD - without this you will get stuck in the *Start PXE over IPv4* boot option ![image](https://hackmd.io/_uploads/SkT9lgQ-A.png) 3. Select Timezone, Region, and Language ![image](https://hackmd.io/_uploads/SkFJZxmZC.png) 4. Install Now ![image](https://hackmd.io/_uploads/S1Xx-gQW0.png) 5. Enter a product key or click I don't have a product key ![image](https://hackmd.io/_uploads/BJlMZlmW0.png) 6. Select OS to install ![image](https://hackmd.io/_uploads/Hk1VZlmWR.png) 7. This old song and dance ![image](https://hackmd.io/_uploads/BJwrblQZ0.png) 8. Custom Install Windows ![image](https://hackmd.io/_uploads/HygPbemb0.png) 9. Load Driver for SCSI from VirtIO disk ![image](https://hackmd.io/_uploads/HJL6-eXbR.png) ![image](https://hackmd.io/_uploads/HySJzeXZA.png) ![image](https://hackmd.io/_uploads/HJsGzx7-A.png) ![image](https://hackmd.io/_uploads/Byg9ZlQWR.png) - Click Next ![image](https://hackmd.io/_uploads/BkRqbl7WR.png) - Click Next ![image](https://hackmd.io/_uploads/r1nLfeQb0.png) 10. Wait for Install and reboot ![image](https://hackmd.io/_uploads/HJ0vMx7ZC.png) ![image](https://hackmd.io/_uploads/H1Ydmg7-R.png) 11. Select Region ![image](https://hackmd.io/_uploads/H1P57eQWR.png) 12. Keyboard Layout ![image](https://hackmd.io/_uploads/rJ2jmxQZC.png) 13. Second Keyboard Layout? Skip 14. Connect to Network warning (if unconnected) ![image](https://hackmd.io/_uploads/BJrXVlXbR.png) 15. Add Network Adapter - might need to reboot after this and restart the process or reset the vm ![image](https://hackmd.io/_uploads/Sy66Hl7-0.png) 16. Next ![image](https://hackmd.io/_uploads/Syxk8gQWR.png) 17. Name your device - or not ![image](https://hackmd.io/_uploads/BkUUcW7-R.png) 18. Set up for personal use ![image](https://hackmd.io/_uploads/Sy5v5-mb0.png) 19. Click sign in because we have no choice - the bastards. ![image](https://hackmd.io/_uploads/r1vt9-7-R.png) 20. Sign in using "wrong" credentials ![image](https://hackmd.io/_uploads/ByXjc-7bR.png) ![image](https://hackmd.io/_uploads/r1S25WQZ0.png) 21. Click Next ![image](https://hackmd.io/_uploads/H1I6cWXbA.png) 22. You might need to disconnect from the internet to reach this page - or click sign-in options etc ![image](https://hackmd.io/_uploads/ByYYoWmb0.png) 21. Create local account ![image](https://hackmd.io/_uploads/HyzsobmbC.png) 22. Password ![image](https://hackmd.io/_uploads/BkVhi-m-0.png) 23. Get past the adding of security questions 24. Turn off all privacy settings ![image](https://hackmd.io/_uploads/ByKlhW7b0.png) ## Sysprep and Convert to Template 1. Open Administrator Powershell and run command - `C:\Windows\System32\Sysprep\sysprep.exe` ![image](https://hackmd.io/_uploads/HJHHabmbR.png) - Select Out-Of-Box-Experience - Shutdown options: Shutdown 2. Convert to Template - Right-click VM > Convert to Template