Note
To document the entire process of setting up an Active Directory / Cyber Security Home Lab to be used for hands-on IT project experience for my portfolio.
This repository will be updated in real-time as I progress through this project, so star it if you want to follow along.
-
Create 4 different virtual machines in VirtualBox:
- 1 Windows 10 machine (target-PC)
- 1 Kali Linux machine (attacker)
- 1 Windows Server 2022 machine (Active Directory Domain Controller)
- 1 Ubuntu Server machine (Splunk SIEM)
-
Create a network in VirtualBox, and add our virtual machines to that same network
-
Configure the Ubuntu Server and install Splunk
-
Install Splunk Universal Forwarder and Sysmon on both the Windows 10 (target) virtual machine and the Windows Server 2022 (Active Directory Domain Controller)
-
Install and configure Windows Server, set up Active Directory, promote the Windows Server 2022 machine to a Domain Controller, create new Users within new Organizational Units within our new Domain, and add Windows 10 (target-PC) to the Domain
-
Create snapshots of all our virtual machines to have working restore points in case something goes wrong
- x86-64 Windows PC - for running the required software
- minimum specs
- 4-core 8-threads processor
- 16 GB RAM
- 250 GB free storage
- Draw.io - for creating the network diagram
- VirtualBox - for creating and running the virtual network and the virtual machines
- Windows Media Creation Tool - to get Windows 10 ISO
- Splunk SIEM - to organize logs in and analyze logs from 1 place
- Splunk Universal Forwarder - to securely collect and send data from machines to our Splunk instance
- Sysmon - lets you detect malicious activity by tracking code behavior and network traffic, as well as create detections based on the malicious activity.
- Windows Active Directory Domain Services (AD DS) - To create a Domain in Windows
- Windows Active Directory Users and Computers - to create Organizational Units and new Users to our Domain in Windows
Download and install VirtualBox
- go to https://www.virtualbox.org/wiki/Downloads to download VirtualBox for your system
- verify SHA256 checksum to ensure the integrity of the download
- install VirtualBox
Create the Windows 10 virtual machine in VirtualBox
Download the Windows 10 ISO file
- go to https://www.microsoft.com/en-ca/software-download/windows10 and click the blue "Download Tool now" button
- run the installation file, choose the "Create installation media (USB flash drive, DVD, or ISO file) for another PC" option, and click next.
- choose your desired language, architecture, and edition (or leave it as default), then click next
- choose the ISO file option, then click next, then choose your download location
Configure the virtual machine environment to use for Windows 10 installation
- click the "New" button (blue spikey orb icon) in VirtualBox
- enter the desired name of this virtual machine in the "Name" field
- choose the desired location for your virtual machine in the "Folder" section
- select the Windows 10 ISO file you downloaded in the "ISO Image" section
- for a manual Windows install select the "Skip Unattended Installation" option, or leave deselected, then click "Next"
- choose the desired RAM amount and number of CPUs to use for this virtual machine, then click "Next"
- choose the desired storage configuration, then click "Next"
- if you are happy with the configuration summary, click "Finish"
Install Windows 10 in the newly created virtual machine environment
- click "Start" (green arrow icon) in VirtualBox to start the virtual machine
- click "Next" in the Windows installer, then click "Install Now"
- click "I don't have a product key", then select "Windows 10 Pro" and click "Next"
- click "accept license terms", then click "Next"
- select "Custom: Install Windows only (advanced), then click "Next"
Create the Kali Linux virtual machine in VirtualBox
Download the Kali Linux ISO file
- go to Kali.org/get-kali and click "Virtual Machines"
- select your architecture, then click "VIrtualBox"
- once your virtual machine image downloads, make sure 7-zip is installed, then double-click the extracted Kali Linux VirtualBox image
Run Kali Linux in VirtualBox
- click "Start" (green arrow icon) in VirtualBox to start the virtual machine
- login using "kali" as the username and "kali" as the password
Create the Windows Server 2022 virtual machine in VirtualBox
Download the Windows Server 2022 ISO file
- search for "Windows Server 2022 iso" and click the "Windows Server 2022 | Microsoft Evaluation Center" link
- click the "Download the ISO" link, then fill out the information, and click the blue "Download Now" button
- click the "64-bit edition" link to download the ISO
Configure the virtual machine environment to use for Windows Server 2022 installation
- click the "New" button (blue spikey orb icon) in VirtualBox
- enter the desired name of this virtual machine in the "Name" field
- choose the desired location for your virtual machine in the "Folder" section
- select the Windows Server 2022 ISO file you downloaded in the "ISO Image" section
- for a manual Windows install select the "Skip Unattended Installation" option, or leave deselected, then click "Next"
- choose the desired RAM amount and number of CPUs to use for this virtual machine, then click "Next"
- choose the desired storage configuration, then click "Next"
- if you are happy with the configuration summary, click "Finish"
Install Windows Server 2022 in the newly created virtual machine environment
- click "Start" (green arrow icon) in VirtualBox to start the virtual machine
- when Windows boots up, click "Next", then click "Install Now"
- select "Windows 2022 Standard Evaluation (Desktop Experience)", then click "Next"
- accept the "terms and agreements", then click "Next"
- select "Custom: Install Microsoft Server Operating System only (advanced)", then click "Next"
- after installation, enter a secure password, then click "Finish"
Create the Ubuntu Server virtual machine in VirtualBox
Download the Ubuntu Server ISO file
- go to ubuntu.com, go to the products tab, and click "Ubuntu Server"
- click the green "Download Ubuntu Server" button
- click the green "Download 24.04 LTS" button to start the download (version 24.04 LTS was the latest version when writing this)
Configure the virtual machine environment to use for Ubuntu Server installation
- click the "New" button (blue spikey orb icon) in VirtualBox
- enter the desired name of this virtual machine in the "Name" field
- choose the desired location for your virtual machine in the "Folder" section
- select the Ubuntu Server IOS file you downloaded in the "ISO Image" section
- for a manual Windows install select the "Skip Unattended Installation" option, or leave deselected, then click "Next"
- choose the desired RAM amount and number of CPUs to use for this virtual machine, then click "Next"
- choose the desired storage configuration, then click "Next"
- if you are happy with the configuration summary, click "Finish"
Install Ubuntu Server in the newly created virtual machine environment
- click "Start" (green arrow icon) in VirtualBox to start the virtual machine
- select "Try or Install Ubuntu Server" and hit the enter key
- hit enter 6 times for default settings
- at the "Mirror check still running" section, choose "continue", and hit enter
- at the "Guided storage configuration" menu, use the down arrow to navigate to the "Done" option, then hit "Enter"
- at the "Storage configuration menu", use the down arrow to navigate to "Done", hit "enter", then go to "Continue" and hit enter
- at the "Profile setup screen", enter whatever name, server name, username, and password you like, then navigate to "Done" and hit "enter"
- hit "enter" to skip "Ubuntu Pro"
- install "Open SSH" if you'd like
- install whatever "Featured server snaps" you'd like, then navigate to "Done" and hit enter
- after installation, navigate to the "reboot now" option, then hit "enter"
- if you see "cdrom failed to unmount error". hit "enter"
Create a NAT network in VirtualBox
- open VirtualBox, click on "Tools", then click on "Network"
- click the "NAT Networks" tab, then click the "Create" button
- click on the newly created "NatNetwork" then change "Name" to whatever you like (optional)
- change the "IPv4 Prefix" to the prefix you defined in the network diagram you created
- leave "Enable DHCP" checked, and hit "Apply"
Add our virtual machines to the NAT network
For each of the 4 virtual machines, complete the following steps:
- click on the virtual machine, click "Settings", then click "Network"
- in the "Adapter 1" tab, click inside the "Attached to:" dropdown menu and choose "NAT Network"
- in the "Name" dropdown menu, make sure to select the NAT network that you created in step 3 in "Set up a virtual network in VirtualBox", then click "OK"
Configure static IP address on Ubuntu Server (Splunk SIEM) virtual machine
-
start the Ubuntu Server (Splunk SIEM) virtual machine
-
log in, type
ip a
, then hit "Enter" to see the virtual machine's current IP address -
type in
sudo nano /etc/netplan/00-installer-config.yaml
, then hit the "enter" key -
enter:
network: ethernet: enpos3: dhcp4: no addresses: [192.168.10.10/24] nameservers: addresses: [8.8.8.8] routes: - to: default via: 192.168.10.1 version: 2
-
hit the "ctrl + x" keys, press y, then hit "Enter" to save the file
-
type
sudo netplan apply
and hit "Enter" -
type
ip a
again, to verify that our IP address is 192.168.10.10 -
type in
ping google.com
and hit "Enter" to verify the internet connection through our server -
hit the "ctrl + c" keys to stop the ping command
Set up folder sharing between VirtualBox host and Ubuntu Server virtual machine
- on your host computer, create a project folder for your project named "Active-Directory-Home-Lab"
- in your Ubuntu Server virtual machine, type
sudo apt install virtualbox-guest-additions-iso
and hit "Enter" - type in
y
, then hit "Enter" to start the virtualbox-guest-additions-iso installation - in the virtual machine window, click the "Devices" tab, hover over "Shared Folders", and select "Shared Folder Settings"
- click on the blue folder icon towards the top-right of the window to add a folder
- in the "Folder Path:" section, choose "Other", and chose the "Active-Directory-Home-Lab" folder we created in step 1 of this section
- leave the "Folder Name:" section as is, then select the "Read-only", "Auto-mount", and "Make-Permanent" options, click "OK", then click "OK" again
- in our Ubuntu Server command line interface, type
sudo reboot
and hit "Enter" - log back into the Ubuntu Server, type in
sudo apt install virtualbox-guest-utils
, then hit "Enter" - type
sudo adduser *your username* vboxsf
and hit "Enter", typesudo reboot
and hit "Enter" - log back into the Ubuntu Server, then type
sudo adduser *your username* vboxsf
, and hit "Enter" - type 'mkdir share', hit "Enter", then type
ls
, and hit "Enter" - type in
sudo mount -t vboxsf -o uid=1000,gid=1000 Active-Directory-Home-Lab
, then hit "Enter"
Download and install Splunk on Ubuntu Server (Splunk SIEM)
On your host machine: (not on any of your virtual machines, but on the machine running your virtual machines)
- go to splunk.com, sign up with an account, and log in
- got to the "Products" tab, then click on "Free Trials & Downloads"
- scroll down to "Splunk Enterprise" and click on "Get My Free Trial"
- under "Choose Your Installation Package", click the "Linux" option, then click the "Download Now" button for the ".deb" option
- scroll through the Splunk General Terms document, click the "I have read, understood, etc" box, then click the Access program" button to start the Splunk download
- move the "spunk*.dev file into the "Active-Directory-Home-Lab" folder we created in step 1 of the previous section
In your Ubuntu Server virtual machine:
- type
cd && cd share
then hit "Enter" - type in
sudo dpkg -i splunk
, hit the "tab" key to autocomplete the filename, then hit "Enter" to install Splunk - type
cd /opt/splunk/bin
, hit "Enter", then type insudo -u splunk bash
, and hit "Enter" - type in
./splunk start
, hit "Enter", hit "q", hit "y", then hit "Enter" - enter a username, enter a password, re-enter the password, and hit "Enter"
- type
exit
, hit "Enter", typecd bin
, hit "Enter", then type insudo ./splunk enable boot-start -user splunk
, and hit "Enter"
Change hostname to "target-PC"
- in the Windows taskbar, search for "PC", click "Properties", then click the "Rename this PC" button
- type in
target-PC
, click "Next", then click "Restart now
Set the static IP address for Windows 10 (target-PC)
- hit the "Windows" key, type in "cmd", and hit enter
- in the command prompt, type in
ipcongif
, and hit "Enter" to check the IP address to view our current IP address - at the right end of the taskbar, right-click the "network" icon and click "Open Network & Internet settings"
- scroll down and click on "Change adapter options", right-click the network adapter, and click on "Properties"
- double-click "Internet Protocol Version 4 (TCP/IPv4)", and click the "Use the following IP address:" radio button
- in the "IP address" field, type in
192.168.10.100
, in the Subnet mask section, type in255.255.255.0
, and in the "Default gateway" section, type in192.168.10.1
- in the "Preferred DNS server:" section, type in
8.8.8.8
, then click "OK", and close the window - in the command prompt, enter
ipconfig
to verify that our IPv4 Address is 192.168.10.100
Verify that Splunk on our Ubuntu Server is accessible from our Windows 10 (target-PC)
Make sure our Ubuntu Server virtual machine is running, then:
from our Windows 10 (target-PC):
- open a web browser and type in
192.168.10.10:8000
to verify that we can reach our Splunk log-in page
Install and configure Splunk Universal Forwarder on Windows 10 (target-PC)
- open up a web browser, go to splunk.com and log in
- hover the mouse over the "Products" tab, and click on "Free Trials & Downloads"
- scroll down to "Universal Forwarder" and click the "Get My Free Download" button
- go to the "64-bit" section of the "Windows" tab and click the "Download Now" button
- read the "Splunk General Terms", select the "I have read, understood, etc." option, and click the "Access program" button
- open the "splunkforwarder*.msi" download, read the "License Agreement", check the box to accept the license agreement, make sure the "An on-premises Splunk Enterprise instance" option is selected, and click "Next"
- for the username, type in "admin", leave the "generate random password" option checked, and click "Next"
- since we don't have a Splunk Deployment Server, leave this section blank, and click "Next"
- under "Receiving Indexer" in the "Hostname or IP" section, enter the IP of our Ubuntu (Splunk) Server, which is
192.168.10.10
, type in the default port9997
in the field to the right of the colon, and click "Next" - click "Install, for the pop-up window asking if we want to allow this app to make changes to our device, click "yes", and when the install finishes, click "Finish"
Install Sysmon on Window 10 (target-PC)
- open a web browser and search for "Sysmon", and click the link that shows "Sysmon - Sysinternals"
- scroll down and click the " Download Sysmon" link
- do a web search for "sysmon olaf config", click on the "Github - olafhartong/sysmon-modular" link, scroll down, and click the "sysmonconfig.xml" file
- click the "raw" option on the top-right of the page, right-click and save the file
- navigate to the directory we downloaded sysmon.zip to, click on the file to select it, right-click the file, click "Extract all", then click the "Extract" button
- in the window that just popped up, click the file explorer bar, right-click the folder path, then click "Copy"
- hit the "Windows" key, type in "powershell", run powershell as administrator, then click "yes"
- type in
cd
followed by a single space, then right-click inside powershell to paste the folder path we just copied in the previous step, and hit "Enter" - type in
.\Sysmon64.exe -i ..\sysmonconfig.xml
, hit "Enter", then click "Agree" to install Sysmon using our sysmonconfig.xml configuration file
Configure Splunk Forwarder on Windows 10 (target-PC) machine
- hit the "Windows" key, type in "notepad", run notepad as administrator, and click "yes"
Enter the following text into notepad:
[WinEventLog://Application]
index = endpoint
disabled = false
[WinEventLog://Security]
index = endpoint
disabled = false
[WinEventLog://System]
index = endpoint
disabled = false
[WinEventLog://Microsoft-Windows-Sysmon/Operational]
index = endpoint
disabled = false
renderXml = true
source = XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
and save the file to C:\Program Files\SplunkUniversalForwarder\etc\system\local\
folder
in the "Save as type" section, click text, and select "All Files, then in the "File name:" section, type "inputs.conf", and click "Save"
- hit the "Windows" key, type "services", and click "Run as administrator"
- scroll down and double-click on "SplunkForwarder"
- click the "Log On" tab, then click the "Local System account" radio button, click "Apply", then click "OK"
- right-click "SplunkFowarder", click "Restart", if you get a pop up saying that Windows could not stop the SplunkForwarder service, click "OK", then click "Start the service"
Configuring Splunk Server to accept logs from the Windows 10 (target-PC) machine
- open a web browser, go to
192.168.10.10:8000
, and log into Splunk Server - at the top of the window, select "Settings", then select "Indexes"
- click "OK" then at the top-right, click "New Index"
- in the "Index Name" field, type in "endpoint", and click "Save"
- at the top of the window, click on "Settings", then click on "Forwarding and receiving"
- under "Received data", click on "Configuring receiving", click on "New Receiving Port", then type
9997
in the "Listen on this port" section, and click "Save"
If everything has been set up correctly up to this point, we should be receiving data from our Windows 10 (target-PC) into Splunk on our Ubuntu Server. To verify:
- click on "Apps" in the top-left corner, click on "Search & Reporting", and click "Skip", and click "Skip tour"
- in the input field under "Search", type in
index=endpoint
, then click on the green magnifying glass search button - on the left, under "SELECTED FIELDS", click the "a source" option
If you see the following values:
* WinEventLog:Security
* WinEventLog:System
* WinEventLog:Application
* XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
You have installed everything correctly.
Change hostname to "ADDC01"
- in the Windows taskbar, search for "PC", click "Properties", then click the "Rename this PC" button
- type in
ADDC01
, click "Next", then click "Restart now
Set the static IP address for Windows Server 2022 (Active Directory Domain Controller)
- hit the "Windows" key, type in "cmd", and hit enter
- in the command prompt, type in
ipcongif
, and hit "Enter" to check the IP address to view our current IP address - at the right end of the taskbar, right-click the "network" icon and click "Open Network & Internet settings"
- scroll down and click on "Change adapter options", right-click the network adapter, and click on "Properties"
- double-click "Internet Protocol Version 4 (TCP/IPv4)", and click the "Use the following IP address:" radio button
- in the "IP address" field, type in
192.168.10.7
, in the Subnet mask section, type in255.255.255.0
, and in the "Default gateway" section, type in192.168.10.1
- in the "Preferred DNS server:" section, type in
8.8.8.8
, then click "OK", and close the window - in the command prompt, enter
ipconfig
to verify that our IPv4 Address is 192.168.10.7
Verify that Splunk on our Ubuntu Server is accessible from our Windows Server 2022 (Active Directory Domain Controller
Make sure our Ubuntu Server virtual machine is running, then:
from our Windows Server 2022 (Active Directory Domain Controller:
- open a web browser and type in
192.168.10.10:8000
to verify that we can reach our Splunk log-in page
Install and configure Splunk Universal Forwarder on Windows Server 2022 (Active Directory Domain Controller
- open up a web browser, go to splunk.com and log in
- hover the mouse over the "Products" tab, and click on "Free Trials & Downloads"
- scroll down to "Universal Forwarder" and click the "Get My Free Download" button
- go to the "64-bit" section of the "Windows" tab and click the "Download Now" button
- read the "Splunk General Terms", select the "I have read, understood, etc." option, and click the "Access program" button
- open the "splunkforwarder*.msi" download, read the "License Agreement", check the box to accept the license agreement, make sure the "An on-premises Splunk Enterprise instance" option is selected, and click "Next"
- for the username, type in "admin", leave the "generate random password" option checked, and click "Next"
- since we don't have a Splunk Deployment Server, leave this section blank, and click "Next"
- under "Receiving Indexer" in the "Hostname or IP" section, enter the IP of our Ubuntu (Splunk) Server, which is
192.168.10.10
, type in the default port9997
in the field to the right of the colon, and click "Next" - click "Install, for the pop-up window asking if we want to allow this app to make changes to our device, click "yes", and when the install finishes, click "Finish"
Install Sysmon on Window Server 2022 (Active Directory Domain Controller
- open a web browser and search for "Sysmon", and click the link that shows "Sysmon - Sysinternals"
- scroll down and click the " Download Sysmon" link
- do a web search for "sysmon olaf config", click on the "Github - olafhartong/sysmon-modular" link, scroll down, and click the "sysmonconfig.xml" file
- click the "raw" option on the top-right of the page, right-click and save the file
- navigate to the directory we downloaded sysmon.zip to, click on the file to select it, right-click the file, click "Extract all", then click the "Extract" button
- in the window that just popped up, click the file explorer bar, right-click the folder path, then click "Copy"
- hit the "Windows" key, type in "powershell", rick-click powershell, click "run as administrator"
- type in
cd
followed by a single space, then right-click inside powershell to paste the folder path we just copied in the previous step, and hit "Enter" - type in
.\Sysmon64.exe -i ..\sysmonconfig.xml
, hit "Enter", then click "Agree" to install Sysmon using our sysmonconfig.xml configuration file
Configure Splunk Forwarder on Windows Server 2022 (Active Directory Domain Controller) machine
- hit the "Windows" key, type in "notepad", right-click notepad, and click run as administrator
Enter the following text into notepad:
[WinEventLog://Application]
index = endpoint
disabled = false
[WinEventLog://Security]
index = endpoint
disabled = false
[WinEventLog://System]
index = endpoint
disabled = false
[WinEventLog://Microsoft-Windows-Sysmon/Operational]
index = endpoint
disabled = false
renderXml = true
source = XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
and save the file to C:\Program Files\SplunkUniversalForwarder\etc\system\local\
folder
in the "Save as type" section, click text, and select "All Files, then in the "File name:" section, type "inputs.conf", and click "Save"
- hit the "Windows" key, type "services", right-click Services, and click "Run as administrator"
- scroll down and double-click on "SplunkForwarder"
- click the "Log On" tab, then click the "Local System account" radio button, click "Apply", then click "OK"
- right-click "SplunkFowarder", click "Restart", if you get a pop up saying that Windows could not stop the SplunkForwarder service, click "OK", then click "Start the service"
Configuring Splunk Server to accept logs from the Windows Server 2022 (Active Directory Domain Controller) machine
- open a web browser, go to
192.168.10.10:8000
, and log into Splunk Server
If you configured the Windows 10 machine first, the configuration below has already been made. If not:
- at the top of the window, select "Settings", then select "Indexes"
- click "OK" then at the top-right, click "New Index"
- in the "Index Name" field, type in "endpoint", and click "Save"
- at the top of the window, click on "Settings", then click on "Forwarding and receiving"
- under "Received data", click on "Configuring receiving", click on "New Receiving Port", then type
9997
in the "Listen on this port" section, and click "Save"
If everything has been set up correctly up to this point, we should be receiving data from our Windows Server 2022 (Active Directory Domain Controller) into Splunk on our Ubuntu Server. To verify:
- click on "Apps" in the top-left corner, and click on "Search & Reporting"
- in the input field under "Search", type in
index=endpoint
, then click on the green magnifying glass search button - on the left, under "SELECTED FIELDS", click the "a source" option
If you see the following values:
* WinEventLog:Security
* WinEventLog:System
* WinEventLog:Application
* XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
You have installed everything correctly.
Install Active Directory on Windows Server 2022 (Active Directory Domain Controller)
- hit the "Windows" key, click on "Windows Administrative Tools", and click on "Server Manager"
- at the top-right corner, click "Manage", then click "Add Roles and Features"
- click "Next", and make sure that the "Role-based or feature-based installation" radio button is selected, click "Next", then click "Next" again
- Click on "Active Directory Domain Services", then click on "Add features", click "Next" until you see "Install", then click "Install"
- After installation has been completed, close the window
Promote the server to a Domain Controller
- In the "Server Manager" window, click the flag icon that is beside "Manage", and click the blue "Promote this server to a domain controller" text
- click the "Add a new forest" radio button to create a brand-new domain, and type in whatever name you want, followed by a . and some text (such as the word "local") in the text box next to the "Root domain name:" text, and click "Next"
- leave all options as default, in the "Password:" field, type in a good password, then in the "Confirm password:" field, re-enter your password, then click "Next", until you see the "Install" option, then click "Install"
- Once the installation is completed, the machine will automatically restart
- go to log in to the Windows Server 2022 machine, and if you notice "Domain\Administrator", it means you have successfully installed Active Directory Domain Services, and that this machine has been successfully promoted to a Domain Controller
Create Organizational Units and Users in our newly created Domain
- go to "Server Manager", click on "Tools", then click on "Active Directory Users and Computers"
- right-click our domain, hover over "New", then click on "Organizational Unit"
- type in "IT", then click "OK"
- right-click "IT", hover over "New", then click "User"
- type in a first name in the "First name" field, type in a last name in the "Last name" field, then in the "User logon" field, type in the first letter of the first name, followed by the entire last name, and click "Next"
- enter whatever you want the password to be, then uncheck the "User must change password at next logon" option, if you want, then click "Next", and click "Finish"
- in "Active Directory Users and Computers", hover over our domain, right-click it, hover over "New", click on "Organizational Unit", type in "HR", then click "OK"
- hover over "HR", right-click "HR", hover over "New", click "User", type in whatever first name and last name you'd like, and use the first letter of the first name, followed by the entire last name into the "User logon name:" field
- enter whatever you want the password to be, then uncheck the "User must change password at next logon" option, if you want, then click "Next", and click "Finish"
10) Join our Windows 10 (target-PC) to our new Domain
- right-click on the network icon on the right side of the taskbar, click "Open Network & Internet settings", click on "Change adapter options", and right-click your adapter
- select "Properties", double-click on Internet Protocol Version 4 (TCP/IPv4), and change the "Preferred DNS server:" to the IP address of our Domain Controller (192.168.10.7), and click "OK"
- to verify everything is set up correctly, open the command prompt, enter "ipconfig", and verify that the "DNS Server" has the IP address "192.168.10.7"
- search for "PC", click on "Properties", scroll down, and select "Advanced system settings"
- click the "Computer Name" tab, click "Change", click "Domain:", type in the name of your domain, and click "OK"
- use your administrative account login credentials to log in (username: administrator password: your password)
- click "OK", click "OK" again, close the window, then click "Restart Now"
To verify that all is working:
- log in as one of your newly created users by clicking on "Other user" on the login screen
- type in the username and password for your newly created user and log in
Create a Snapshot of your fresh working virtual machine in VirtualBox
For each of the virtual machines you want to back up:
Open up VirtualBox
- click on the virtual machine you want to snapshot
- click the "3-dot / 3-line" icon on the right side of the virtual machine
- click "Snapshots", then click the "Take" icon at the top of the screen
- enter a name and the description of the snapshot, and click "OK"
Restore a Snapshot of your fresh working virtual machine in VirtualBox
Open up VirtualBox
- click on the virtual machine you want to snapshot
- click the "3-dot / 3-line" icon on the right side of the virtual machine
- click "Snapshots", click the restore point you want to restore, then click the "Restore" icon at the top of the screen, then click "Restore"