Users often benefit from quickly and easily locating their device's name, but physical lettering may not function universally. BGInfo (BgInfo - Windows Sysinternals | Microsoft Docs) is a well-known solution for this issue. However, I find BGInfo less optimal on work devices, especially when users can change the background image themselves. The picture or info display may be distorted based on the resolution or picture. I transitioned to the DesktopInfo program (Desktop Info – Glenn's Page (delahoy.com)), which I highly appreciate. With the right configuration, DesktopInfo displays the hostname on the wallpaper, and users can format the display as desired. Distributing the configuration for the Desktop Hostname through Intune is easily achievable.
Glenn has various examples of this on his homepage.
Distribution via Microsoft Intune
I created a Win32 package for the automated distribution:
|1. Open log
2. End existing DesktopInfo processes
3. Copy DesktopInfo.exe, hostname.ini and DesktopInfo.ps1 to the device
4. Create VBScript for program start
5. Create a scheduled task with the "Logon" trigger. --> Action: Start DesktopInfo with hostname.ini
6. Start the task
|Starts the EXE with the argument of hostname.ini
|Defines appearance of the PC name
|Image for Win32 Package
|Checks the installation using the EXE version
|Deletes the scheduled task and the local program data
For the logic of the Win32 app package I have my template as in the post "my take on win32 apps - Intune | scloud" described used.
Upload the intunewin file
- Upload the intunewin file to Apps> Windows> Windows Apps> Add
Für die Logik des Win32 App-Paketes habe ich meine Vorlage, wie im Post "my take on win32 apps - Intune | scloud" beschrieben verwendet.
Upload der intunewin-Datei
- Upload the intunewin file at Apps > Windows > Windows Apps > Add
- Select the install.intunwwin file and define at least the title and the publisher:
- Store installation and deinstallation commands as a system
|%SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -command .\install.ps1
|%SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -executionpolicy bypass -command .\uninstall.ps1
- Requirements 64bit and any Windows version.
- Detection rule, check.ps1
- We have no dependencies.
- Assign your win32 application and that it.
In conclusion, the article highlights the importance of quick device identification and suggests DesktopInfo as a versatile solution, especially in work environments where user-customizable backgrounds pose challenges for other tools like BGInfo. The author details the distribution process through Microsoft Intune, offering a Win32 package and step-by-step instructions. By leveraging DesktopInfo's customizable features and easy distribution via Intune, users can efficiently display their device's hostname on the wallpaper, enhancing the overall user experience. The provided scripts and detection rules contribute to a straightforward deployment process, making DesktopInfo a practical choice for managing device information in a corporate setting.