Solved

BGInfo not displaying correctly after Remote Connection

Posted on 2014-01-29
4
589 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
All of the resources available today make learning a new digital media easier than ever-- if you know where to begin. This is a clear, simple guide to a few of the basic digital art mediums and how to begin learning them on your own.
The viewer will learn how to set up a document for the web and print and the recommended PPI for printing.
This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.

821 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