Created
November 16, 2012 19:02
-
-
Save Ruzzz/4089925 to your computer and use it in GitHub Desktop.
Windows OEM Logon Background Enable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM run as admin, picture must be JPEG, picture size must be not more than 256KB | |
REM SET img_path=%1 or SET img_path="path to jpg" or | |
SET img_path=%~dp0background.jpg | |
SET bg_path=%SystemRoot%\system32\oobe\info\backgrounds | |
MD %bg_path% | |
COPY %img_path% %bg_path%\BackgroundDefault.jpg | |
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background" /v OEMBackground /t REG_DWORD /d 1 /f | |
REM Shadow of controls: 0 - transparent shadow, 1 - shadow, 2 - no shadow | |
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI" /v ButtonSet /t REG_DWORD /d 1 /f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment