Настройка групповых политик windows server 2019

Локальная групповая политика позволяет контролировать параметры текущего устройства – определять поведение операционной системы для всех пользователей и вносить отдельные настройки для каждой из учётных записей.

Для настройки групповых политик сервера без домена имеем подготовленный сервер с операционной системой Windows Server 2019.

В меню пуск, выбираем элемент «выполнить» и вводим gpedit.msc, либо через командную строку.

Открывается «Редактор локальной групповой политики»:

Редактор локальной групповой политики

Рисунок 1 – Редактор локальной групповой политики

Конфигурация компьютера позволяет применять политики на весь сервер, а конфигурация пользователя позволяет применить политики на того пользователя, который запустил редактор.

Применим ограничения по времени для активных, но бездействующих и отключенных сеансов. Для этого переходим «Конфигурация компьютера» «Административные шаблоны»->«Компоненты Windows» -> «Службы удаленных рабочих столов» -> «Ограничение сеансов по времени», здесь находим две политики «Задать ограничение по времени для отключенных сеансов» и «Задать ограничение по времени для активных, но бездействующих сеансов служб удаленных рабочих столов». Включаем политику и указываем время, например, 3 часа:

GPO ограничения времени активных, но бездействующих сеансов

Рисунок 2 – GPO ограничения времени активных, но бездействующих сеансов

Если требуется запустить редактор на группу пользователей (администраторы или «не администраторы»), необходимо запустить mmc, так же через «выполнить», либо командную строку.

Добавляем необходимую оснастку:

Нажимаем «файл», далее «Добавить или удалить оснастку».
Далее выбираем «Редактор объектов групповой политики»:

Добавление и удаление оснасток

Рисунок 3 – Добавление и удаление оснасток

Нажимаем добавить, затем кнопку «обзор».

На данном этапе выбираем вкладку «пользователи» и к какой группе (или к конкретному пользователю) мы хотим применить политику:

Выбор объекта групповой политики

Рисунок 4 – Выбор объекта групповой политики

Далее нажимаем «ок» и запускаем выбранную оснастку.

Оснастка GPO группы пользователей Не администраторы

Рисунок 5 – Оснастка GPO группы пользователей «Не администраторы»

Сделаем блокировку рабочего стола при неактивности пользователя.

Для этого переходим в «Конфигурация пользователя» -> «Административные шаблоны» -> «Панель управления» -> «Персонализация».

Выбираем политики «Защита заставки с помощью пароля» и «Тайм-аут экранной заставки».

Включаем защиту заставки, тайм-аут включаем и выставляем время в секундах, например, 600с (10 минут):

 GPO ограничения времени отключенных сеансов.

Рисунок 6 – GPO ограничения времени отключенных сеансов.

Чтобы просмотреть текущие применённые групповые политики, нужно ввести команду

Эти и другие настройки для наших клиентов мы осуществляем в рамках ИТ-аутсорсинга.

Салимжанов Р.Д

Part 4 Basic Configuration of Windows Server 2019 (Group Policies)

Salimzhanov R.D.

В последней части базовой настройки мы рассмотрим простейшую настройку групповой политики Windows.

Групповая политика Windows (Group Policy) — это механизм управления настройками операционной системы и приложений в среде Windows. Она позволяет администраторам централизованно управлять и конфигурировать системы, пользователи и группы в домене Active Directory.

Заходим в созданную нами папку в 3 части базовой настройки Active Directory:

Создадим правило:

После создания можем переходить к настройке:

Допустим, зададим фон рабочего стола для наших пользователей

Перед тем как выбирать картинку создадим общую папку, из которой будет взята картинка.

После чего, копируем путь к папке и запишем его в политику.

Точно также мы можем, к примеру, запретить доступ к панели управления и выхода из системы:

Проверим:

Можно посмотреть все парила:

При помощи групповых политик мы можем заниматься:

1. Централизованное управление: Позволяет администраторам управлять настройками множества компьютеров и пользователей из одного места.

2. Безопасность: Позволяет применять политики безопасности, такие как требования к паролям, настройки брандмауэра, права доступа и другие меры безопасности.

3. Конфигурация системы: Автоматическая настройка параметров операционной системы и приложений для пользователей и компьютеров.

4. Управление программами: Возможность установки, обновления или удаления программного обеспечения на всех компьютерах в сети.

5. Контроль доступа: Настройка прав доступа к ресурсам сети, таким как файлы, папки и принтеры.

6. Стандартизация: Обеспечивает единообразие настроек и конфигураций на всех устройствах в организации.

7. Упрощение администрирования: Уменьшает время и усилия, необходимые для управления IT-инфраструктурой.

Групповая политика является мощным инструментом для системных администраторов, позволяя эффективно управлять IT-ресурсами в организации.

1) Администратор групповая политика в управляемом домене доменных служб Microsoft Entra // [электронный ресурс]. URL: https://learn.microsoft.com/ru-ru/entra/identity/domain-services/manage-group-policy / (дата обращения 03.09.2024).

2) Помощник Админа // [канал]. URL: https://t.me/channel_adminwinru (дата обращения 01.09.2024).

3) Редактор локальной групповой политики Windows// [канал]. URL: https://remontka.pro/group-policy-editor-windows / (дата обращения 28.08.2024).

Introduction

In this article, I’m going to show you how to create a software group policy on Windows Server 2019 using the proper and easiest method.

Before that, we need to know what The MSI file extension stands for Microsoft Software Installer. It’s a Windows Installer format that uses Microsoft’s Windows Installer service to configure installer packages.

I’m going to install the Mozilla Firefox web browser on servers and clients. I attached the Mozilla Firefox web browser MSI file extension version link: Download the Firefox Browser in English (US) and more than 90 other languages (mozilla.org).

Note: Relocated that downloaded file to the shared drive. If you want to know how to share a drive, please visit my previous article, How to Share a Drive and Mapping for Client User? (c-sharpcorner.com)

Create Software Group Policy on Server 2019

Step 1. On your server, click «tool» after clicking «group policy management».

Step 2. Come to your server domain name and right-click on «group policy objects» after clicking «new».

Step 3. Give the name of your software policy.

Step 4. After creating, right-click on your created software policy, then click «edit».

Step 5. Double-click on «user configuration».

Step 6. Again, double-click on «policies».

Step 7. Double-click on «software settings».

Step 8. Again, click twice on «software installation».

Step 9. After right click «software installation» again, click «new» then click «package».

Step 10. Locate your downloaded MSI extension Mozilla Firefox web browser setup file on the shared drive folder and click «open».

Step 11. Once you have located, you will receive a deploy software message, here click «assigned» after clicking «ok».

Wait a few minutes, and your software will appear here.

Step 12. After coming to your «group policy management» right-click on your server’s «domain name» after clicking «link an existing GPO».

Step 13. Select your created software policy after clicking «ok».

Step 14. Finally, clients and server users restart their PCs automatically our Mozilla web browser software was installed successfully.

Conclusion

In this article, we all clearly understand how to create a software group policy on Windows Server 2019 using the proper and easiest method. If there is clarification regarding this topic, feel free to contact me.

Nothing more interesting than those tools and utilities that facilitate the task of management and control in a corporate environment and when using Windows Server we know very well that Group Policy Objectives or GPO (Group Policy Object) are one of the best options to use because thanks to them we can create a policy that can be applied either to the entire domain or to a single OU (Organizational Unit) in particular and thus restrict the use or access to certain parameters or, forcing a certain configuration on client computers..

Microsoft with its new edition Windows Server 2019 continues to offer us this functional practice to have better control over all the elements of the organization.

What are the GPOs?

The GPOs (Group Policy Object) are in themselves a set of policies that can be created in different areas of the server either to prevent users from executing an action, such as accessing the C drive or connecting devices USB, or generate that the teams perform certain actions such as applying automatic updates.

A GPO is a virtual collection of policy settings and each has a unique name, similar to a GUID. To correctly use a GPO it is necessary to take into account the following:

  • The local network must be structured in AD DS, so that at least one of the servers to be used must have the AD DS (Active Directory) function installed.
  • The computers to manage must be attached to the domain and users must use the domain credentials to log in to the computers.
  • You will need to have permissions to edit the Group Policy in the domain, and this is achieved by being part of the group of Administrators or Group Policy Administrators.

Types of group policies

There are basically two types of group policy for Windows Server which are:

  • Default Domain Policy: This default policy and within it we find policy settings that can be applied to all computers and users in the current domain.
  • Default Domain Controller Policy: It is another policy that is created by default, and in it we have policy settings that are applied exclusively to available domain controllers.

Group policies are categorized into sections and each has specific elements to manage such as:

Windows settings

At the Team Configuration level we have:

  • Name Resolution Policy
  • Scripts (Start / Off)
  • Printers deployed
  • Security settings
  • Policy-based quality of service (QoS)

Administrative Templates

  • Control Panel
  • Net
  • Printers
  • Server
  • System
  • Windows components
  • All settings

Windows settings

At the User Configuration level we have:

  • scripts (Start / Off)
  • Printers
  • Security settings
  • Policy-based quality of service (QoS)

Administrative Templates

  • Control Panel
  • Desk
  • Net
  • Shared folders
  • Start menu and taskbar
  • System
  • Windows components
  • All settings

Now we will know how to create a GPO in Windows Server 2019..

1. Create the GPO in Windows Server 2019

Step 1

For this, we have two options:

  • Use the following key combination and execute the gpmc.msc command and press Enter or Accept

+ R

 gpmc.msc 
  • Go to Server Manager and there go to the «Tools / Group Policy Management» path

image

Step 2

The following window will be displayed where, when deploying our forest, we will have the domain structure:

image

Step 3

To create a new GPO we will right click on the domain and select the option “Create a GPO in this domain and link it here”:

image

Note

We can also link a GPO to an existing OU if this is the case.

Step 4

When selecting this option we will see the following window where we will assign a name to said GPO:

Step 5

Click on Accept and we will see that our GPO has been created correctly:

image

2. Edit a group policy in Windows Server 2019

Step 1

To start the editing process of our GPO we will right click on it and select the «Edit» option:

image

Step 2

This will lead us to the group policy console where we will see the following options:

image

Step 3

As we see there are the sections that we have mentioned before, Computer Configuration and User Configuration.
Each of these sections has a subdivision of options to select and in each of them we find special policies:

image

Step 5

Each section has a series of diverse policies:

image

Step 6

To edit and apply an action to the created GPO, for this case, we will go to the section «Computer Configuration / Windows Components / Start Menu and Taskbar» where we will select the policy called «Remove and prevent access to Shutdown, Restart, Suspend and Hibernate commands:

image

Step 7

We double-click on this policy and in the new window we will activate the “Enabled” box:

image

Step 8

In some special policies, additional options for its configuration will be displayed. Click on the «Apply and Accept» button to save the changes. Now, on all computers in the domain, including the server, we will see that the shutdown buttons are not available:

image

Step 9

This is because the GPO was created in the domain directly and not in a single OU. At the level of GPO management we have some options such as:

Look for

By right clicking on the domain we can select the «Search» option to find a GPO based on the parameter we define and it is useful when we have numerous policies created

image

In the window that opens we will enter the search parameters to obtain the best results:

image

General configuration

By right clicking on our policy we can see a series of options to use as:

  • Edit: Allows us to make changes to the selected GPO
  • Required: Forces the value of the selected GPO
  • Link enabled: This option allows us to create a link of this GPO with a domain or other existing GPOs in the local network
  • Save report: This option is responsible for creating and storing an HTML file with details of the policy created.
  • Rename: Modify the name of the current policy
  • Delete: Deletes the selected GPO
  • Update: Refresh the changes made to the policy
  • Help: Deploy GPOs help in Windows Server 2019

image

3. Delete a GPO in Windows Server 2019

Step 1

When we consider that a GPO will no longer be necessary to have that GPO there, we can remove it and for this we will right click on it, once we access the policy manager, and select the Delete option :

image

Step 2

The following message will be displayed. There we click on OK to confirm the elimination of this GPO.

The GPOs have been developed with the objective of being an ally in the entire administration and control process on the various elements of the system both at the software and hardware level, thus allowing a central control of all these steps without resorting to waste of time or of unnecessary resources.

Hi, in today’s post we will be looking at GPOs in Windows Server 2019. The Group Police Object are a set of policies that can be created in different areas of the server. In addition, these rules seek to achieve a number of objectives. For example, to prevent users from executing an action. Or also, to generate that the computers develop automatic actions. Consequently, it is a great tool for managing a corporate environment when using Windows Server. Similarly, these policies can be applied to the entire domain or to an organizational unit. In this way it is possible to restrict access to certain parameters. Or force a special configuration to all client computers. For that reason, today we will see how to create GPO in Windows Server 2019.

Prerequisites

  • The local network must be structured in Active Directory. That is, at least one of the servers must have the Active Directory installed. To know how to do it, take a look at this post.
  • The computers to be managed must be linked to the domain. In addition, their users must use their domain credentials to log in to the computers.
  • You need permissions to edit Group Policy in your domain. Consequently, the user has to be part of the Policy Administrator group.

Let’s create a Group Police Object on Windows Server 2019

In the first place, enter the Dashboard Server. Once there, please click on Tools. Then click on Group Policy Manager.

Enter the group policy manager.

Enter the group policy manager.

A window with the group policy manager will be displayed immediately. Please note that these steps are simple, but should be followed in their order. Well, in the left column you must select the previously created forest. Immediately below, is the assigned domain. Please right click on it, and select the option: Create a GPO in this domain and Link it here.

Creating a GPO within a domain

Creating a GPO within a domain

Then assign the name of your preference to the GPO.

Name the GPO as you wish.

Name the GPO as you wish.

Finally, you can see the GPO actually created. In addition, you can see all the settings that have been made.

Conclusion

In this simple way, we have seen how to create a GPO on Windows Server. This tool is an excellent option to manage multiple computers connected to the directory. This allows to assign tasks and general behaviors. This way you avoid having to configure each computer individually. In later posts, we will continue to delve into these policies. All right, that’s it for now. See you later!

— Advertisement —

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.

Subscribe

«The best Linux newsletter on the web»

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Хороший файрвол для windows
  • Dual boot arch and windows
  • Как войти в безопасный режим windows 10 при загрузке компьютера через биос
  • Создание новой учетной записи в windows 10 с правами администратора
  • При установке компаса синий экран windows 10