Skip to content

Instantly share code, notes, and snippets.

@russom-woldezghi
Last active December 12, 2015 01:48
Show Gist options
  • Save russom-woldezghi/4693212 to your computer and use it in GitHub Desktop.
Save russom-woldezghi/4693212 to your computer and use it in GitHub Desktop.
Save as a bat file and set BackgroundImageYouWantToUse to the location of the image you want to use.
@echo off
REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background /t REG_SZ /v OEMBackground /d 1 /f
mkdir %windir%\system32\oobe\info
mkdir %windir%\system32\oobe\info\backgrounds
copy C:\path\to\custombg %windir%\system32\oobe\info\backgrounds\backgroundDefault.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment