Applying a Desktop Background GPO to a Domain
Active Directory, Group Policy Management, Group Policy Creation, File Shares
Contents
- Scenario
- Objectives
- Results
- 📄 Task 1: Create a file share that contains the desktop background
- 📄 Task 2: Verify that the file share is accessible
- 📄 Task 3: Create a Desktop Background GPO and link it to the domain
- 📄 Task 4: Configure the GPO
- 📄 Task 5: Update all group policy settings
- 📄 Task 6: Verify that the GPO is working as intended
Scenario
A group policy is a feature used to centrally manage and configure settings for users and computers within an AD domain. It enables administrators to enforce specific policies across the network, ensuring consistency and compliance. In this project, I will create a group policy that configures a desktop background consistently across all user workstations. This group policy will be linked to the domain so that it applies to all users within that domain.
I will be using the following desktop background:
Objectives
- Create a file share that contains the desktop background
- Verify that the file share is accessible
- Create a Desktop Background GPO and link it to the domain
- Configure the GPO
- Update all group policy settings
- Verify that the GPO is working as intended
Results
📄 Task 1: Create a file share that contains the desktop background
First, I create a file share that contains the desktop background image. This allows all workstations within the domain to access the image file from a centralized location. I create a folder named “Desktop Backgrounds” and I place the image file inside of it. To make it a file share, I right-click on the folder and select Properties > Sharing > Advanced Sharing. In Advanced Sharing, I check “Share this folder” and I name it “Desktop Backgrounds”.
I only want this file share to be accessible by authenticated users. To do this, in the Advanced Sharing panel, I press the Permissions button. I add the Authenticated Users group object and I make sure that it only has Read permissions.
📄 Task 2: Verify that the file share is accessible
I need to verify that the file share is accessible by authenticated users. To do this, I log in to a user’s account from another workstation. I open File Explorer and type in the UNC for the file share: \\ADUD01MARCDLC\
I can see that the file share is accessible.
📄 Task 3: Create a Desktop Background GPO and link it to the domain
In Server Manager, I navigate to Tools > Group Policy Management. I right-click the marcdlc.com domain to create a GPO and link it to the domain. This allows me to apply the GPO to all users in the marcdlc.com domain. I name it “Desktop Background”.
📄 Task 4: Configure the GPO
To set the specific policies in the Desktop Background GPO, I right-click it and select Edit. This brings up the Group Policy Management Editor. I navigate to User Configuration > Policies > Administrative Templates > Desktop > Desktop > Desktop Wallpaper. I right-click Desktop Wallpaper and select Edit.
In the Desktop Wallpaper settings, I make sure that Enabled is selected. Then, I enter the UNC for the desktop background image file: \\ADUD01MARCDLC\Desktop Backgrounds\bg_nature.jpg
📄 Task 5: Update all group policy settings
To update the group policy settings, I open a command prompt and use the command gpupdate /force
.
To verify that the GPO has been applied, I run the command gpresult /r
which outputs all of the applied GPOs. I see that the Desktop Background GPO appears under “Applied Group Policy Objects”.
📄 Task 6: Verify that the GPO is working as intended
I log in to another workstation to check if the desktop background has been changed.