I believe there's two registry keys that organisations can enforce on their domain's computers, where the user is unable to change the lock screen image in Windows 10 and the image is set to a predefined one - each of these events is a key respectively.
Anyway, the way the predefined image is set is by placing it in the C:\Program Files\images\
directory. Usually the default is 1.jpg
in there; but it may change due to an event. National Recycling Week happened and that's what spurred me to create this automated application to automate the process I'd been already doing manually. The National Recycling Week lock screen image was put in C:\Program Files\images\
too, and its name was 7.jpg
.
See the Compatible Filetypes table in the Using section to see what we support.
I've made this project Open Source / Source-avaliable on GitHub here in case anyone else is interested or they suffer a similar limitation from their IT team.
The program asks you for two things: The old lock screen image (In my case, 1.jpg
or 7.jpg
); and the filename of the image to replace the lock screen with.
It then creates a Batch script because I'm more comfortable with Batch for filesystem interactions. (Java I find better for everything else!) It runs the Batch file afterwards, and does all of the file replacing. Wonderful! The lock screen should stay in the new state until a domain policy update and/or a system drain.
No dependencies. (Except Java!)
gh repo clone Toydotgame/LockScreenChanger
Git:
git clone https://github.com/Toydotgame/LockScreenChanger
cd LockScreenChanger
GUI.java
using Java:
java src/GUI.java
.JAR
.jar
file..jpg
file you'd like to set as your lock screen. (In the same folder).jar
.Enter the file information:
a) The name of the new background you want. (Make sure it's a .jpg
file!)
b) The JPEG filename of the image in C:\Program Files\images\
. (In my school's case: 1.jpg
or 7.jpg
.)
Name | Extension |
---|---|
PNG | .png |
JPEG | .jpg , .jpeg or .jfif |
Bitmap | .bmp |
TIFF | .tif or .tiff |
Command Prompt has been disabled by your administrator...
after I press Apply!
C:\Program Files\
, C:\Windows\
, or C:\ProgramData\
)If you have a different problem; please open a new issue in the Issues tab.