Computer Information Displayed on Desktop

We are looking for a way to *neatly* display computer information (hostname and IP address) on the desktops of our 150+ users.  We are running Win2K and WinXP.  We are thinking of something along the lines of BGINFO's capabilities (see sysinternals site), plus we would like to be able to easily deploy it to all users through an msi or similar method.  (We are having difficulty deploying BGINFO as an msi.)  We would like users to have the ability to glance at their desktop and tell us what their computernames are so we can remotely access their PCs.  (We want to avoid physically tagging computers.)

Suggestions?  Anyone have a different solution to produce the same results?

Thanks a bunch!!!

Who is Participating?
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.

how about putting this into a batch file adn placing it on the users desktops

ipconfig /all


then if you are working with a user and ned thier IP have them click the batch file and read what comes up, and no need to purchase more software.
you might be able to use a vp script to get the information for you ..


-- start file getIP.vbs --

On Error Resume Next
strComputer = "client1"
Set objWMIService = GetObject("winmgmts:" _
 & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colNicConfigs = objWMIService.ExecQuery _
 ("SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled = True")
WScript.Echo VbCrLf & "Computer Name: " & strComputer
WScript.Echo " IP Addresses & Subnet Masks"
For Each objNicConfig In colNicConfigs
  WScript.Echo VbCrLf & "  Network Adapter " & objNicConfig.Index
  WScript.Echo "    " & objNicConfig.Description & VbCrLf
  WScript.Echo "    IP Address(es):"
  For Each strIPAddress In objNicConfig.IPAddress
    WScript.Echo "        " & strIPAddress
  WScript.Echo "    Subnet Mask(s):"
  For Each strIPSubnet In objNicConfig.IPSubnet
    WScript.Echo "        " & strIPSubnet

-- end file --

see if that works on your local machine to display the IP addresss of the computer..  then what you might be able to do i just have that run on the machine with the logon scripts, and it'll popup a window with the information..


questoni for you on this subject, could this be incorporated to run as an active desktop item instead of being in a window the user could close?
Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

i don't know if this would be possible to do, but if you run the above, and write the output to a html file, and then on the active desktop, display the html file ?  it s just a theory, and i'm not too good at VB code, so i wouldn't be able to help you there.  i just have a bunch of vbs scripts around here to help me do certain things with our network ..

We use this exact system at work.  We have group policy setup to copy the files over to the users' machines.  We use two login scripts (see below) the machine startup script copies both the bginfo.exe file and a config file over to the users machine.  The user login script runs bginfo with a command line switch to enable it.  You'll have to run bginfo locally and save the settings to generate the config file.

Machine startup script:
md c:\progra~1\bginfo
copy /y %0\..\bginfo.exe c:\progra~1\bginfo\bginfo.exe
copy /y %0\..\config.bgi c:\progra~1\bginfo\config.bgi

User login script:
c:\progra~1\bginfo\bginfo.exe /ic:\progra~1\bginfo\config.bgi /timer:0

bginfo.exe is the actual executable, no need to use an msi file to deploy it.

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
all u need is to change their desktops to an active desktop showing a webpage that displays there IP...

let me be clearer...
1. Open display properties
2. goto "desktop tab"
3. "customize desktop"
4. web tab
5. new
6. type the URL of a page that displays the user IP (eg.

I was just trying to make my idea clear, this is a bad implementation as it needs internet access and the IP displayed will be the proxy IP instead of the users IP

to do it in a clean way
u'll have to host a small ASP page that displays both the use IP and hostname in an elegant way

I'm sure u have someone able to write this 2 lines page and deploy it on the server

You'll be then able to change all users desktop to that page simply by changing the Group Policy from your domain... and again I'm sure your network admin is able to do this

This way u'll need to install nothing on their PCs :)
meade470Author Commented:
Hey, thanks for all of the responses.  Smallpygmy, what do these lines do?

copy /y %0\..\bginfo.exe c:\progra~1\bginfo\bginfo.exe
copy /y %0\..\config.bgi c:\progra~1\bginfo\config.bgi
meade470Author Commented:
BTW, what is config.bgi and where would I find it?
the config.bgi is the file generated when you run bginfo.exe and choose Save As...  you can call it anything you like.

The copy lines are there to copy the bginfo.exe and config file over to the target computer on startup (in case the files aren't there already.)  In our organisation the files are being copied over from the Domain Controller's sysvol folder but you could copy it from any computer on the network.  I'm not sure of the reason behind the %0\..\ part as the script is running from within the same folder as the files.  i'll check with the person who actually wrote the script tomorrow when i'm back at work.

you could also change the copy lines to:
copy /y \\server\share\bginfo.exe etc...

The two batch files in my last post are the actual ones that we use so i can testify that it does work for what you are attempting to do!
This should do the job - we use it and it's free:

Oops...sorry.  Completely missed that you knew about this in your post - my bad.

What difficulties are you seeing while trying to deploy?

Another method you can use is creating a ZAP file:;en-us;231747

ok, i've figured out why you need to put %0\..\   The %0 is a variable that holds the full UNC path to the batch file that you are running (in this case, the machine startup script) and the \..\ strips out the filename of the script and just leaves the UNC path to the folder that the files reside in.

In effect, the actual command to copy the bginfo.exe file looks like this (in my case anyway):
copy /y \\Domain Controller\SYSVOL\Domain Name\Policies\{B945D101-898E-42F9-9AEC-0425946A2A5C}\Machine\Scripts\Startup\bginfo.exe c:\progra~1\bginfo\bginfo.exe

All you have to do is create a new group policy, link the computer startup script and place the bginfo.exe and config.bgi file in to the correct folder for the policy and it should work ok.

how about this for being simple

place this ins the start up on each system

ipconfig /all >c:\systemip.html


this will at startup create a hml document on the c: drive or waht ever directory you specify, then configure active desktop to display this file...

simple and no need to buy anything
I made a small utility named DispCompInfo that does exactly what you need.
You can download it from my site  - (but it will be update only on monday)
If you need it sooner, please mail me and I'll reply with the utility.
meade470Author Commented:
These are all great comments.  I'll try to distribute the points evenly.  Thanks!
Btw, you don't deploy bginfo as an msi, you put the file on a share and fire it off with a GPO'd script...
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
Operating Systems

From novice to tech pro — start learning today.