Using BGInfo for already existing running server in AD domain with GPO ?

Hi Folks,

Can anyone here please suggest me what is the steps or trick to use BGInfo to display the current IP and Hostname on the desktop using Group Policy ?

I have approximately 60 Terminal Server running as Windows Server 2008 R2 and also some application server running as Windows Server 2012 & 2012 R2 all as VMware Virtual Machine.

Source of the Software:

LVL 10
Senior IT System EngineerIT ProfessionalAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
copy bginfo.exe to a network share that is available by all machines
create a logon script i.e.
\\server\share\bginfo.exe \\server\share\bginfo.bgi /accepteula  /timer:0

Assuming that you customized the info you want to display and saved it as bginfo.bgi
Senior IT System EngineerIT ProfessionalAuthor Commented:
ok, so in thiscase, I select one of the the Domain Controller SYSVOL directory and then create a sub directory called BGInfo


is that ok ?

what about the terminal server that is already running with 15 - 20 users connected into it?
do I have to reboot the server to make the script running to display the information on the desktop background ?
David Johnson, CD, MVPOwnerCommented:
it will only work on logon of the user so yes you will have to wait until each user logs on again.. you don't have to reboot the server
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

Senior IT System EngineerIT ProfessionalAuthor Commented:
ok, what about the other user desktop ?

so if one user already login to the server, does everyone get the same / updated desktop background with the information ?
David Johnson, CD, MVPOwnerCommented:
there are many different flavours of remote desktop (VDI)
session based
session based with user profile disks
and user personal desktops
Senior IT System EngineerIT ProfessionalAuthor Commented:
ok, so where in the GPO should I use the script to display the BGinfo on the desktop, is it on the Computer or User configuration ?

about the script and the BGInfo binary placement, shall I put it into one of the domain controller \\\SYSVOL directory ?
David Johnson, CD, MVPOwnerCommented:
i wouldn't put it into the sysvol folder, create a new share and put it there, and you use the user configuration. All users on a specific terminal server will have the same ip and computer information
Senior IT System EngineerIT ProfessionalAuthor Commented:
ok, do you mean one directory under SYSVOL with custom name such as BGInfo ?

since I have approximately 12 DC/GC can I just create that BGInfo directory in one of the domain controller and then let it replicate to other DC in various AD sites ?
Senior IT System EngineerIT ProfessionalAuthor Commented:
I've placed the BGInfo script folder into the NETLOGON folder so that I can use "\\%LOGONSERVER%\NETLOGON\BGinfo\startBGInfo.bat" command as the GPO Startup Script

but somehow after leaving it overnight, the files is not replicated across all of my Domain Controllers in different AD site ?
Thomas GrassiSystems AdministratorCommented:

Having similar problem but in my test stages on a Windows 2012 server bginfo will not run from command line only runs if you double click on it.

I found from MSDN developers kit bginfo64 but same results.

what does your startbginfo.bat look like I have a bginfo.cmd file myself

My bginfo.cmd
@echo off
c:\util\pstools\bginfo64 c:\util\bginfo.bgi /all /timer:0 /silent
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters

The second line is to clear the desktop so the bginfo info does not overlay the image.
that works most times.

But have not seen it work yet on Windows 2012 server.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Senior IT System EngineerIT ProfessionalAuthor Commented:
Thanks !
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.