Windows OS Hub
  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux

 Windows OS Hub / Group Policies / How to Configure and Deploy Screensaver on Windows with Group Policy

December 8, 2023

How to Configure and Deploy Screensaver on Windows with Group Policy

You can enable and configure the same corporate screensaver on all computers in the Active Directory domain. In this post, we will show how to enable a slideshow screensaver with images containing information security rules for users.

Contents:
  • Enable and Configure Screensaver Settings on Windows
  • Deploy Screensaver Settings with Group Policy

Enable and Configure Screensaver Settings on Windows

The first thing you need to do is configure the screen saver settings on the reference Windows computer. Later, we will export the screensaver settings from this computer and apply them to other domain computers using a GPO.

We have prepared several JPG files with images that need to be shown to users on the screensaver. Go to the C:\Users\Public\Pictures folder (public profile files available to all users), create a folder ScreenSaver, and copy your screensaver JPG files to it.

Corporate screensaver images

Go to Settings -> Personalization -> Lock Screen (or run the command: ms-settings:lockscreen ) and click Screen Saver Settings.

Windows 10: Screen Saver Settings

Select Photos as your screensaver and click Settings (for quick access to the screen saver settings, run the command: control desk.cpl,,@screensaver ). Specify the path to the source folder containing your images. Configure photos screensaver source

The following section of the registry contains the screensaver settings HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows Photo Viewer\Slideshow\Screensaver. The path to the directory containing the images is specified in encrypted form (Base64) in the EncryptedPIDL registry parameter. Copy the value of the EncryptedPIDL parameter (this value will be used later when you create a GPO with the screensaver settings).

EncryptedPIDL parameter

Deploy Screensaver Settings with Group Policy

Copy JPG image files to a shared network folder that can be read by all users. You can use the SYSVOL directory on a domain controller to store image files (in this example \\woshub.loc\SYSVOL\woshub.loc\scripts\ScreenSaver UNC path is used ). Check that the Authenticated User group has read permissions on this folder.

Copy screensaver image files to shared folder

Now you must configure Group Policy to copy image files to users’ computers and enable Windows screensaver.

  1. Open the domain Group Policy management snap-in (gpmc.msc), create a new GPO and link it to the OU containing the target user accounts;
  2. Edit the GPO and navigate to User Configuration -> Preferences -> Windows Settings -> Folders. Create a new item: New -> Folder. Specify the value %Public%\Pictures\ScreenSaver (this GPP item will create the ScreenSaver folder in the public user profile); GPO: Create ScreenSaver folder
  3. Now go to the Files section and create a GPP rule that copies all files from \\woshub.loc\SYSVOL\woshub.loc\scripts\ScreenSaver\* to %Public%\Pictures\ScreenSaver . Use * in the source path to copy all files. Copy screensaver images to computers with Group Policy Preferences
  4. Then navigate to the Registry section and select New -> Registry item. Create a new registry parameter with the following settings:Hive: HKEY_CURRENT_USER
    Key path: SOFTWARE\Microsoft\Windows Photo Viewer\Slideshow\Screensaver
    Value name: EncryptedPIDL
    Value type: REG_SZ
    Value date: Copy the EncryptedPIDL parameter value from the reference computer. Apply EncryptedPIDL registry parameter via Group PolicyGo to the Common tab and enable the Remove the item when it is no longer applied option.

    Find out more about using the GPO to deploy registry settings to computers.
  5. Then navigate to User Configuration -> Policies -> Administrative Templates -> Control Panel -> Personalization. Enable the policy Force specific screen saver, and specify PhotoScreensaver.scr as its value (by default, Photoscreensaver.scr uses the C:\Users\Public\Pictures\Sample Pictures directory as the source of images for the slide show).GPO: Force specific screen saver
  6. Specify the computer idle time in seconds after which the screensaver automatically turns on in Screen Saver Timeout. To automatically lock and password-protect your computer screen, you can also enable the Password Protect Screen option. To lock the screen saver settings, select the Prevent changing screen saver option.

Close the Group Policy Management console and update the GPO settings on the client computers (gpupdate /force). Check that the corporate screen saver, which is in the form of a slide show of pictures, is activated when the computers are not in use.

Use the PowerShell command to view the screen saver settings for the current user:

Get-Wmiobject win32_desktop | where name -match $env:USERNAME

ScreenSaverActive : True
ScreenSaverSecure : False
ScreenSaverTimeout : 60

PowerShell: check screensaver settings

You can also use Group Policy to set the same desktop wallpaper and logon screen for all domain users.
7 comments
4
Facebook Twitter Google + Pinterest
Group PoliciesWindows 10Windows 11Windows Server 2019
previous post
Find The Cause of Windows Slow Boot with Process Monitor
next post
Scanning Windows Trusted Root CA for Suspicious Certificates

Related Reading

Fix: Slow Logins Caused by Long Group Policy...

January 16, 2025

How to Deploy Certificates to Computers Using Group...

February 27, 2024

Creating Desktop Shortcuts using Group Policy (GPO)

January 16, 2025

Managing Windows Update Settings with Group Policy

December 11, 2024

Using WMI Filter to Apply Group Policy to...

February 16, 2021

Managing Windows 10 Start Menu Layout and Taskbar...

November 19, 2019

Using WMI Filters to Target Group Policies in...

June 5, 2024

Set Desktop Wallpaper and Logon Screen Background via...

March 15, 2024

7 comments

badbanana January 22, 2019 - 1:56 pm

domain users are not allowed to create anything from C:\ so how would your script work?

Reply
admin January 25, 2019 - 4:47 pm

You can use another folder in the user’s profile, or create a specific folder on all domain computers using GPO/
Group Policy Preference (User Configuration -> Preferences -> Windows Settings -> Folders).
Through the GPO you can set NTFS permissions for this folder (Computer Configuration -> Policies -> Windows Settings -> Security Settings -> File System).

Reply
Ubuntu Man January 23, 2019 - 5:58 am

Great work thank you a lot.

Reply
Cjay January 29, 2019 - 10:19 am

Thanks.

I copied the reg file just exported to the server, and double click it to ‘merge’ it into the registry before going to the Registry wizard.

Reply
Amir Hossain June 26, 2019 - 5:59 am

I tried but couldnot work for me

Reply
Nags August 27, 2019 - 4:30 am

you are triggering task Job to copy screen saver images in C:\Screen . and force specific screen saver GPO PhotoScreensaver.scr takes images samples from User\Picture\sample picture. how does both statement relates ?

Reply
Mehmet SARI September 3, 2022 - 1:14 pm

First of all, many thanks for your guide.

I wanted to share my experience that I continued with a method that could be easier from the stage of creating a bat file.

I added the net use S /delete command in the bat file to delete the S drive mapping after the process.

Configuring Scheduled Task Item using Group Policy in your directory
I skipped the regedit steps from the title.

I combined all the photos in SCR format from the slideshow menu with the irfanview application.

I showed this file as the default screen saver by transferring the relevant SCR file to users’ local directories with a bat script.

Reply

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Map a Network Drive over SSH (SSHFS) in Windows

    May 13, 2025
  • Configure NTP Time Source for Active Directory Domain

    May 6, 2025
  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025
  • Load Drivers from WinPE or Recovery CMD

    March 26, 2025
  • How to Block Common (Weak) Passwords in Active Directory

    March 25, 2025
  • Fix: The referenced assembly could not be found error (0x80073701) on Windows

    March 17, 2025
  • Exclude a Specific User or Computer from Group Policy

    March 12, 2025
  • AD Domain Join: Computer Account Re-use Blocked

    March 11, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Fix: Slow Logins Caused by Long Group Policy Processing
  • Managing Windows Update Settings with Group Policy
  • Using WMI Filter to Apply Group Policy to IP Subnet
Footer Logo

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


Back To Top