Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background]"OEMBackground"=dword:00000000
启用自定义登录背景
1
2
3
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background]"OEMBackground"=dword:00000001
@echo off
set"source=%~dp0backgroundDefault.webp"set"destination=C:\Windows\System32\oobe\info\backgrounds"ifnotexist"%source%"(echo"Error: %source% does not exist."pauseexit /b
)ifnotexist"%destination%"(mkdir"%destination%")xcopy /y /exclude:%~nx0"%source%""%destination%"echo"LEl_FENG BLOG.XPDBK.COM!"pause
bat脚本换回默认壁纸
1
2
3
4
5
6
7
8
9
10
@echo off
setfolder="C:\Windows\System32\oobe\info"ifexist%folder%(echo Deleting %folder%...
rmdir /s /q %folder%echo Folder deleted.
)else(echo%folder% does not exist.
)pause