Windows 11
We’re mostly using the defaults for installing this Windows 11 machine. There are some extra steps we’ll have to take since we’ll be installing it without an internet connection, but otherwise any options in the installation process are purely for flavor. Eventually we’ll be joining this machine to a domain; those directions are included at the end of this page, but will have to wait until after we’ve created the domain controller for the lab.
OS Installation
- Boot up the VM. When selecting the Win11 VM, VMware Workstation may request a password; enter the password created in the Creating the VMs page and we can power it on.
- Quickly click into the VM and press a key to boot into the CD.
NextInstall NowI don't have a product key- Select “Windows 11 Pro for Workstations” and click
Next - Click the check box at the bottom and then click
Next Custom: Install Windows only (advanced)New->Apply->OK->NextRestart now- When it finishes rebooting, press
Shift+F10 oobe\bypassnroYesYesSkipI don't have internetContinue with limited setup- Enter a name and click
Next - Enter a password and click
Next - Re-enter the password and click
Next - For the security questions, we can just select the top question and enter gibberish. If the password is forgotten, we can just re-install the OS.
- Turn off all the switches on the privacy settings page and click
Next
OS Configuration
For this portion, we will be disabling all the security controls on the VM. This is only for the initial attacks; we will be hardening the VM as part of later training, but the Win11 machine will be initially vulnerable.
- Open Powershell as an administrator:
- Press
Win - Type
Powershell - Press `Ctrl+Shift+Enter
- Click
Yes
- Press
netsh advfirewall set allprofiles state offset-mppreference -disablerealtimemonitoring $truegpedit- Computer Configuration -> Administrative Templates -> Windows Components -> Microsoft Defender Antivirus
- Double-click “Turn off Microsoft Defender Antivirus”
- Select “Enabled” and click
ApplyandOK
shutdown /r
The Windows Firewall and Microsoft Defender are now disabled.
Joining the Domain
Once the Windows Server has been promoted to a domain controller, you can join this to the domain. Before we do this, make sure your DNS settings are correct
Win key->control panel-> Control Panel- Network and Internet
- Network and Sharing Center
- Ethernet0
Properties- Internet Protocol Version 4 (TCP/IPv4) ->
Properties - Select
Use the following DNS server addresses:and input the IP address of the Windows Server (10.0.3.8) OKCloseClose
To join the domain:
Win key->settings-> Settings- Accounts -> Access work or school ->
Connect Join this device to a local Active Directory domain- Input the domain (
cybermice.dev) ->Next - Input the administrator credentials (
administrator/P@$$w0rd) NextRestart Now