We help IT Professionals succeed at work.

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: https://technet.microsoft.com/en-us/library/bb897557.aspx

Thanks
Comment
Watch Question

Distinguished Expert 2019
Commented:
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

Author

Commented:
ok, so in thiscase, I select one of the the Domain Controller SYSVOL directory and then create a sub directory called BGInfo

\\DOMAIN.com\SYSVOL\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 ?
Distinguished Expert 2019
Commented:
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

Author

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 ?
Distinguished Expert 2019
Commented:
there are many different flavours of remote desktop (VDI)
session based
session based with user profile disks http://virtualization.vanbragt.net/index.php/articles/general-articles/rds-user-profile-disk
and user personal desktops

Author

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 \\domain.com\SYSVOL directory ?
Distinguished Expert 2019
Commented:
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

Author

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 ?

Author

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 ?
Systems Administrator
Commented:
Guys

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
 exit


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.

Author

Commented:
Thanks !