{"id":95,"date":"2025-10-13T19:18:30","date_gmt":"2025-10-13T19:18:30","guid":{"rendered":"https:\/\/carlostech.com\/?p=95"},"modified":"2025-11-03T23:13:49","modified_gmt":"2025-11-03T23:13:49","slug":"active-directory-implementation-part-2","status":"publish","type":"post","link":"https:\/\/carlostech.com\/?p=95","title":{"rendered":"Active Directory Lab 2 &#8211; VMWare"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\"><strong>Project Overview<\/strong><\/h2>\n\n\n\n<p>This project demonstrates the implementation of a Windows Server 2022 Active Directory environment using VMware Workstation Pro, focusing on organizational unit structure, user management, and Group Policy implementation in an enterprise-like configuration. We use a Windows 10 admin PC with RSAT downloaded to remotely configure Active Directory.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"455\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-36.png\" alt=\"\" class=\"wp-image-97\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-36.png 831w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-36-300x164.png 300w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-36-768x421.png 768w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><\/figure>\n\n\n\n<p>Domain controller installation and configuration were explained in our first AD lab, so we will not get into those details here. &nbsp;<strong><em>Note:<\/em><\/strong> We typically download RSAT tools on our admin, remote PC and manage AD through there. This is done using the Lightweight Directory Access Protocol (LDAP) and Remote Procedure Call (RPC) protocols.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>LDAP is what enables you to access as well as manage directory services over the network. It is conceptually similar to REST APIs (more on that in a future project). RPC is what makes it seem that you are locally on the server.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Organizational Unit Design<\/strong><\/h3>\n\n\n\n<p>We designed an organizational structure that simulates an enterprise that spans globally. Using geographic-based OUs allows for location-specific Group Policy applications, delegated administration by region and a scalable design for future expansion. Here, we\u2019re just going to configure the USA folder \u2013 and we are going to create sub-OUs with the states of where our offices are located. In these state OUs, we\u2019re going to have our users, computers, servers, and groups.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>Note<\/em><\/strong>: In production environments, state-level OUs would typically include additional subdivisions such as offices, cities, or more specific business units for advanced granular management. <\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"824\" height=\"502\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-98.png\" alt=\"\" class=\"wp-image-329\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-98.png 824w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-98-300x183.png 300w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-98-768x468.png 768w\" sizes=\"auto, (max-width: 824px) 100vw, 824px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"627\" height=\"408\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-99.png\" alt=\"\" class=\"wp-image-331\" style=\"width:840px;height:auto\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-99.png 627w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-99-300x195.png 300w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><figcaption class=\"wp-element-caption\">We created two users and configured them with a temporary password that they&#8217;ll have to change when they first logon using the GUI. In a production environment, there would most likely be standard naming conventions, the users would be placed into the correct groups, and password policies will be enforced (we&#8217;re doing this later as we just created this AD server).<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"387\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-100.png\" alt=\"\" class=\"wp-image-332\" style=\"width:840px;height:auto\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-100.png 600w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-100-300x194.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">We created two security groups using the GUI under the &#8220;Groups&#8221; OU. The IT group will have specific administrative privileges for IT operations and the Accounting group will have department-specific access rights. Here you can even divide the groups to be more specific such as the IT group being divided into Helpdesk, which have password reset rights, and IT-Admins which have more administrative privileges.<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If I added Peter to the &#8216;IT&#8217; security group, he would have all the privileges\/permissions of that group and whatever permissions he already had assigned to him. If I created a GPO for the &#8220;Users&#8221; OU, but I did NOT want Peter to receive it, I can use the &#8216;GPO Security Filtering&#8217; option to not allow the GPO to apply to the group &#8220;IT&#8221;. This is an example of how in-depth GPOs and AD administration can be.<\/li>\n\n\n\n<li>The OU structure can be nested to any depth that you require, which enables precise administrative segmentation based on whichever requirements you have. <\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"795\" height=\"505\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-97.png\" alt=\"\" class=\"wp-image-328\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-97.png 795w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-97-300x191.png 300w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-97-768x488.png 768w\" sizes=\"auto, (max-width: 795px) 100vw, 795px\" \/><\/figure>\n\n\n\n<p><strong><em>Note<\/em><\/strong>: Security groups provide authorization and access control, while distribution groups serve exclusively for email distribution. This distinction is crucial for proper access management in enterprise environments.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Group Policy Implementation<\/h3>\n\n\n\n<p>In Group Policy Management we begin creating different Group Policy Objects (GPOs). We created some for Account Lockout policies, Password Policies, restricting access to the Control Panel, and even disabling the use of USB devices.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><em>Note<\/em><\/strong>: There are two main ways to apply GPOs here. Either apply them to the computer themselves or the users. For password policies, we always want to apply it to the computer because we want everyone to have a secure password, so the computer will always force you to create a secure password. &nbsp;For control panel access, we should configure it on a user basis. We don\u2019t want to completely lock out the control panel because what if an IT admin needs access to it? We just want to prevent users that shouldn\u2019t have the authority from reaching it.<\/li>\n\n\n\n<li>To put it simple: Configure computer configuration policies based on: \u201cIt doesn\u2019t matter who logs into this computer, this computer should behave in this manner always\u201d \u2013 by blocking USB storage use and enforcing password policies, the pc will always be hardened and secure.<\/li>\n\n\n\n<li>For user configurations, the key is: No matter which computer they log onto, this specific user should always have these settings\/permissions.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"383\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-101.png\" alt=\"\" class=\"wp-image-333\" style=\"width:840px;height:auto\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-101.png 600w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-101-300x192.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">Here we are creating the GPO that disables all USB access through computer configuration.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"415\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-102.png\" alt=\"\" class=\"wp-image-334\" style=\"width:840px;height:auto\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-102.png 600w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-102-300x208.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">Here we are creating the User configuration GPO that blocks the users who have this GPO applied to them or their group, access to the control panel.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"370\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-103.png\" alt=\"\" class=\"wp-image-336\" style=\"width:840px;height:auto\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-103.png 600w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-103-300x185.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">You want to create these GPOs in the folder: Group Policy Objects. However, if you right click any other OU above this folder and even the actual domain name (carlostech.local), you can create GPOs straight from there and link them to that OU.<\/figcaption><\/figure>\n\n\n\n<p>If you create the GPOs directly on the domain name, all OUs under it inherit the GPOs. This also applies for OUs nested under parent OUs if you link GPOs to the parent instead. <\/p>\n\n\n\n<p>These GPOs will also automatically appear in the &#8220;Group Policy Objects folder&#8221; (this folder stores ALL GPOs no matter where you initially created them). By creating the GPOs in GPO folder, you don\u2019t link them anywhere just yet \u2013 they\u2019re just created.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Before we link GPOs to wherever we deem necessary, let\u2019s go back to our Windows 10 Enterprise machine and join it to our domain \u2013 so we can test if GPOs applied. We do this in settings on our PC.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"279\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-104.png\" alt=\"\" class=\"wp-image-338\" style=\"width:840px;height:auto\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-104.png 600w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-104-300x140.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">We see our PC is in our domain since it appears here.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"547\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-45.png\" alt=\"\" class=\"wp-image-106\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-45.png 975w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-45-300x168.png 300w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-45-768x431.png 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><figcaption class=\"wp-element-caption\">Remember: you must change the DNS settings on the PC, so it points to the AD Server since it has DNS features downloaded on it. Then, join the PC into the domain through settings. <\/figcaption><\/figure>\n\n\n\n<p><strong><em>Note<\/em><\/strong>: VMWare creates virtual networks and provides a virtual DHCP\/DNS server; the 192.168.x.x network you see. Whenever a VM host needs to reach the actual Internet, it goes through your host computer (because this is a Type 2 Hypervisor).<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"359\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-105.png\" alt=\"\" class=\"wp-image-339\" style=\"width:840px;height:auto\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-105.png 600w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-105-300x180.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">We\u2019re going to move our desktop from the general OU \u201cComputers\u201d, into the correct one: \u201cComputers\u201d under the New York OU. Our two users are already in the correct location, under the OU \u201cUsers\u201d in New York.<\/figcaption><\/figure>\n\n\n\n<p>We\u2019re then going to link our GPOs to the correct OUs. Our Computers OU, containing our Windows 10 Enterprise machine, is going to have linked the USB and Password Policy GPOs. The Users OU will receive the Control Panel, Drive Mapping (more on that in another project) and Wallpaper policies.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"275\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-106.png\" alt=\"\" class=\"wp-image-340\" style=\"width:840px;height:auto\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-106.png 600w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-106-300x138.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">Now every single machine in the OU &#8220;Computers&#8221; is disabling the use of USB devices.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"546\" height=\"351\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-107.png\" alt=\"\" class=\"wp-image-342\" style=\"width:840px;height:auto\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-107.png 546w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-107-300x193.png 300w\" sizes=\"auto, (max-width: 546px) 100vw, 546px\" \/><figcaption class=\"wp-element-caption\">Here you see all the GPOs we created mapped to the correct OUs.<\/figcaption><\/figure>\n\n\n\n<p>Now, let\u2019s test these GPOs. The one that would be easiest to check right now is the user\u2019s access to the Control Panel.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"547\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-49.png\" alt=\"\" class=\"wp-image-111\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-49.png 975w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-49-300x168.png 300w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-49-768x431.png 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/figure>\n\n\n\n<p>As you can see, in Peter\u2019s workstation I\u2019m still able to access the control panel. The reason this happens is because Group Policy updates over a period \u2013 not instantly, which is typically 90-120 minutes with a random offset of up to 30 minutes (this is to prevent network congestion \u2013 you do not want hundreds or even thousands of machines contacting the AD server at the same time to refresh their policies).<\/p>\n\n\n\n<p>Therefore, we need to force this update onto the machine. There are various methods to do this:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>PowerShell command (target machines must have Windows Remote Management, PowerShell remoting enabled and there cannot be firewall rules preventing remote connections).<\/li>\n\n\n\n<li>In the GPMC GUI<\/li>\n\n\n\n<li>On the PC\u2019s cmd line using <strong>&#8220;gpupdate \/force&#8221;<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"892\" height=\"501\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-50.png\" alt=\"\" class=\"wp-image-112\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-50.png 892w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-50-300x168.png 300w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-50-768x431.png 768w\" sizes=\"auto, (max-width: 892px) 100vw, 892px\" \/><figcaption class=\"wp-element-caption\">Here we are using the third option &#8211; using the command line.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"354\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-108.png\" alt=\"\" class=\"wp-image-343\" style=\"width:840px;height:auto\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-108.png 600w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-108-300x177.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">Here I am forcing the group policy update through the Group Policy Management Console GUI.<\/figcaption><\/figure>\n\n\n\n<p>An important distinction here is that I wanted to apply the GPO on the user \u2018Peter\u2019 but didn\u2019t force the GPO update on the \u2018Users\u2019 OU. Instead, I forced it on the \u2018Computers\u2019 OU which contained the machine that the user Peter was signed into. As you can see, it states that it would apply computer AND user policies when I click yes. The GPMC needs a target machine to apply the GPOs. <\/p>\n\n\n\n<p>This only applies to the user who is CURRENTLY logged on (only that signed in user\u2019s policies will be immediately forced at that moment). If Peter signs in at a later time and even on a different machine, the update will still be applied because user policies are applied at logon.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"547\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-52.png\" alt=\"\" class=\"wp-image-114\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-52.png 975w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-52-300x168.png 300w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-52-768x431.png 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><figcaption class=\"wp-element-caption\">And now Peter is unable to access the control panel! So, the GPO is officially applied.<\/figcaption><\/figure>\n\n\n\n<p>Let&#8217;s take it a step further and apply the security filter we discussed earlier. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-111-1024x575.png\" alt=\"\" class=\"wp-image-348\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-111-1024x575.png 1024w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-111-300x168.png 300w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-111-768x431.png 768w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-111-1536x862.png 1536w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-111-1140x640.png 1140w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-111.png 1928w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Peter is officially a member of the &#8220;IT&#8221; security group.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-113-1024x575.png\" alt=\"\" class=\"wp-image-353\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-113-1024x575.png 1024w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-113-300x168.png 300w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-113-768x431.png 768w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-113-1536x862.png 1536w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-113-1140x640.png 1140w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-113.png 1928w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Here, I added the security group &#8220;IT&#8221; in the security filtering for the GPO that disables Control Panel access so this GPO &#8220;applies&#8221; to this group.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-114-1024x575.png\" alt=\"\" class=\"wp-image-354\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-114-1024x575.png 1024w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-114-300x168.png 300w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-114-768x431.png 768w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-114-1536x862.png 1536w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-114-1140x640.png 1140w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-114.png 1928w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In the delegation tab, in permissions for IT, I clicked <strong>&#8220;deny&#8221;<\/strong> for the option to apply this group policy to this group. So, members of the IT security group should still have access to the Control Panel, even though these members, like Peter, would be under the OU &#8220;Users&#8221; that this GPO is applied to.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Deny permissions have greater priority over allow. <\/li>\n<\/ul>\n\n\n\n<p>One thing I discovered is that GPMC could sometimes contain a bug where you apply this permission and it appears it was not &#8220;saved&#8221;. To confirm if the GPO was applied, you right click the GPO and click &#8220;Edit&#8221;. In that new menu, you right click the name of the GPO and click Properties. Under Security, you&#8217;ll see that the GPO was indeed applied.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-115-1024x575.png\" alt=\"\" class=\"wp-image-357\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-115-1024x575.png 1024w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-115-300x168.png 300w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-115-768x431.png 768w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-115-1536x862.png 1536w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-115-1140x640.png 1140w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-115.png 1928w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Now we log onto the user Peter and check if he has access to the Control Panel. Recall earlier in the project that he was denied access because the GPO was applied.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/10\/image-112.png\" alt=\"\" class=\"wp-image-592\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/10\/image-112.png 1024w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/10\/image-112-300x225.png 300w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/10\/image-112-768x576.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Showing that we are in Peter&#8217;s profile.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/10\/image-113.png\" alt=\"\" class=\"wp-image-593\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/10\/image-113.png 1024w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/10\/image-113-300x225.png 300w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/10\/image-113-768x576.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Through the use of security filtering, since Peter was a member of the &#8220;IT&#8221; security group, and this group was &#8220;denied&#8221; application of this GPO to its group, Peter now has access to the Control Panel once again.<\/p>\n\n\n\n<p><strong><em>Note<\/em><\/strong>: It is EXTREMELY important that all machines within the same domain have the same time as their AD server. Explicitly, you must sync the time on the PC with the AD server itself. &nbsp;This should theoretically happen automatically when you join a machine into the domain but nothing is ever guaranteed. Both machines were using the EST time zone, however the Windows 10 Enterprise machine was off about 10 minutes; and as a result, I received errors in how the machine didn\u2019t trust the action being performed because the AD server time was different (this has to do with Kerberos).<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This shows how crucial Network Time Protocol (NTP) can be.<\/li>\n<\/ul>\n\n\n\n<p> Another issue that arose during this lab was that my Windows 10 Enterprise machine was easily able to ping the AD server, but the AD server was unable to ping the Windows 10 machine.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"547\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-53.png\" alt=\"\" class=\"wp-image-115\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-53.png 975w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-53-300x168.png 300w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-53-768x431.png 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"547\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-54.png\" alt=\"\" class=\"wp-image-116\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-54.png 975w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-54-300x168.png 300w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-54-768x431.png 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/figure>\n\n\n\n<p>I discovered this issue when I tried to force the GPO update through the GPMC GUI. What this meant: the network was working fine \u2013 both machines were in the same subnet with the same default gateway. One machine was able to communicate perfectly with the other. When the other couldn\u2019t, the most likely scenario was: a firewall was blocking incoming traffic.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>I couldn\u2019t look at the firewall because I applied the command line <strong>&#8220;gpupdate \/force&#8221;<\/strong> command which disabled access to the Control Panel. After some research, the solution was to enable and turn on \u201c<strong>network discovery and file\/printer sharing<\/strong>\u201d which is automatically off when you provision a VMWare Virtual Machine. This resulted in the Windows firewall now enabling inbound traffic for Internet Control Message Protocol (ICMP &#8211; what you use to ping), RPC (port 135) and Server Message Block (port 445 &#8211; this is important because PCs download policy files using SMB), exactly what I needed to force a gpupdate through the GPMC GUI.<\/li>\n<\/ul>\n\n\n\n<p>To finish off this project the last thing I will do is create one last GPO: disable the use of the local account \u201cPeter\u201d we created when the VM was first established (this is NOT the same as the domain user Peter that we configured earlier). This is a security benefit as it reduces attack surface by eliminating local admin accounts that can bypass certain security policies.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The first thing we are doing is creating a GPO that assigns a default domain to logon into \u2013 that way all users don\u2019t have to manually enter the domain every single time or do a form of \u201cpeter@carlostech.local\u201d to log on.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"496\" height=\"431\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-109.png\" alt=\"\" class=\"wp-image-344\" style=\"width:840px;height:auto\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-109.png 496w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-109-300x261.png 300w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can use carlostech or carlostech.local. The first option is NETBIOs (fundamentally the same as ARP but maps names to IP addresses instead of IP to MAC addresses) and the second option is using DNS. There really isn&#8217;t a right or wrong answer here but the DNS option is more specific, so in enterprises that could have multiple domains under a forest, this option would probably be best. Here we used the NETBIOs name for simplicity.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"591\" height=\"378\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-110.png\" alt=\"\" class=\"wp-image-345\" style=\"width:837px;height:auto\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-110.png 591w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-110-300x192.png 300w\" sizes=\"auto, (max-width: 591px) 100vw, 591px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Then through computer configuration \u2013&gt; Preferences \u2013&gt; Local Users: disabled the local account, Peter.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"547\" src=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-57.png\" alt=\"\" class=\"wp-image-119\" srcset=\"https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-57.png 975w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-57-300x168.png 300w, https:\/\/carlostech.com\/wp-content\/uploads\/2025\/09\/image-57-768x431.png 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>When attempting to log on to the machine, it now always directs us to log on with a user from the carlostech domain! I am also completely unable to log on with the local account Peter.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/carlostech.com\/?page_id=1276\">Back to Projects<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Active Directory using VMWare. Creating Group Policies, establishing organizational unit structures and exploring features such as security filtering. &hellip; <\/p>\n<p><a href=\"https:\/\/carlostech.com\/?p=95\" class=\"awp-btn awp-btn-secondary awp-btn-bubble\"><span class=\"screen-reader-text\">Active Directory Lab 2 &#8211; VMWare<\/span><i class=\"fa fa-arrow-right\"><\/i><span class=\"bubble_effect\"><span class=\"circle top-left\"><\/span><span class=\"circle top-left\"><\/span><span class=\"circle top-left\"><\/span><span class=\"button effect-button\"><\/span><span class=\"circle bottom-right\"><\/span><span class=\"circle bottom-right\"><\/span><span class=\"circle bottom-right\"><\/span><\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1301,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"[]"},"categories":[12],"tags":[2],"class_list":["post-95","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-active-directory","tag-active-directory"],"_links":{"self":[{"href":"https:\/\/carlostech.com\/index.php?rest_route=\/wp\/v2\/posts\/95","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carlostech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carlostech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carlostech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/carlostech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=95"}],"version-history":[{"count":92,"href":"https:\/\/carlostech.com\/index.php?rest_route=\/wp\/v2\/posts\/95\/revisions"}],"predecessor-version":[{"id":1442,"href":"https:\/\/carlostech.com\/index.php?rest_route=\/wp\/v2\/posts\/95\/revisions\/1442"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/carlostech.com\/index.php?rest_route=\/wp\/v2\/media\/1301"}],"wp:attachment":[{"href":"https:\/\/carlostech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carlostech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carlostech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}