How to Create and Apply Group Policies in Windows Server

Group Policy centrally configures Windows user and computer settings through Active Directory. To create and apply a policy, make a Group Policy Object (GPO) in the Group Policy Management Console (GPMC), link it to the right domain, site, or organizational unit (OU), configure a setting, then verify it on a pilot client. This example uses a pilot users OU and a desktop wallpaper policy.

Before you start

  • Use an Active Directory domain and a domain-joined Windows client with a test user.
  • Install the Group Policy Management feature. Your account needs permission to edit GPOs and link them to the selected OU, domain, or site. See Microsoft’s GPMC requirements and procedures.
  • Choose a pilot OU containing test users. GPOs link to sites, domains, or OUs, not directly to user objects.
  • Store the wallpaper image where target users have read access; a UNC path is suitable for domain clients.

Links, inheritance, precedence, and filtering affect scope. Review Microsoft’s Group Policy scope guidance before linking above the pilot OU.

Create and apply a test GPO

1. Open Group Policy Management

In Server Manager, select Tools > Group Policy Management. You can also search Start on a computer with GPMC installed. Expand Forest, Domains, and your domain to browse its OUs and GPOs.

Illustration of Server Manager with Group Policy Management highlighted in the Tools menu.
Server Manager’s Tools menu has Group Policy Management selected.

2. Create and link the GPO to the pilot OU

Right-click the pilot users OU and select Create a GPO in this domain, and Link it here…. This creates the GPO and link together. Because the example uses User Configuration, choose the OU containing the pilot users. A domain-root link may affect a much wider group.

Illustration of the GPMC context menu on a pilot users OU, with the command to create and link a GPO selected.
The pilot users OU context menu offers the command to create and link a GPO.

3. Name the policy

Name the new GPO Desktop Wallpaper Policy and select OK. Use a name that identifies its purpose. If you create an unlinked GPO under Group Policy Objects, link it to the target container afterward.

Illustration of the New GPO dialog with Desktop Wallpaper Policy entered as the policy name.
The New GPO dialog names the example policy Desktop Wallpaper Policy.

4. Confirm the link and its scope

Select the pilot OU and open Linked Group Policy Objects; confirm the link is present and enabled. If you use Security Filtering, the intended user or group needs both Read and Apply Group Policy permissions. Keep default filtering for an isolated pilot OU, or verify membership and permissions for a pilot group.

Illustration of the GPMC Linked Group Policy Objects tab showing the enabled Desktop Wallpaper Policy link.
The pilot OU’s Linked Group Policy Objects tab shows the policy link enabled.

5. Open the policy setting

Right-click the GPO and select Edit. In Group Policy Management Editor, open User Configuration > Policies > Administrative Templates > Desktop > Desktop, then select Desktop Wallpaper. Microsoft documents this path in its Windows background configuration guidance.

Illustration of Group Policy Management Editor with the Desktop Wallpaper setting selected under User Configuration.
The editor shows Desktop Wallpaper under User Configuration and Administrative Templates.

6. Enable the wallpaper policy

Open the setting, select Enabled, and enter a fully qualified path in Wallpaper name, such as \\fileserver\Branding\desktop.jpg. Confirm users can read the file through both share and file-system permissions. Select OK to save the setting, then close the editor.

Close-up illustration of the Desktop Wallpaper policy properties with Enabled selected and a UNC image path entered.
The policy is enabled and points to a shared wallpaper file by UNC path.

7. Refresh policy on a pilot client

Sign in as a pilot user and run gpupdate /target:user /force in Command Prompt. This refreshes user policy and reapplies all settings. See Microsoft’s gpupdate reference. If the wallpaper does not change, sign out and back in, then check access to the shared image.

Illustration of a Windows client Command Prompt running gpupdate and creating an HTML gpresult report.
The client command prompt refreshes user policy and saves an HTML results report.

8. Verify the result

Check the wallpaper, then run gpresult /h "%USERPROFILE%\Desktop\gpresult.html" and open the report. Under Applied Group Policy Objects, confirm the test GPO appears. Microsoft’s gpresult reference explains report options. In GPMC, Group Policy Results shows actual settings, while Group Policy Modeling simulates a rollout.

Illustration of an HTML Group Policy Results report listing applied GPOs and the winning wallpaper setting.
The results report lists applied Group Policy Objects and the winning wallpaper policy setting.

If the policy does not apply

  • Check that the user is in the linked OU and the link is enabled.
  • Confirm User Configuration is enabled and filtering grants Read and Apply permissions.
  • Review inheritance and link order for conflicts; see Microsoft’s processing guidance.
  • Verify users can read the UNC image. For other failures, inspect the Group Policy Operational log and follow Microsoft’s troubleshooting checklist.

After the pilot works, expand the GPO link or security filter deliberately and verify the next user group with the same checks.

Leave a Comment

How to Set Up an Email Signature in Outlook.com

How to Set Up an Email Signature in Outlook.com

Create a reusable Outlook.com email signature, choose when it appears automatically, and insert it manually when you need a different sign-off.

How to Open Command Prompt in Windows 11, 10, and Older Versions

How to Open Command Prompt in Windows 11, 10, and Older Versions

Open Command Prompt with Start search, Run, File Explorer, or Windows Terminal. See how to launch it as an administrator and find it on older PCs.

How to Host a Nextcloud Sync Server on Windows Server

How to Host a Nextcloud Sync Server on Windows Server

Set up a Nextcloud sync server on Windows Server with the AIO virtual machine, VirtualBox, bridged networking, domain, HTTPS, and backup guidance.

How to Create and Apply Group Policies in Windows Server

How to Create and Apply Group Policies in Windows Server

Learn how to create, link, configure, and verify a Windows Server Group Policy Object with a pilot OU, a wallpaper example, and troubleshooting checks.

Windows 7 System Maintenance Tools: What to Use and When

Windows 7 System Maintenance Tools: What to Use and When

Learn how Windows 7 Disk Cleanup, Disk Defragmenter, System Restore, and built-in troubleshooters handle common maintenance tasks, with important safety limits.

12 Simple Ways to Improve Windows 7 Performance

12 Simple Ways to Improve Windows 7 Performance

Speed up a Windows 7 PC by finding bottlenecks, reducing startup load, clearing disk space, adjusting visual effects, and upgrading wisely.

How to Install Microsoft Configuration Manager (SCCM) on Windows Server

How to Install Microsoft Configuration Manager (SCCM) on Windows Server

Set up Configuration Manager as a standalone primary site with supported Windows Server, SQL Server, evaluation media, and current setup prerequisites.

How to Set Up a GitLab Server on Windows Server with Hyper-V

How to Set Up a GitLab Server on Windows Server with Hyper-V

Host GitLab Self-Managed on Windows Server by running Ubuntu Server in Hyper-V, then configure its network, HTTPS address, first login, and backups.

How to Install Abyss Web Server on Windows Server

How to Install Abyss Web Server on Windows Server

Install Abyss Web Server X1 on Windows Server, create the console login, publish a test page, and configure the service to start at boot.

Installing and Configuring SharePoint Server on Windows Server

Installing and Configuring SharePoint Server on Windows Server

Install SharePoint Server Subscription Edition on Windows Server with current hardware, SQL, prerequisite, setup, and farm-configuration guidance.