Adding hostname to the LogonUI screen
Not really a question, but since it seems most threads I've found on this are locked so here goes. We were looking for a way to display the machine hostname on the logon UI of our Windows 7 machines. I've seen threads of people trying to get this to work with BGinfo. What we ended up going with was using a command line driven image manipulation tool called ImageMagick that is completely free. You can place it on the PC as a stand-alone static application. Here are the steps we took to accomplish this. 1) Create a standard background image for the logon UI. 2) Create the folder structure info\backgrounds in Windows\system32\oobe and place your background there. 3) Create another copy of the image in the same folder and name it backgroundDefault.jpg 4) Enable the group policy of OEM background enforcement in Administrative Templates\system\logon\Always use custom logon background. 5) Copy the ImageMagick files to a directory on your computer. 6) Create a script to retrieve the hostname of the computer and pipe it into the ImageMagick convert command to overlay text on the standard background image with the hostname (or anything you want really) and save it as backgroundDefault.jpg. 7) Have this script run at logon by going to Group Policy and setting Policies\Windows Settings\Scripts\Startup to include your script. Note that you will need to use the 64 bit version of ImageMagick if you want this to run on 64 bit Windows as only 64 bit applications can interact with System32. We use this currently for hostname only, but essentially you can dynamically display any data you wish. Also since it's a stand-alone app there is nothing to register or install on the system.
September 28th, 2011 8:45am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics