Download BGInfo from https://technet.microsoft.com/en-us/sysinternals/bb897557.aspx
Once the download is completed and extracted there will be two files.
By opening Bginfo.exe, the Default configuration will open.
If we use the default IP Address field here in some cases we might end with a result of couple (none) fields.
In order to fix that we’ll have to create a new Custom Field.
On the right side click on Custom and click on New
Type an identifier name that is different from “IP Address” as there is already one with that name.
“IP Address” or “IP_Address” will do the trick here. Click on WMI Query and then Browse.
From the drop-down menu of WMI Class select Win32_NetworkAdapterConfiguration, Class Property: IPAddress
In order to remove the (null) entries add the following to the WMI query:
If you are creating a configuration file for virtual machines is good to have the host name.
Identifier: VM Host
Select Registry value and check 64-bit registry view
For Path type:
Depends on what exact information you need on the screen edit the defaults. Remember to use the new IP Address field that we’ve created instead of the built-in one.
Once you are ready click on File and Save As.
Type name and click on Save (the file should be in the same directory as bginfo.exe)
You should have three files now
Copy the files to:
If you have some issues with permissions you can login to your domain controller and copy the files in:
We are ready to configure the Group Policy.
Login to your Domain Controller and open Group Policy Management.
Create a new Group Policy Object and name it accordingly your standards.
Right-click on the newly created GPO and click Edit.
Navigate to Computer Configuration/Preferences/Windows Settings/Folders
Right-click and select New/Folder
For Path type C:\Bginfo
Click on Files and then right-click New/File
Source file(s): \\yourdomain\NETLOGON\Bginfo\Bginfo.exe
Destination File: C:\Bginfo\Bginfo.exe
We’ll create another file
Source file(s): \\yourdomain\NETLOGON\Bginfo\bg-vm.bgi
Destination File: C:\Bginfo\bg-vm.bgi
Click on Shortcuts and then right-click New/Shortcut
Target type: File System Object
Location: All Users StartUp
Target path: C:\BGInfo\bginfo.exe
Arguments: C:\BGInfo\bg-vm.bgi /SILENT /TIMER:0 /NOLICPROMPT
Close the Group Policy Management Editor
Link the Group Policy to your VMs location
After a while the folder structure and files will be populated on your virtual machines