📜 ⬆️ ⬇️

Experienced trivia-7, or "Mergers and acquisitions in the Group Policy"

image The continuation of "experienced trifles." Previous parts: one , two , three , four , five , six .

Today we will talk about one interesting parameter in Group Policy. Yes exactly. A single parameter that can make your life easier (or complicate it, this is also possible)


The task was set very simple:
It is required that certain users, entering the terminal server, have a SuperMinimum set of permissions. Could not change anything on the desktop, did not see the disks, could run only pre-defined applications (1C, Consultant +, Word, Excel), etc. At the same time, everyone else, accessing the same terminal server, should receive a full set of rights. Well, this should only concern this particular terminal server, on the workstations all users are approximately equal.
')
It would seem that something easier - set up a group policy and forward to the tanks. However, as in the old joke, "There is a nuance!". If we are talking about setting up the user's environment (prohibiting the display of disks, customizing the desktop, etc.), then these parameters apply to users (logical!), And the question arises: where exactly to apply our policy.

If we apply to the OU, which contains users, then they will have a SuperMinimal set of rights everywhere, including on their work computers, which was not part of our plans.

If you apply this policy on the OU in which the terminal server is located, then the user settings will simply not be applied, since they are listed in the User Configuration category, and will have no effect on the server.

And here the above-mentioned interesting parameter enters into battle in Group Policy. Write: Computer Configuration - Administrative Template - System-Group Policy - User Group Policy Loopback processing mode -Merge (or Replace)

We do something like this:
As required. And finally, a couple of comments:
  1. Merge mode "merges" all user settings, and Replace mode replaces them. We usually use Merge , because in previous policies there may be parameters (for example, pluggable disks, printers, etc.) that do not need to be changed. You can read more about Replace and Merge , for example, here.
  2. When using Loopback processing in Merge mode, the policy actually runs twice, consider this if you use Logon-scripts. For example, I have long blown the roof. It is clearly seen that the script works twice, with a break of 0.5 -1 sec, but I could not understand the reason until I read in more detail about Loopback processing.

To be continued

Source: https://habr.com/ru/post/122668/


All Articles