question

RobertVilhelmsen-9075 avatar image
0 Votes"
RobertVilhelmsen-9075 asked LimitlessTechnology-2700 answered

Batch job settings lockscreen picture causes black screen at logon

Hi,

I have GPO (user configuration) where a script is executed at logon to set the lockscreen picture on our Windows 10 PRO machines. It works - the lockscreen picture is set at the 1. logon. But at the following logons when the script is executed, i just get a black screen with a white mouse cursor.

Removing the script solves the issue, but any idea why the below script causes a black screen after the 1. logon?

@echo off

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP /v LockScreenImagePath /t REG_SZ /d "c:\windows\web\Screen\pic1.png" /f

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP /v LockScreenImageUrl /t REG_SZ /d "c:\windows\web\Screen\pic1.png" /f

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP /v LockScreenImageStatus /t REG_DWORD /d 1 /f


Regards
Robert

windows-group-policy
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello @RobertVilhelmsen-9075

We have a topic with a problem similar to his, I recommend that you consult it to better understand how to solve it, go to it on the link below:

https://social.technet.microsoft.com/Forums/en-us/1664b0ab-f1d8-4e60-8337-13f079a33752/windows-10-1803-custom-loginlock-screen-image-is-not-applied-until-a-user-logs-in?forum=win10itprosetup


--If the reply is helpful, please Upvote and Accept as answer--

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.