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:
- It will not work if user already change image (it changes default images)
- It changes file acl on system files.
Is there any othe way to do it? May be any commend-line utility?