Solved

BGInfo not displaying correctly after Remote Connection

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This article shows how to convert a multi-page PDF file into multiple image files, with one image file created for each page of the PDF. It does this by utilizing an excellent, free software package called GraphicsMagick. The solution is amazingly s…
In this article, you will read about the trends across the human resources departments for the upcoming year. Some of them include improving employee experience, adopting new technologies, using HR software to its full extent, and integrating artifi…
Video by: Tony
This video teaches viewers how to export a project from Adobe Premiere Pro and the various file types involved.
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.

758 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

19 Experts available now in Live!

Get 1:1 Help Now