
{"id":241,"date":"2026-06-15T22:52:39","date_gmt":"2026-06-15T22:52:39","guid":{"rendered":"https:\/\/tylergaytan.com\/?p=241"},"modified":"2026-06-15T22:52:39","modified_gmt":"2026-06-15T22:52:39","slug":"attaching-windows-11-vm-to-domain","status":"publish","type":"post","link":"https:\/\/tylergaytan.com\/?p=241","title":{"rendered":"Attaching Windows 11 VM to domain"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In this lab we will be attaching the Windows VM to the Domain that we created in a previous lab. First, lets give our server a static IP address. First, let check our ip address now using ipconfig.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"999\" height=\"601\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-170906.png\" alt=\"\" class=\"wp-image-242\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-170906.png 999w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-170906-300x180.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-170906-768x462.png 768w\" sizes=\"auto, (max-width: 999px) 100vw, 999px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That is our current ip settings. Go to network settings and select advanced network settings.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"968\" height=\"680\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-171122.png\" alt=\"\" class=\"wp-image-243\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-171122.png 968w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-171122-300x211.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-171122-768x540.png 768w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then select the edit button next to more adapter options.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1016\" height=\"707\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-171140.png\" alt=\"\" class=\"wp-image-244\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-171140.png 1016w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-171140-300x209.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-171140-768x534.png 768w\" sizes=\"auto, (max-width: 1016px) 100vw, 1016px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This well take you to the Ethernet Properties. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1023\" height=\"700\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-171207.png\" alt=\"\" class=\"wp-image-245\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-171207.png 1023w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-171207-300x205.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-171207-768x526.png 768w\" sizes=\"auto, (max-width: 1023px) 100vw, 1023px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Double click the &#8220;Internet Protocol Version 4 (TCP\/IPv4). Click the &#8220;Use the following IP address&#8221; and then enter the IP address found during the ipconfig command. This will ensure that the server will stay at this address. The subnet mask and default gateway can also be used from the ipconfig results. The DNS server is 127.0.0.1. This is a loopback address for IPv4.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1012\" height=\"713\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-171927.png\" alt=\"\" class=\"wp-image-246\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-171927.png 1012w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-171927-300x211.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-171927-768x541.png 768w\" sizes=\"auto, (max-width: 1012px) 100vw, 1012px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Lets double-check our IP through ipconfig.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"986\" height=\"706\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-172501.png\" alt=\"\" class=\"wp-image-247\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-172501.png 986w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-172501-300x215.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-172501-768x550.png 768w\" sizes=\"auto, (max-width: 986px) 100vw, 986px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Switch to the Windows VM you want to join to the domain. Check the IP on this workstation using ipconfig.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1013\" height=\"722\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-173207.png\" alt=\"\" class=\"wp-image-248\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-173207.png 1013w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-173207-300x214.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-173207-768x547.png 768w\" sizes=\"auto, (max-width: 1013px) 100vw, 1013px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We will take the same steps we did with the server and go to network setting, advance setting, and then ethernet properties. We will set this to a static IP as well. I used 10.0.2.16 to make them sequential. The same subnet mask and default gateway is used. The DNS server address can be the same IP as the AD server. The AD server will be running DNS and will be able to resolve host names within the domain.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"711\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-173537.png\" alt=\"\" class=\"wp-image-249\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-173537.png 1024w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-173537-300x208.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-173537-768x533.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Lets confirm our changes with ipconfig command.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1019\" height=\"713\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-173814.png\" alt=\"\" class=\"wp-image-250\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-173814.png 1019w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-173814-300x210.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-173814-768x537.png 768w\" sizes=\"auto, (max-width: 1019px) 100vw, 1019px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The next steps will be to add the VM to the AD domain. Press the Windows key and search &#8220;access work or school&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1015\" height=\"713\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174055.png\" alt=\"\" class=\"wp-image-252\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174055.png 1015w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174055-300x211.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174055-768x539.png 768w\" sizes=\"auto, (max-width: 1015px) 100vw, 1015px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Select &#8220;Connect&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"999\" height=\"695\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174117.png\" alt=\"\" class=\"wp-image-253\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174117.png 999w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174117-300x209.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174117-768x534.png 768w\" sizes=\"auto, (max-width: 999px) 100vw, 999px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Select &#8220;Join this device to a local Active Directory domain&#8221; in blue at the bottom of the window.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1015\" height=\"713\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174131.png\" alt=\"\" class=\"wp-image-254\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174131.png 1015w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174131-300x211.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174131-768x539.png 768w\" sizes=\"auto, (max-width: 1015px) 100vw, 1015px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Enter the domain name that you used.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1012\" height=\"715\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174148.png\" alt=\"\" class=\"wp-image-255\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174148.png 1012w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174148-300x212.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174148-768x543.png 768w\" sizes=\"auto, (max-width: 1012px) 100vw, 1012px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Enter the domain account that can be verified. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1015\" height=\"732\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174215.png\" alt=\"\" class=\"wp-image-256\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174215.png 1015w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174215-300x216.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174215-768x554.png 768w\" sizes=\"auto, (max-width: 1015px) 100vw, 1015px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1014\" height=\"721\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174231.png\" alt=\"\" class=\"wp-image-257\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174231.png 1014w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174231-300x213.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174231-768x546.png 768w\" sizes=\"auto, (max-width: 1014px) 100vw, 1014px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The VM will need to be restarted after these changed have been applied. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"982\" height=\"706\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174237.png\" alt=\"\" class=\"wp-image-258\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174237.png 982w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174237-300x216.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174237-768x552.png 768w\" sizes=\"auto, (max-width: 982px) 100vw, 982px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After the restart, use credentials from one of the users that was created in the previous lab. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"993\" height=\"749\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174734.png\" alt=\"\" class=\"wp-image-259\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174734.png 993w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174734-300x226.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174734-768x579.png 768w\" sizes=\"auto, (max-width: 993px) 100vw, 993px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The VM will take a few moments to get set up. After this is done, you should be logged in as that user. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1021\" height=\"713\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174859.png\" alt=\"\" class=\"wp-image-260\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174859.png 1021w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174859-300x210.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-174859-768x536.png 768w\" sizes=\"auto, (max-width: 1021px) 100vw, 1021px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Another way to confirm that the VM has successfully been added to the domain is going back to the server VM, go into the user and computers tool, and select the computer OU. We should see the VM.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1013\" height=\"694\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-175059.png\" alt=\"\" class=\"wp-image-261\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-175059.png 1013w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-175059-300x206.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-175059-768x526.png 768w\" sizes=\"auto, (max-width: 1013px) 100vw, 1013px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1016\" height=\"712\" src=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-175111.png\" alt=\"\" class=\"wp-image-262\" srcset=\"https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-175111.png 1016w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-175111-300x210.png 300w, https:\/\/tylergaytan.com\/wp-content\/uploads\/2026\/06\/Screenshot-2026-06-15-175111-768x538.png 768w\" sizes=\"auto, (max-width: 1016px) 100vw, 1016px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s it for this lab! Any feedback is welcome! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this lab we will be attaching the Windows VM to the Domain that we created in a previous lab. First, lets give our server a static IP address. First, let check our ip address now using ipconfig. That is our current ip settings. Go to network settings and select advanced network settings. Then select [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-241","post","type-post","status-publish","format-standard","hentry","category-active-directory-home-lab"],"_links":{"self":[{"href":"https:\/\/tylergaytan.com\/index.php?rest_route=\/wp\/v2\/posts\/241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tylergaytan.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tylergaytan.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tylergaytan.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tylergaytan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=241"}],"version-history":[{"count":1,"href":"https:\/\/tylergaytan.com\/index.php?rest_route=\/wp\/v2\/posts\/241\/revisions"}],"predecessor-version":[{"id":263,"href":"https:\/\/tylergaytan.com\/index.php?rest_route=\/wp\/v2\/posts\/241\/revisions\/263"}],"wp:attachment":[{"href":"https:\/\/tylergaytan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tylergaytan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tylergaytan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}