Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a Windows 7 image which I intend to deploy across a business. For simplicity I intend to install BGInfo on each machine and have it update each time a user logs in. From what I can see, when BGInfo creates a configuration file, the file contains variables which are local to each account - and therefore the configuration file will only work on the user account that created it.

Has anyone any idea as to how make these configuration files 'generic' so that BGInfo will work for all accounts when they log in? At present I have the BGInfor application and a BGInfo configuration file saved on the C drive and I have written a batch file which is stored in the 'All Users/Start Menu/Startup' directory (which executes every time any user on the computer logs in), however this only works for the account which created the configuration file.

share|improve this question
Some reason you can't execute via login script? –  SpacemanSpiff Nov 24 '12 at 17:23
Thanks for your response @SpacemanSpiff - I've actually figured out how to do it. Will post answer when I can. –  slickboy Nov 24 '12 at 18:05
Should be pretty easy to do this with a batch in Default User to generate/edit the config at first login. I don't have a test system handy two write this at the moment though. How did you end up solving it? –  Nathan V Nov 29 '12 at 3:58

1 Answer 1

up vote 4 down vote accepted

Yes, this can be done. Just don't use a batch, use the Run key in the registry. Install BGInfo to either program files or windows and keep the bgi file in there as well.

We did this for our images at the last company I worked for and it was great, we would have the corporate approved wallpaper stamped with logon time, IP, hostname, all that good info everytime a user logged in. We just added a run entry in the registry. Users were free to change their wallpaper, but after every login it restamped it, the users all just eventually gave up.

Try adding it in your image. You may also get away with mounting the image, adding the .exe and bgi file and mounting the registry and adding it to HKLM\Software\Microsoft\Windows\CurrentVersion\Run

Use the syntax below for reference.

"C:\Program Files\BGInfo\Custom.bgi /timer:0 /silent /nolicprompt"

If you're using MDT (which I highly recomend) Johan Arwidmark over at deployment research has a glorious script he wrote that will do this as part of his Hydration Kit, it's called Install-BGInfo.wsf.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.