Windows Server 2019 Install
Active Directory Install
Today I will be going over my Windows Server installation. I will be using this as my domain controller by setting up Active Directory along with DNS for my local systems.
Proxmox setup
- To start it all off we will need the ISO for our install.
- You can download it here.
- This will only be able to be used for 180 days however I will outline a way to extend this timer if needed.
- Once downloaded you can either go bare metal or virtual. for me I will be installing this on Proxmox so for this I will need to upload the ISO to the server over the web interface.
- Now that it is uploaded proceed to making the VM.
2. ISO image: winserver2019.iso 3. Type: Microsoft Windows 4. Version: 10/2016/2019
6. Disk Size: 50gib 7. Bus/Device: SCSI 8. SCSI controller: Virtio SCSI 9. Cache: write back 10. Discard: check mark 11. Cores: 2 (this is all i needed) 12. Memory: 4096 (again all i needed) 13. Bridge: vmbr1 (this is my bridge for my Pfsense install within Proxmox.)
- Another thing we will need to do if installing on Proxmox is the virtio ISO drivers. this will improve compatibility and performance of windows when virtualized.
- Download the virtio drivers here.
- Upload the ISO to Proxmox.
- Now go to the hardware tab of the windows server VM and add a CD/DVD drive with virtio-win.iso selected.
- Now you are ready to boot.
Windows Install
- Start following the installation wizard up to which OS you want to install. I chose the desktop version due to simplicity of using a GUI but feel free to install just the server core for a smaller attack surface over all.
- Get to custom or upgrade.
- Select custom and new.
- Create
- Your install should be running now. This will take a while.
- Now to ensure all drivers are good head over to the device manager and click on anything with a driver issue.
- Click Update Driver.
- Select Browse my computer.
- Browse to the virtio disk and check the include sub folders box and run.
- Once all are good you have a working base install. ( if you are in a VM like me now would be a good time to take a snapshot or backup of the VM in case we mess something up in the future ;)
Install Active Directory & DNS
Now to install Active Directory and DNS on this server.
- Head over to server manager located in the start menu if it did not auto start.
- At the top right locate the manage button and select “ Add roles and features”.
- Select next up till you get to server roles.
- Select both “DNS” and “active directory domain services”.
- Continue and install.
- now on the main page of server manager locate the flag next to the manage button.
- you will see that the system needs to be promoted to a domain controller.
- select the hyperlink in the notification.
- Select add a new forest.
- Name it how you want.
- Keep going till you get to the prereq checks (ignore the DNS error).
- it should all pass and their will be a few errors however ultimately it should let you install.
- Once rebooted you now have a DNS and active directory domain controller!
- Next i will be going over how i configured them and connecting both a windows 10 and windows 11 systems to the domain in a later post.
This post is licensed under CC BY 4.0 by the author.