-
Notifications
You must be signed in to change notification settings - Fork 0
Create a Windows AD Box in Proxmox
The goal of this lab is to create a Windows Server 2019 VM on Proxmox. We will then use this Box as an AD.
In this section of the lab we will be creating and setting the specifications of our Windows VM in Proxmox.
- Click on the "Create New Virtual Machine" button.
- Set VM name: "Sullivan-WindowsAD".
- Set VM-ID.
- Select "Use CD/DVD disk image file (iso)" since we will be using the ISOs uploaded to Proxmox.
- Under the Use CD/DVD button choose local for storage and the "Server Eval" ISO for the ISO image.
- On the Right hand side under "Guest OS" put the type of OS and the date. In this case we are using "Microsoft Windows" and the date is "10/2016/2019"
- Select the radio box underneath Guest OS, which says "Add additional drive for VirtIO drivers." Since Promox is a QEMU/KVM based hypervisor, it doesn't support Windows, so additional Windows drivers are needed for it to work. Set the storage to "local" and selec the Virtio-Win ISO for the ISO image.
- Leave everything as default but make sure the SCSI controller is "VirtIO SCSI single".
- Set storage to SYN-CR-MAIN
- Disk Size: 50 GiB
- Ensure Bus Device is SCSI and set count to 1
- We want to make sure we have an appropriate amount of sockets and cores. We are going to change the number of sockets to 2.
- Everything else can stay as defaults.
- Under this section we are allocating the memory for the CPUs and RAM. This is going to be a Windows AD Box so it should have 4-8 GB of memory.
- I'm setting it to 4672 MiB.
- Set bridge to vmbr4 because that is the intern space.
- Set Model to Intel E1000.
- Select Country, Time, etc.
- Click "Install Now" to begin Installation.
- I selected Windows Server 2019 Standard Evaluation (Desktop Experience) as my operating system.
- Select Custom as the install type.
- On the page titled "Where do you want to install Windows" select "Load driver"
- Click Browse in the dialog box
- Drop down the CD Drive (D:).
- Drop down vioscsi and drop down 2k19
- Select amd64 and click next
- Allocate Space and click next
We have now finished the general installation process and the VM is powered up, Windows is installed, and an Administrator password is set. Now we have to install the VirtIO driver directly onto the VM.
- Go to File Explorer within the VM
- Select the "virtio-win" drive
- Find the Windows Installer Executable:
- Go through the setup process and specify "vioscsi" wherever it asks.
- Begin and Finish Installation
Our VM is started and virtIO is installed. Now we want to configure our network settings so we can have connectivity.
- Navigate to the Network and Sharing Center
- Under connections click "ethernet"
- Click "Properties"
- Double click on "Internet Protocol Version 4 (TCP/IPv4)"
- Input your IP and your default gateway
- Search bar -> cmd -> enter
- ping -n 1
- For this part I set the default DNS to 8.8.8.8 (google). If in the future we will use the AD box as a DNS server, or another server as a DNS server the IP would be changed to that of the server.
- ping -n 1 google.com
This means that we have connectivity inside and outside of our network.
For ease of use if we set up DNS later, I'm going to change my computer hostname from the default to Sullivan-WindowsAD
- In settings type in "Computer name"
- Click on the "View PC name" option
- Scroll down and click the "Rename this PC" option
- Type in new computer name and restart computer.
In this lab I learned how to create a Windows VM in Proxmox. It was fairly straightforward given that most of the bridges and ISOs were already uploaded or created. This lab is important not only to my work as an intern but for the rest of my education given that after two years of working with VMWare, the school is making the switch to Proxmox. This lab will come in handy for future labs.















