HCHTech
Well-Known Member
- Reaction score
- 4,202
- Location
- Pittsburgh, PA - USA
I've been doing a lot of this lately, and I'm wondering if I'm doing it right. I'm using Server 2019 for my latest go round, but Server 2016 is largely similar.
When you first create the group policy, you have to choose whether the policy has a "Create" action or on "Update" action. If I'm replacing an old DC with a new DC, I have been choosing "Update" because the workstations will have already had those maps pointing to the old server (on the old domain profile, so maybe that doesn't matter).
If, on the other hand, I'm putting in a new server, then I have been choosing the "Create" action.
Then, on the Common tab of the policy object, I have been checking "Run in logged on user's security context" box, and then hitting the "Targeting" button to assign that map to the applicable security groups in AD.
Then, once this is done, I link the policy to the .local domain in GP manager, and usually, it works after running gpupdate /force on the workstations. If that doesn't work, then it usually works after a reboot of the workstation.
I have had some problems where the policy doesn't appear to get linked correctly to the .local domain. If I delete the policy and start over, this time, right-clicking on the .local domain in GP Manager and choosing "Create a GPO in this domain and link it here", then creating the policy again, it seems to work every time. The wizard involved in this case must be doing something I'm not when linking it manually.
I'd like to understand how this works a bit more. Is there something special needed when you manually link a policy to the domain as opposed to using the "create and link" wizard? Sometimes the manual way works, so I think my procedure is good. But sometimes it doesn't so after cursing at myself for not using the wizard in the first place, I delete the policy and start over with the wizard and it always seems to work.
Lastly, when I have policies that only apply to a select group of users in the same domain, I create a new security group in AD and make sure all of the folks for the map are in that group. Then, in the Targeting screen of the policy, I apply the map to that security group. Inevitably, though, it will work for all but one user in the group. That same security group is used to give access rights to the directory in question, and I can manually browse to the directory from that user's workstation, so I know the rights are correct. Usually, reboots all around fix this, or maybe removing that user from the security group and then re-adding them. I don't know, it all seems a bit wonky. Shouldn't this stuff just work? In the old days, logon scripts just always worked, you know?
When you first create the group policy, you have to choose whether the policy has a "Create" action or on "Update" action. If I'm replacing an old DC with a new DC, I have been choosing "Update" because the workstations will have already had those maps pointing to the old server (on the old domain profile, so maybe that doesn't matter).
If, on the other hand, I'm putting in a new server, then I have been choosing the "Create" action.
Then, on the Common tab of the policy object, I have been checking "Run in logged on user's security context" box, and then hitting the "Targeting" button to assign that map to the applicable security groups in AD.
Then, once this is done, I link the policy to the .local domain in GP manager, and usually, it works after running gpupdate /force on the workstations. If that doesn't work, then it usually works after a reboot of the workstation.
I have had some problems where the policy doesn't appear to get linked correctly to the .local domain. If I delete the policy and start over, this time, right-clicking on the .local domain in GP Manager and choosing "Create a GPO in this domain and link it here", then creating the policy again, it seems to work every time. The wizard involved in this case must be doing something I'm not when linking it manually.
I'd like to understand how this works a bit more. Is there something special needed when you manually link a policy to the domain as opposed to using the "create and link" wizard? Sometimes the manual way works, so I think my procedure is good. But sometimes it doesn't so after cursing at myself for not using the wizard in the first place, I delete the policy and start over with the wizard and it always seems to work.
Lastly, when I have policies that only apply to a select group of users in the same domain, I create a new security group in AD and make sure all of the folks for the map are in that group. Then, in the Targeting screen of the policy, I apply the map to that security group. Inevitably, though, it will work for all but one user in the group. That same security group is used to give access rights to the directory in question, and I can manually browse to the directory from that user's workstation, so I know the rights are correct. Usually, reboots all around fix this, or maybe removing that user from the security group and then re-adding them. I don't know, it all seems a bit wonky. Shouldn't this stuff just work? In the old days, logon scripts just always worked, you know?
Last edited: