SCCM 2012 – Cutomizing Windows lock screen

SCCM 2012 – Cutomizing Windows lock screen

Hi All,

today i’ll talk about how to customize the Windows Lock Screen as well as the user/guest picture via OS Deployment (read as Task Sequence)

it is really easy. the way i do is always copy the files i need to have on the client machine after the apply os and before the setup windows using robocopy. if you want to know how to do this, check my post about robocopy and task sequence here

anyway, the problem is simple, which file and copy where…

there are 4 files responsible for the user picture as well as picture. yes, that picture you see when you log on to a machine while typing your username/password.

These files (user.bmp, user.png, guest.bmp and guest.png) should be put under c:\ProgramData\Microsoft\User Account Pictures

See here for more information

Now that you customized the icon, this is what you’ll see when trying to log on to a machine
Windows 7 machine:

Windows 8/Windows 8.1:

Great…now the background…
copy a file called backgroundDefault.jpg to c:\Windows\System32\oobe\info\backgrounds

but do i need to do anything else? the answer is yes, you need to change couple of registry keys (or GPO, but will talk about doing the registry key) during the task sequence, but after you run the setup windows step. i normally put these customizations at the end of my task sequence.

For windows 7
reg.exe add “HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background” /v OEMBackground /d 1 /t REG_DWORD /f
More info about the OEMBackground see here

For windows 8
reg.exe add “HKLM\Software\Policies\Microsoft\Windows\Personalization” /v LockScreenImage /d “c:\System32\oobe\info\backgrounds\backgroundDefault.jpg” /t REG_SZ /f
reg.exe add “HKLM\Software\Policies\Microsoft\Windows\Personalization” /v NoChangingLockScreen /d 0 /t REG_DWORD /f
More info here

Note: if you don’t want people to change the wallpaper, change the NoChangingLockScreen to 1 instead of Zero

once you hae this, the next time you boot the machine you’ll see
Windows 7

Windows 8


Raphael is a 9 times Microsoft MVP with over 20 years of experience in IT, in which 13 years have been dedicated to System Center and Automation. His extended experience has been developed through several IT roles, from first-line support to principal consultant, towards a wide range of clients and sectors. One of the four MVPs in Enterprise Client Management in the UK, Raphael holds more than 30 Microsoft certifications and is an MCT (Microsoft Certified Trainer). Since 2008, Raphael has been providing Microsoft trainings from basic to advanced levels in several categories. Throughout his career, Raphael has joined as speaker in well-known events such as TechEd and Gartner Security Risk Management. He also organised community events and lectured around the world, sharing best practices and knowledge within the industry. Bilingual in English and Portuguese, Raphael has authored diverse articles published in Microsoft's TechEd, served as the editor-in-chief of a magazine focused on System Center in Brazil and wrote two books: "Understanding System Center 2012 SP1 Configuration Manager: The walkthrough book" and "System Center 2012 R2 Configuration Manager: Automation from Zero to Hero".

Tagged with: , , , , , , ,