GPO for setting a picture on the Microsoft login screen
π§© Option 1: Using Group Policy (Recommended for domain environments)
π Steps
- Open Group Policy Management (
gpmc.msc) - Create a new GPO (e.g., βCustom Lock Screen Imageβ) and link it to the desired OU
- Edit the GPO:
Computer Configuration
βββ Administrative Templates
βββ Control Panel
βββ Personalization
- Find and configure:
- Policy: Force a specific default lock screen image
- Set to: Enabled
- In the Image Path, enter a local path like: C:\Windows\Web\Screen\customlock.jpg
π Step 2: Deploy the Image File
Group Policy does NOT copy the image automaticallyβyou must deploy it.
Option A: Use Group Policy Preferences (File Copy)
Inside the same GPO:
Computer Configuration
βββ Preferences
βββ Windows Settings
βββ Files
- Action: Create
- Source file:
\\yourdomain\SYSVOL\yourdomain\scripts\customlock.jpg - Destination:
C:\Windows\Web\Screen\customlock.jpg
Option B: Use a Startup Script
Create a script like:
copy "\\yourdomain\SYSVOL\yourdomain\scripts\customlock.jpg" "C:\Windows\Web\Screen\customlock.jpg" /Y
Then assign it under:
Computer Configuration
βββ Policies
βββ Windows Settings
βββ Scripts (Startup)
π Important Notes
- Image must be:
- JPG format
- Accessible by SYSTEM account
- Recommended resolution:
- 1920Γ1080 or higher (e.g., 4K for scaling)
- Ensure permissions:
C:\Windows\Web\Screen\is readable by all users
β οΈ Windows Version Considerations
- This policy works on:
- Windows 10 Enterprise/Education
- Windows 11 Enterprise/Education
- On Pro editions, behavior may vary unless managed via MDM or registry
π§ͺ Optional: Registry Equivalent
If needed, the policy sets:
HKLM\SOFTWARE\Policies\Microsoft\Windows\Personalization
- Value:
LockScreenImage(REG_SZ) - Data:
C:\Windows\Web\Screen\customlock.jpg
β Testing
After applying:
gpupdate /force
Then lock the machine (Win + L) to verify.