Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@colonelpopcorn
Created June 4, 2016 22:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colonelpopcorn/334e37af4dab836f704cc63fa830f05f to your computer and use it in GitHub Desktop.
Save colonelpopcorn/334e37af4dab836f704cc63fa830f05f to your computer and use it in GitHub Desktop.
Command script to change login screen background on Windows 7
@echo off
SET SOURCE=%~dp0%
SET DESTINATION=C:\Windows\System32\oobe\info\backgrounds
REG ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background /f /v OEMBackground /t REG_DWord /d 0x00000001
IF NOT EXIST "%DESTINATION%" MKDIR "%DESTINATION%"
copy %SOURCE%\backgroundDefault.jpg %DESTINATION%
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment