{"id":25591143,"url":"https://github.com/itsrubenclarke/ad-vm-deploy","last_synced_at":"2026-02-28T17:31:17.870Z","repository":{"id":277396856,"uuid":"932198315","full_name":"itsrubenclarke/ad-vm-deploy","owner":"itsrubenclarke","description":"This project involves deploying a virtual network in Microsoft Azure, setting up a Windows Server 2022 domain controller and a Windows 10 Pro client, configuring remote desktop connections, assigning a static private IP, disabling Windows Defender firewalls, and ensuring network connectivity through DNS configuration and PowerShell verification.","archived":false,"fork":false,"pushed_at":"2025-04-01T10:31:42.000Z","size":36,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-10T17:13:33.451Z","etag":null,"topics":["active-directory","powershell","remote-desktop","windows"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itsrubenclarke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-13T14:30:38.000Z","updated_at":"2025-06-25T15:11:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"84638bf0-9b07-4f0c-9735-3932e2752cdb","html_url":"https://github.com/itsrubenclarke/ad-vm-deploy","commit_stats":null,"previous_names":["itsrubenclarke/active-directory-vm-deployment","itsrubenclarke/ad-vm-deploy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itsrubenclarke/ad-vm-deploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsrubenclarke%2Fad-vm-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsrubenclarke%2Fad-vm-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsrubenclarke%2Fad-vm-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsrubenclarke%2Fad-vm-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsrubenclarke","download_url":"https://codeload.github.com/itsrubenclarke/ad-vm-deploy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsrubenclarke%2Fad-vm-deploy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29944765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["active-directory","powershell","remote-desktop","windows"],"created_at":"2025-02-21T09:38:08.380Z","updated_at":"2026-02-28T17:31:17.860Z","avatar_url":"https://github.com/itsrubenclarke.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://github.com/user-attachments/assets/ea8315b8-28f8-4d0a-a370-917bdc1c56f3\" height=\"30%\" width=\"50%\" alt=\"Microsoft Azure Logo\"/\u003e\n\u003c/p\u003e\n\n\u003ch1\u003eActive Directory: Virtual Machine Deployment\u003c/h1\u003e\n\n\u003cp\u003e\nThis project is the first among a collection focused on implementing Azure and Active Directory. \nThe goal is to create a basic lab that mirrors a real working network environment, providing me with hands-on learning and practical experience with Microsoft Azure and Active Directory.\nIn this project, I will set up and establish a connection between two virtual machines using Windows Server 2022 and Windows Pro 10 in Microsoft Azure's Cloud environment. \nAssign a static private IP, disable Windows Defender firewalls, and ensure network connectivity through DNS configuration and PowerShell verification\nThis will allow me to establish a Domain Controller and a Client.\n\u003c/p\u003e\n\n\u003ch2\u003eKey Objectives\u003c/h2\u003e\n\u003ch3\u003eVirtual Machine Setup\u003c/h3\u003e\n\n- Configure and deploy Windows Client\n- Configure and deploy Windows Domain Controller\n\n\u003cp\u003e\n  \u003ch3\u003eRemote Connectivity\u003c/h3\u003e\n  \n  - Establish Remote Desktop Connection (RDP)\n  - Connect Client and Domain Controller Virtual Machines (VMs)\n\u003c/p\u003e\n\n\u003ch3\u003eEnvironments and Technologies Used\u003c/h3\u003e\n\n- Microsoft Azure (Virtual Machines, Networking)\n- Windows App (Remote Desktop Protocol)\n- PowerShell (Command-line Operations)\n\n\u003cp\u003e\n  \u003ch3\u003eOperating Systems Used\u003c/h3\u003e\n\u003c/p\u003e\n\n| **Operating System**        | **Role**               \n|----------------------------|------------------------|\n| \u003cimg alt= \"windows logo\" src=\"https://i.imgur.com/KcrV0u6.png\" width=\"20\"\u003e Windows (Windows 10 Pro) | Client VM |\n| \u003cimg alt= \"Windows logo\" src=\"https://i.imgur.com/KcrV0u6.png\" width=\"20\"\u003e Windows (Server 2022) | Domain Controller (DC)             |\n\n\n\u003ch1\u003eSetup and Configuration of Virtual Network\u003c/h1\u003e\u003c/p\u003e\n\n\u003ch3\u003eStep 1: Create Resource Group\u003c/h3\u003e\n\n- Go to [Portal.azure.com](https://portal.azure.com)\n- Create a Resource Group\n- Name it \"Active-Directory-Lab\" \u0026 Set the region to (Europe) UK South\n\n\u003cimg width=\"831\" alt=\"create resource group\" src=\"https://github.com/user-attachments/assets/87b56d6d-77b3-4878-8444-ac645859c183\" /\u003e\n\n\u003ch3\u003eStep 2: Create Virtual Network\u003c/h3\u003e\n\n- Go to [Portal.azure.com](https://portal.azure.com)\n- Create a Virtual Network\n- Name it \"Active-Directory-vnet\" \u0026 Set the region to (Europe) UK South\n- Add it to the \"Active-Directory-Lab\" Resource Group\n\n\u003cimg width=\"811\" alt=\"create virtual network\" src=\"https://github.com/user-attachments/assets/4463a63b-3103-49d9-b455-bcefe4610e0b\" /\u003e\n\n\u003ch3\u003e\u003cimg alt= \"windows logo\" src=\"https://i.imgur.com/KcrV0u6.png\" width=\"20\"\u003e  Step 3: Setup Domain Controller\u003c/h3\u003e\n\n- Go to [Portal.azure.com](https://portal.azure.com)\n- Create a Virtual Machine\n- Select the \"Windows Server 2022\" image\n- Name it \"dc-1\" \u0026 Set the region to (Europe) UK South\n- Ensure to select the resource group you just created \"Active-Directory-Lab\"\n- Select a vm size with at least 2 vcpus\n- Set a username and password\n- Be sure to memorise your credentials or store in a secure place\n- Add the Virtual Machine to the Virtual Network you previously created in step 2 \"Active-Directory-vnet\"\n\n\u003cimg width=\"798\" alt=\"dc-01\" src=\"https://github.com/user-attachments/assets/2c932191-d09f-4252-b957-030184e3314a\" /\u003e\n\u003cimg width=\"798\" alt=\"credentials\" src=\"https://github.com/user-attachments/assets/ec0c115f-b9c9-4714-87cb-c40f3dbf7bbd\" /\u003e\n\u003cimg width=\"863\" alt=\"Virtual Network\" src=\"https://github.com/user-attachments/assets/c6d0f8ad-ac57-4fa1-8c42-70a82d626c81\" /\u003e\n\n\n\u003ch3\u003e\u003cimg alt= \"windows logo\" src=\"https://i.imgur.com/KcrV0u6.png\" width=\"20\"\u003e  Step 4: Setup Client VM\u003c/h3\u003e\n\n- Go to [Portal.azure.com](https://portal.azure.com)\n- Create a Virtual Machine\n- Select the \"Windows 10 Pro\" image\n- Name it \"client-1\" \u0026 Set the region to (Europe) UK South\n- Ensure to select the resource group you just created \"Active-Directory-Lab\"\n- Select a vm size with at least 2 vcpus\n- Set a username and password\n- Be sure to memorise your credentials or store in a secure place\n- Add the Virtual Machine to the Virtual Network you previously created in step 2 \"Active-Directory-vnet\"\n- Tick the licensing request box\n\n\u003cimg width=\"819\" alt=\"client-1\" src=\"https://github.com/user-attachments/assets/ac2c8b13-568e-4cbe-ab87-28b83a3b6e9f\" /\u003e\n\u003cimg width=\"763\" alt=\"credentials\" src=\"https://github.com/user-attachments/assets/da0c3f67-8003-43f2-8219-f27cd81df318\" /\u003e\n\n- Return to [Portal.azure.com](https://portal.azure.com)\n- Search for \"Virtual Machines\"\n- Confirm both client-1 and dc-1 Virtual Machines are running\n\n\u003cimg width=\"813\" alt=\"Vms Running\" src=\"https://github.com/user-attachments/assets/c9f296aa-a447-4cb5-aea6-030ce78e7605\" /\u003e\n\n\u003ch3\u003e  Step 5: Network Interface Configuration\u003c/h3\u003e\n  \n- Go to [Portal.azure.com](https://portal.azure.com)\n- Select your \"dc-1\" Virtual Machine\n- Open the Networking section and expand the Network Settings menu\n- Open the configuration window\n\n  \u003cimg width=\"909\" alt=\"image\" src=\"https://github.com/user-attachments/assets/e043f3df-e6b7-4848-9a87-029c4fa23f24\" /\u003e\n\n- Select \"IP configurations\"\n- Select \"ipconfig1\"\n- Edit the confgurations to change the Private IP address settings allocation from Dynamic to Static\n  \n\u003cimg width=\"813\" alt=\"Dynamic\" src=\"https://github.com/user-attachments/assets/a550235f-37a3-4372-998b-7315c4a7cb31\" /\u003e\n\n- Edit the confgurations to change the Private IP address settings allocation from Dynamic to Static\n  \n\u003cimg width=\"813\" alt=\"Static\" src=\"https://github.com/user-attachments/assets/dae33d5b-38ed-4b65-82a0-355014ef1d9b\" /\u003e\n\n\u003ch3\u003e\u003cimg alt= \"RDP logo\" src=\"https://github.com/user-attachments/assets/4aaa5d6e-ce8b-481f-a8da-57edc9a2917e\" width=\"20\"\u003e Step 6: Establish Remote Desktop Connection\u003c/h3\u003e\n\n- Launch your Remote Desktop Connection Application\n    - Mac Users download \u003ca href=\"https://apps.apple.com/us/app/windows-app/id1295203466?mt=12\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eWindows App\u003c/a\u003e Formerly known as \"Microsoft Remote Desktop\"\n    - Windows Users open and use Remote Desktop\n- Select \"Add PC\"\n- Enter the Public IP Address from your Domain Controller \"172.187.161.247\"\n- Add a friendly name \"dc-1\"\n- Choose \"Add Credentials\" from the drop down and enter the credentials you created earlier, noting to accept the security prompt and proceed\n- You can now establish a remote connection to your virtual machine, by right-clicking the newly added device\n- Accept the Certificate when prompted to do so\n\n\u003cimg width=\"805\" alt=\"Add PC\" src=\"https://github.com/user-attachments/assets/e09feb93-0683-4729-807d-6deb026f19f4\" /\u003e\n\n\u003cimg width=\"757\" alt=\"Enter Credentials\" src=\"https://github.com/user-attachments/assets/1f3a71fe-af5a-4a84-a175-9d099f3bf24a\" /\u003e\n\n\u003cimg width=\"798\" alt=\"Accept Certificate\" src=\"https://github.com/user-attachments/assets/28647a74-7e14-4e2e-82ad-0c20a7435d60\" /\u003e\n\n\n\u003ch3\u003e\u003cimg alt= \"windows logo\" src=\"https://i.imgur.com/KcrV0u6.png\" width=\"20\"\u003e  Step 7: Windows Defender \u0026 Firewall\u003c/h3\u003e\n\n- Now that you've established the remote connection, within your windows virtual machine (dc-1), open up the Run application and enter \"wf.msc\"\n\n\u003cimg width=\"759\" alt=\"wf.msc\" src=\"https://github.com/user-attachments/assets/64de40c0-e5a7-44a8-9528-3fc0c6ac7ae7\" /\u003e\n  \n- This will open up \"Windows Defender\" from here you need to disable the following fireawall states:\n    - Domain Profile\n    - Private Profile\n    - Public Profile\n \n\u003cimg width=\"826\" alt=\"Disable Profiles\" src=\"https://github.com/user-attachments/assets/89e5d480-3655-4f6e-aafd-b0b986e9cdd3\" /\u003e\n\n\u003ch3\u003e\u003cimg alt= \"windows logo\" src=\"https://i.imgur.com/KcrV0u6.png\" width=\"20\"\u003e  Step 8: Configure client-1's DNS settings\u003c/h3\u003e\n\n- Go to [Portal.azure.com](https://portal.azure.com)\n- Select your \"client-1\" Virtual Machine\n- Open the Networking section and expand the Network Settings menu\n- Open the configuration window\n- Select DNS Servers\n- Choose Custom and enter the private IP address from your domain controller \"10.0.0.4\"\n- Save the changes\n- Restart your \"client-1\" Virtual Machine\n\n\u003cimg width=\"921\" alt=\"DNS Server\" src=\"https://github.com/user-attachments/assets/c3ac885a-df0f-4d76-91ce-f1af7b3d0965\" /\u003e\n\n\n\n\u003ch3\u003e\u003cimg alt= \"RDP logo\" src=\"https://github.com/user-attachments/assets/4aaa5d6e-ce8b-481f-a8da-57edc9a2917e\" width=\"20\"\u003e Step 9: Establish Remote Desktop Connection\u003c/h3\u003e\n\n- Launch your Remote Desktop Connection Application\n    - Mac Users download \u003ca href=\"https://apps.apple.com/us/app/windows-app/id1295203466?mt=12\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eWindows App\u003c/a\u003e Formerly known as \"Microsoft Remote Desktop\"\n    - Windows Users open and use Remote Desktop\n- Select \"Add PC\"\n- Enter the Public IP Address from your \"Client-1\" \"20.39.216.95\"\n- Add a friendly name \"Client-1\"\n- Choose \"Add Credentials\" from the drop down and enter the credentials you created earlier, noting to accept the security prompt and proceed\n- You can now establish a remote connection to your virtual machine, by right-clicking the newly added device\n- Accept the Certificate when prompted to do so\n\n\u003cimg width=\"798\" alt=\"Add PC\" src=\"https://github.com/user-attachments/assets/564b5c73-228a-4999-b600-e3da694a3dd0\" /\u003e\n\u003cimg width=\"810\" alt=\"Log in\" src=\"https://github.com/user-attachments/assets/baa78d97-300b-407e-b7e5-92c23471e822\" /\u003e\n\u003cimg width=\"859\" alt=\"Certificate\" src=\"https://github.com/user-attachments/assets/dc3598ef-4f0e-4dd2-8eaf-6667e551aaba\" /\u003e\n\n\u003ch3\u003eStep 10: Confirm Correct DNS Configuration\u003c/h3\u003e\n\n- Now that you've established the remote connection, within your windows Virtual Machine (client-1), open up the Run application and enter \"powershell\"\n- Attempt to ping the Domain Controllers private IP address \"10.0.0.4\"\n- Atfer the ping succeeds run the \"ipconfig /all\" command\n- If successful the DNS Servers should display as \"10.0.04\" \n\n\u003cimg width=\"826\" alt=\"Ping\" src=\"https://github.com/user-attachments/assets/6b066fb5-5349-4f5e-a151-5e1649100621\" /\u003e\n\u003cimg width=\"832\" alt=\"IP /configall\" src=\"https://github.com/user-attachments/assets/f823bf08-ed9b-4f95-97e3-b901466f8904\" /\u003e\n\n\n\u003ch1\u003eProject Summary\u003c/h1\u003e\u003c/p\u003e\n\n🎉Congratulations! You have succesfully deployed a Virtual Network in Azure!🎉\n\nIn this project, we configured and deployed a Windows Server 2022 Virtual Machine as a Domain Controller and a Windows 10 Pro Virtual Machine as a Client within a Microsoft Azure environment.\nWe established remote desktop connections (RDP) to both VMs and configured DNS settings on the client to connect it to the domain controller.\nAdditionally, we assigned a static private IP address to the domain controller, disabled Windows Defender firewall profiles, and verified network connectivity using PowerShell by successfully pinging the domain controller from the client.\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsrubenclarke%2Fad-vm-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsrubenclarke%2Fad-vm-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsrubenclarke%2Fad-vm-deploy/lists"}