Link to home
Create AccountLog in
Avatar of kalian31
kalian31

asked on

Need help with BgInfo scripting to display info on all server's desktop wallpaper in a Server 2003 domain environment.

I know how to use BgInfo, but was only successfully able to display it on the wallpaper when logged in locally to each server. However, when some other admin logs in locally, it does not display for that user. Also, when a different admin logs into the same server via RDP (Terminal Services), it does not display either unless they manually double click the .bgi file stored on c:\windows folder.

How do i write scripts or use group policy to apply BgInfo so that when anyone logs into any of my servers either locally or via RDP, they can see the system information on the desktop wallpaper?

Setup: Windows Server 2003 environment with 1 domain, and 10 servers with Terminal services enabled.

- BgInfo.exe saved in C:\Windows
- Bgtemplate.bgi saved in C:\Windows

Please explain step-by-step on either how to write scripts, place files in startup folder, or create and link GPO. Max point to anyone who can provide the best step-by-step procedure.
Avatar of Azeem Patel
Azeem Patel
Flag of Canada image

You could have used GP to apply for the domain users, but since your question says that you want to run the script when any one login either domain user or local user below is the option for you.

You will have to use regedit to configure the key to run when the windows logon takes place.
This is same as the applications are configured for startup, with below procedure you can configure logon key so when the user logins the key will run  the script which will give expected result.

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
http://msdn.microsoft.com/en-us/library/aa376977%28v=vs.85%29.aspx

Use - RUN key this is permanent.
do not use - RUNONCE as this will execute teh key only once.
ASKER CERTIFIED SOLUTION
Avatar of yehudaha
yehudaha
Flag of Israel image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of kalian31
kalian31

ASKER

This is exactly the answer and resources I've been looking for!