Quantcast
Channel: Sysinternals Forums
Viewing all articles
Browse latest Browse all 10386

BgInfo : Logon Wallpaper refresh

$
0
0
Author: BKeadle
Subject: Logon Wallpaper refresh
Posted: 14 January 2014 at 10:59pm

Here's the section in my bginfo.cmd doing the magic:
:LOGON
 copy %windir%\system32\oobe\info\backgrounds\VOPBackground.bmp  C:\Windows\system32\oobe\info\backgrounds\backgroundDefault.bmp /y
 %~dp0bginfo.exe /i%~dp0bginfo-logon.bgi /timer:0 /accepteula /log:%~DP0\LOGS\BGInfo.log
 %~dp0i_view32.exe C:\Windows\system32\oobe\info\backgrounds\backgroundDefault.bmp  /convert=C:\Windows\system32\oobe\info\backgrounds\backgroundDefault.jpg
 %windir%\system32\reg.exe add HKLM\Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background /v OEMBackground /t REG_DWORD /d 1 /f
 if /i "%userprofile%"=="%windir%\system32\config\systemprofile" (
 REM restart of logonui.exe is handled by ZCM
 REM taskkill /im:logonui.exe /f
 REM start "" logonui.exe
 )
 goto :EOF
 
Hopefully the above snippet will give you what you need.  If not, and need more detail about my solution, PM me your email address, and I send you my internal technical documentation about the solution.
 

Viewing all articles
Browse latest Browse all 10386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>