Thursday, April 24, 2014

Add BGInfo to logon (Option#2)

Once you have the settings configured for your tastes, save the template by going to the File menu and clicking Save As.
SaveTemplate
The corresponding template can be saved anywhere but I just choose to store mine locally in the same location as the application.
In order to make BGInfo refresh the system information, you can create a batch file that launches on login.  To do this, open Notepad and type the following: “[Path to BGInfo App]\bginfo.exe” “[Path to template]\[TemplateName].bgi” /TIMER:0 /accepteula
The /TIMER:0 option forces the application to launch with the timer set to 0 seconds so the application GUI used earlier to configure the template never displays to the user.
The /accepteula flag prevents the user agreement splash screen from displaying during the first launch.
Save the new notepad file as a batch script.  I choose to just store this file in the same location as the application and template.



Local Computer Policy-->User Configuration-->Windows Settings-->Scripts(Logon/Logoff)-->Logon
I personally place my BGInfo directory in Windows\System32\BGInfo.

Here is what the bat file looks like:
C:\windows\system32\bginfo\bginfo.exe /ic:\windows\system32\BGInfo\logon.bgi /timer:0

No comments:

Post a Comment