banner



How To Display Ip Address On Desktop Background

If yous manage a large number of servers or workstations running Windows, sometimes it is useful to brandish bones data almost the operating system and environs right on the Windows desktop. It will be specially convenient for your users if they connect the support and have to tell their IP or MAC accost, computer or domain proper noun, Windows version, memory size, CPU type, etc. So they merely need to look at their desktop. To bear witness data about the operating system, hardware, and software environment on the desktop, nosotros will apply the BgInfo tool past Microsoft.

BgInfo allows to overlay text information over the user's desktop wallpaper and replace the current wallpaper image.

Contents:

  • Create a Bginfo Text Template to Display on the Desktop
  • Deploying BgInfo Config File to Workstations/Servers via GPO
  • Using VBS and PowerShell Scripts with BgInfo

Create a Bginfo Text Template to Display on the Desktop

First of all, you need to create a template file to be used past BgInfo to show information on a Windows desktop.

    1. Download the Bginfo (https://docs.microsoft.com/en-us/sysinternals/downloads/bginfo) and run the bginfo.exe;
    2. A default BgInfo configuration window appears. It contains a list of system information the tool displays by default;
    3. The BgInfo window is a simple text editor where you lot tin add, remove, or edit any of the displayed values, alter font colour or size, select the screen position where to show the info, add your logo, etc; bginfo default system fields
    4. The values of the variables that BgInfo gets from an operating system are shown in the <Host name> format;
    5. I have created the post-obit template displaying basic information about a computer and added support team contacts:
      Device Info: Estimator Proper name: <Host Name> Domain: <Car Domain> Logon DC: <Logon Server> Os Version: <Bone Version> User Proper name: <User Name> IP Address: <IP Address> Default Gateway: <Default Gateway> MAC Address: <MAC Address> System Info: Kick Time: <Boot Fourth dimension> CPU: <CPU> Memory: <Retentiveness> System Blazon: <System Type> ___________________________________ HelpDesk Team: +49-163-555-5555 helpdesk@woshub.com CRM Team: +49-163-555-5554 helpdesk_CRM@woshub.com

      create bginfo template file

    6. Save the configuration to bg_config.bgi file.

Deploying BgInfo Config File to Workstations/Servers via GPO

Then create a new GPO (domain Grouping Policy Object) to apply the BgInfo configuration file to all domain computers and/or servers.

Create a Bginfo folder in SYSVOL on your domain controller and copy the bg_config.bgi and Bginfo.exe files to it.

Create apply_bginfo.bat script in the aforementioned folder. This file volition be used to apply the BgInfo settings to a computer:

reg add HKEY_CURRENT_USER\Software\Sysinternals\BGInfo /v EulaAccepted /t REG_DWORD /d 1 /f
%logonserver%\NETLOGON\Bginfo\Bginfo.exe %logonserver%\NETLOGON\Bginfo\bg_config.bgi /silent /TIMER:00 /nolicprompt

batch script to apply bginfo settings

BgInfo copies the current desktop background to BGInfo.bmp to the user %Temp% directory and puts your text on top of information technology. Then the file is ready as the desktop wallpaper. However, if yous set user desktop wallpaper using a domain GPO, note that the BgInfo policy must be applied afterward the wallpaper one. If needed, change the GPO links order.

bginfo.bpm - user desktop wallpaper image

Using VBS and PowerShell Scripts with BgInfo

BgInfo allows displaying not only preset parameters, but also any other computer, application, or Active Directory properties using WMI queries, VBS, or PowerShell scripts.

To add custom values to BgInfo, click Custom -> New.

define new filed in bginfo

The tool allows to display:

  • A value of an environment variable
  • A registry parameter value
  • Results of a WMI query
  • A file version
  • A file contents
  • Run a VBS script file

BgInfo even has a congenital-in WMI Explorer. For instance, the following WMI query volition brandish an operating system build on your desktop (it is especially relevant for Windows 10):

SELECT BuildNumber FROM Win32_OperatingSystem

using wmi query in bginfo

The following VBS script will show computer model data on the desktop:

winmgt = "winmgmts:{impersonationLevel=impersonate}!//"
Prepare oWMI_Qeury_Result = GetObject(winmgt).InstancesOf("Win32_ComputerSystem")
For Each oItem In oWMI_Qeury_Result
Set oComputer = oItem
Next
If IsNull(oComputer.Model) And so
sComputerModel = "*no-name* model"
Else
If LCase(oComputer.Model) = "system product proper name" Then
sComputerModel = "Custom-congenital PC"
Else
sComputerModel = oComputer.Model
Stop If
Finish If
sComputer = Trim(sComputerModel)
Echo sComputer

bginfo -getting computer info via powershell script

Notation that the value you want to come across in BgInfo must be returned using Repeat past the VBS script.

Thus, using BgInfo you lot tin can display almost whatever data well-nigh a computer on the user desktop.

How To Display Ip Address On Desktop Background,

Source: http://woshub.com/bginfo-show-system-info-windows-desktop/

Posted by: alleynemage2002.blogspot.com

0 Response to "How To Display Ip Address On Desktop Background"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel