Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

Windows Group Policy (GPO) Explanation and Tutorials

Group Policy Object (GPO) is a Windows feature for centrally configuring operating systems, users, and applications. Group Policies allow you to apply the same settings to all users and computers in an Active Directory domain by providing a set of rules and settings for the Windows environment. You can use Group Policy to set Windows configuration, change security settings, configure the user’s environment, install a program or run a script, etc.

Group Policy Architecture and Components

  • GPO – a Group Policy Settings object, which contains a set of settings that you want to apply to workstations, servers and/or users. Each GPO in a domain has its own unique GUID. Its files are stored in the SYSVOL directory on Active Directory domain controllers ( \\woshub.com\SYSVOL\woshub.com\Policies\GPO_GUID). All AD domain controllers replicate the GPO folder in Sysvol;
  • Client computers – Clients retrieve GPO files from domain controllers and apply settings to Windows and users. The process of obtaining and applying a GPO is called a Group Policy Update;
  • Group Policy Administrative Templates (ADMX files) are the XML template files for the GPO Editor.  ADMX files contain the definitions of the policy settings, which describe what settings can be configured and what their valid values are. Third party developers and administrators can create their own ADMX templates. If you want to support multiple languages in ADMX, you can use ADML files. You can install and update administrative templates for a wide range of applications and services. For example, you can use ADMX templates for Microsoft Office, to configure the settings of the Google Chrome browser, manage LAPS, etc.   In a Windows domain, we recommend that you create a central Administrative Template store for ADMX files called PolicyDefinitions.
  • Linking GPO – a configured GPO can be assigned to an entire domain, an Active Directory site, or an Organizational Unit in the AD tree structure; Windows Group Policies (GPO) in Active Directory
  • GPO Security Filtering and WMI Filters allow you to limit the scope of a GPO to specific computers, users, and groups;
  • Group Policy Preferences – a built-in set of client extensions that extend the capabilities of GPO (available in Windows Server 2008 and later).

There are two default GPOs created in the domain:

  • Default Domain Policy – Assigned to the root of the domain and contains basic settings for all users and computers. It includes domain password policy settings, account lockout, and Kerberos settings.
  • Default Domain Controller Policy – contains the basic and auditing settings for the Active Directory domain controller.

Group Policy Management Tools

  • Local Group Policy Editor (gpedit.msc) MMC console –used to configure the GPO settings on the local Windows computer. By default, the gpedit.msc console is only available in Pro/Enterprise editions of Windows, but you can also install it in Home editions. Different local GPO settings can be applied to different groups of users using MLGPO (Multiple Local Group Policy). You can use the LGPO.exe tool to export (backup) the local GPO settings and transfer them to other computers.
  • Domain Group Policy Management MMC console (gpmc.msc) used to centrally manage Group Policies at the AD domain level. Allows you to apply GPOs to all computers/users in a domain, to objects in a specific OU, or to specific groups of users or computers.
  • PowerShell Group Policy module allows you to create, delete, link, unlink, and configure GPO settings from the PowerShell command prompt.

MostUsefulGPOExamplesandBestPractices

  • Deploy software (MSI packages) on Windows via Group Policy
  • Managing Windows Defender Firewall rules with GPO
  • Configure folder redirection using GPO
  • How to implement Group Policy to block USB devices
  • Disable legacy TLS 1.0 and TLS 1.2 protocols on Windows
  • Display system information on the Windows desktop with BgInfo
  • Deploying new fonts on Windows via GPO
  • How to save BitLocker recovery keys to Active Directory
  • Set screen lock for inactivity via Group Policy
  • Disable NTLM on Windows
  • GPO: run startup or logon PowerShell scripts on Windows
  • Enable WinRM and PowerShell Remoting through GPO
  • Enable RDP on Windows computers with Group Policy
  • Configuring proxy server settings in Windows using Group Policy
  • Disable NetBIOS and LLMNT protocols on Windows
  • Update trusted root certificates on Windows and add SSL certificate to the trusted ones with GPO
  • Configure User Account Control (UAC) settings on Windows with GPO
  • GPO: Set WSUS client configuration in Active Directory domain

Examples of using Group Policy Preferences:

  • Create a scheduled task on Windows with GPO
  • How to add, change, or remove registry keys/parameters using Group Policy
  • Mapping network drives with Group Policy
  • Copy files or folder to domain computers using GPO
  • Create desktop shortcuts using Group Policy
  • How to add local administrators via Group Policy
  • Connecting shared printers to domain computers and users with GPO

Group Policy Troubleshooting Guides

  • Fixing Group Policy processing errors
  • Troubleshooting: Group Policy Objects not being applied to clients
  • GPO is taking long time to apply
  • How to use GPResult to check resulting Group Policies
  • Reset Local Group Policy settings on Windows by deleting registry.pol files
  • Group PoliciesPowerShellWindows Server 2016Windows Server 2019Windows Server 2022

    Fix: Remote Desktop Licensing Mode is not Configured

    August 24, 2023

    When configuring a new RDS farm node on Windows Server 2022/2019/2016/2012 R2, you may see the following tray warning pop-up: Licensing mode for the Remote Desktop Session Host is not…

    23 Facebook Twitter Google + Pinterest
  • Active DirectoryGroup PoliciesWindows 10Windows Server 2019

    Refresh AD Groups Membership without Reboot/Logoff

    July 15, 2023

    After you add a computer or a user account to an Active Directory security group, the new access permissions or the new GPOs are not applied immediately. To update the…

    22 Facebook Twitter Google + Pinterest
  • Group PoliciesWindows 10Windows 11

    How to Backup and Copy Local Group Policy Settings to Another Computer

    July 6, 2023

    Group Policies are used to centrally configure settings for computers and users in Windows. If your computers are joined to a Windows domain, you can use domain GPOs to bring…

    2 Facebook Twitter Google + Pinterest
  • Group PoliciesWindows 10Windows 11Windows Server 2019

    How to Reset the Group Policy Settings on Windows

    June 23, 2023

    Group Policy Object (GPO) is a handy tool for fine-tuning the user and the operating system environment in Windows. Both domain GPOs (if the computer is a member of an…

    3 Facebook Twitter Google + Pinterest
  • Group PoliciesPowerShellWindows 10Windows 11Windows Server 2016Windows Server 2019

    How to Allow Non-Admin User to Start/Stop Service in Windows

    June 16, 2023

    By default, regular (non-admin) users cannot manage Windows services. This means that users cannot stop, start, restart, or change the settings and permissions of Windows services. In some cases, it…

    7 Facebook Twitter Google + Pinterest
  • Group PoliciesPowerShellWindows 10Windows Server 2019

    Configuring Event Viewer Log Size on Windows

    May 24, 2023

    Windows Event Viewer Logs store useful information that is needed when analyzing the status of services and applications in Windows, troubleshooting errors, and auditing security events. By default, the sizes…

    1 Facebook Twitter Google + Pinterest
  • Group PoliciesPowerShellWindows 10Windows Server 2019

    How to Detect Who Changed the File/Folder NTFS Permissions on Windows

    May 24, 2023

    In some cases, the administrator needs to find out which process (program) or user has changed the NTFS permissions on a specific folder or file on a Windows file server.…

    0 Facebook Twitter Google + Pinterest
  • Active DirectoryGroup PoliciesWindows Server 2016Windows Server 2019

    Allow Non-admin Users RDP Access to Windows Server

    May 22, 2023

    By default, the RDP access to the desktop of Windows Server member servers or Active Directory domain controllers are restricted to users added to the local Administrators or Domain Admins…

    6 Facebook Twitter Google + Pinterest
  • Active DirectoryGroup PoliciesWindows 10Windows 11Windows Server 2019Windows Server 2022

    Configure Windows LAPS (Local Administrator Passwords Solution) in AD

    April 25, 2023

    Windows LAPS (Local Administrator Password Solution) allows you to centrally manage the passwords for the local administrators on the computers in your AD domain. The current local administrator password is…

    5 Facebook Twitter Google + Pinterest
  • Group PoliciesPowerShellWindows 10Windows Server 2019

    Clear Cache and Temp Files in User Profiles on Windows (RDS) with PowerShell and GPO

    March 13, 2023

    Windows Server RDS farm administrators are often faced with the problem of running out of space on a system drive due to a large amount of user data. This article…

    0 Facebook Twitter Google + Pinterest
  • 1
  • 2
  • 3
  • …
  • 9

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • How to Connect VPN Before Windows Logon

    November 14, 2023
  • Removing Azure Arc Setup Feature on Windows Server 2022

    November 9, 2023
  • Using WPAD (Web Proxy Auto-Discovery Protocol) on Windows

    November 7, 2023
  • Send Emails with Microsoft Graph API and PowerShell

    November 6, 2023
  • Zabbix: How to Get Data from PowerShell Scripts

    October 27, 2023
  • Tracking Printer Usage with Windows Event Viewer Logs

    October 19, 2023
  • PowerShell: Configure Certificate-Based Authentication for Exchange Online (Azure)

    October 15, 2023
  • Reset Root Password in VMware ESXi

    October 12, 2023
  • How to Query and Change Teams User Presence Status with PowerShell

    October 8, 2023
  • How to Increase Size of Disk Partition in Ubuntu

    October 5, 2023

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Updating List of Trusted Root Certificates in Windows
  • Configure Google Chrome Settings with Group Policy
  • How to Delete Old User Profiles in Windows
  • Allow Non-admin Users RDP Access to Windows Server
  • How to Backup and Copy Local Group Policy Settings to Another Computer
  • How to Find the Source of Account Lockouts in Active Directory
  • How to Disable or Enable USB Drives in Windows using Group Policy
Footer Logo

@2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


Back To Top