Loading...

Use BGInfo to identify details about a machine you are on

This is an awesome feature to identify which computer you are using quickly on the desktop. It’s great to deploy as an IT admin because it doesn’t interfere with the user’s wallpaper.

  1. Create a folder on a shared network drive that you will be pulling the script, config, and bginfo files from.
  2. Download and extract the bginfo files. https://docs.microsoft.com/en-us/sysinternals/downloads/bginfo
  3. Create a custom bginfo config that suits your environments needs by opening bginfo64.exe, make the changes you prefer and click File>save as. The file extension should be .bgi.
  4. Create a script file in the same shared network path you created with bginfo.exe in it. (bginfo.bat is a great name for it).

  5. Include the following in the script file (modify file names and paths as needed below):
    reg add HKU\.DEFAULT\Software\Sysinternals\BGInfo /v EulaAccepted /t REG_DWORD /d 1 /f

    \\servername.domain.com\Scripts\Bginfo64.exe \\servername.domain.com\Scripts\mycustomconfig-bg.bgi /TIMER:00 /nolicprompt
  6. Create or select the GPO that is applied to the machines/ users you wish to apply this feature to.
  7. Navigate to User Configuration> Policies> Windows Settings> Scripts> Logon
    1. Put in the location of the script. IE: \\servername.domain.com\Scripts\bginfo.bat
  8. Now when you log in to a User account that has this policy applied, the desktop background should be updated assuming you have selected that option when you set up the configuration.
  9. Use gpupdate /force if it doesn’t apply the first time. Remember, this is NOT dynamic. If you opt to have it show disk space on logon, it won’t be regularly updated until the account is signed off and back on.
  10. You may want to tweak some of these settings a bit. There are some potential side effects when doing it as shown here, but where we use this primarily for our techs and not so much our end users, there hasn’t been a need for it to be customized. An example is listed below which I believe is caused due to me switching screen sizes constantly when accessing this server.

Leave a Reply

error: