Solved

BGInfo not displaying correctly after Remote Connection

Posted on 2014-01-29
4
572 Views
Last Modified: 2014-03-28
I've configured bginfo with the settings I need for display.  I'm using it in Group Policy so that our domain users' desktops will display this information after logging in to our domain.

When I use Remote Desktop to reach our domain controller (where bginfo is configured), I receive the following in the bottom right corner:
                                                                                          IP Address:                10.18.xx.xx

                                                                                          Username:                 userone
                                                                                          OS Version:                Windows 7
                                                                                          IE Version:                  IE11

The blank line that follows the IP Address line is there because I've added a "script file" to eliminate the display of the IPv6 address.

When I use Remote Desktop to reach a client computer on the domain, I receive the following in the bottom right corner:
                                                                                          IP Address:                10.18.xx.xx
                                                                                          0.0.0.0

                                                                                          Username:                 usertwo
                                                                                          OS Version:                Windows XP
                                                                                          IE Version:                  IE8.0

Those zeroes and another blank line are minor distractions, but I'd sure like to make them go away.

Please advise.
0
Comment
Question by:baleman2
  • 3
4 Comments
 
LVL 6

Expert Comment

by:Ramakrishna Prabhu
ID: 39819965
Hi Baleman2,

Could you please attach the files you are using?
0
 

Author Comment

by:baleman2
ID: 39819992
Below is the bginfo.bat file that gets everything started.  Then entire command is on one line instead of two.

\\xxx.local\netlogon\Bginfo\bginfo.exe \\xxx.local\netlogon\bginfo\bginfo.bgi /timer:0 /nolicprompt

Below is the script file that keeps the IPv6 address from displaying onscreen.

strMsg = ""
strComputer = "."

Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set IPConfigSet = objWMIService.ExecQuery("Select IPAddress from Win32_NetworkAdapterConfiguration WHERE IPEnabled = 'True'")

For Each IPConfig in IPConfigSet
 If Not IsNull(IPConfig.IPAddress) Then
 For i = LBound(IPConfig.IPAddress) to UBound(IPConfig.IPAddress)
  If Not Instr(IPConfig.IPAddress(i), ":") > 0 Then
  strMsg = strMsg & IPConfig.IPAddress(i) & vbcrlf
  End If
 Next
 End If
Next

Echo strMsg

That's it.
0
 

Accepted Solution

by:
baleman2 earned 0 total points
ID: 39948668
I rebuilt the computer
0
 

Author Closing Comment

by:baleman2
ID: 39961046
No response from experts
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Replace Adobe Acrobat XI with what? 2 92
PDF to Word 25 136
Windows 10 Sysprep Issues 1 315
Burning ISO Win/Mac 21 51
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
This guide will walk you through the essential considerations and tech stack for building scalable websites. Know how to grow your business the smart way!
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now