Share via


Force a specific default lock screen and logon image/ Batch/PowerShell

Question

Sunday, February 25, 2018 8:17 AM

So where I work, I am trying to educate end users on where to take defective devices. In doing so I have created a custom background and am manually going into Edit Group Policy to edit "Force a specific default lock screen and logon image." I have over over 2000 devices in this facility and only about 150 need this change enforced. So a mass group policy change is not on the table.

Is it possible to create a batch file or powershell file that could simplify this task by simply running as admin? If so please point me into the right direction!! I'm new to AD/SCCM/PowerShell so I'd like to learn (if possible) how to create a file doing this request. It would also help me learn how to simplify other daily tasks my colleagues and I undertake. Thanks in advance! 

All replies (2)

Monday, February 26, 2018 2:20 AM

In fact, your GPO method is ok, just need to create a specific OU that including those 150 machines, apply Force a specific default lock screen and logon image policy to this OU, other devices will not be influenced.

On the other hand, I find out these two cases, using script method, but seems to be a little complex.

1.Replacing default wallpaper in Windows 10 using Script/MDT/SCCM

http://ccmexec.com/2015/08/replacing-default-wallpaper-in-windows-10-using-scriptmdtsccm/

2. Powershell to set Windows 10 Lockscreen

https://www.reddit.com/r/PowerShell/comments/5fglby/powershell_to_set_windows_10_lockscreen/

Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

Regards

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Friday, March 2, 2018 8:30 AM

Would you mind letting me know the update of the problem? If you need further assistance, feel free to let me know. 

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].