Windows 10 Pro lockscreen mass change


I'm search way to change lockscreen image on Windows 10 Pro amd64 workstations in domain.

I found than group policy option work only on Enterprise version at least in 1607 and 1703 releases.

Registry changes takes no effect.

Changes from PowerShell not posible bacause of SetImageFileAsync method requires async file operation which not implemented in PowerShell.

In github repo there solution with precompiled dll but this dll can't load on my OS with error:

Add-Type : Could not load file or assembly 'file:///C:\Users\kardash.CORP\Downloads\PoshWinRT.dll' or one of its depend encies. Operation is not supported. (Exception from HRESULT: 0x80131515) At line:1 char:1 + Add-Type -Path PoshWinRT.dll + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Add-Type], FileLoadException + FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell.Commands.AddTypeCommand

and I have no Visual Studio to compile this dll myself from sources.

Other solution has two problems:

  1. It will not work if user already change image (it changes default images)
  2. It changes file acl on system files.

Is there any othe way to do it? May be any commend-line utility?

asked on Super User Sep 29, 2017 by Slipeer • edited Sep 29, 2017 by Slipeer

1 Answer


I also went through all these paths trying to change LockScreen with Powershell script. Ran into the same obstacles as you described. Finally solved with Registry change by creating new key in path as described in blogpost:

Create new Registry key at: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curre‌​ntVersion\Personaliz‌​ationCSP. Then for this key create strings LockScreenImagePath, LockScreenImageUrl with data set to absolute path of your image. Then set a DWORD, name to LockScreenImageStatus, its value to 1.

Blogger's example PS Script on Onedrive:!AljjQEIEs7p2jWGOBHlScNgjX4-F Verified that it worked on my Windows 10 Pro version 1709

answered on Super User Dec 5, 2017 by Jomar Sevilla • edited Dec 5, 2017 by Jomar Sevilla

User contributions licensed under CC BY-SA 3.0