Adding BGInfo to Logon/Locked Screen

email me

Imagine if a corporate user could know the IP address or name of their computer…just by locking their screen. That is what this will do.

It uses BGInfo from SysInternals and IrfanView by skiljan.

Note, I also created a separate installation package, which modifies the permissions on the BackgroundDefault.jpg (giving Users the ability to replace it).

objShell.Run "displayswitch /clone",0,true
objShell.Run "C:\logon\<strong>bginfo.exe</strong> /accepteula /iq c:\logon\dynamic.bgi /timer:0",0,true
objShell.Run "displayswitch /extend",0,true
objShell.Run "%comspec% /c c:\logon\<strong>i_view32.exe</strong> C:\logon\temp.bmp /convert=c:\logon\temp.jpg",0,true
objShell.Run "%comspec% /c copy /y /v c:\logon\temp.jpg C:\windows\system32\oobe\info\backgrounds\BackgroundDefault.jpg",0,true