Solved

BGInfo not displaying correctly after Remote Connection

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ERD Visio 2010 Drawing - Table Relationships 4 117
Need job search tool for follow-ups 6 95
Transferring files to iPhone 3 55
Map software access 4 30
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
The viewer will learn common shortcuts with easy ways to remember them. The viewer will then learn where to find all of the keyboard shortcuts, how to create/change them, and how to speed up their workflow.

770 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