Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

BGInfo not displaying correctly after Remote Connection

Posted on 2014-01-29
4
Medium Priority
?
678 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Web hosting control panels were first developed to make it faster and easier for most users to set up and operate websites. The graphical user interface (GUI) allows users to perform tasks by pointing and clicking rather than typing highly specific…
There can be many situations demanding the conversion of Outlook OST files to PST format and as such, there is no shortage of automated tools to perform this conversion. However, what makes Stellar OST to PST converter stand above the rest? Let us e…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

782 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