Video Screencast Help
Symantec Secure Login will be live on Connect starting February 25. Get the details here.

WinPE Booted Computer - Change Hostname from MININT-RANDOM to Serial Number

Created: 12 Mar 2013 • Updated: 01 May 2013
jobby's picture
+2 2 Votes
Login to vote

By default in the Deployment Solution 7.x, if a computer is booted into WinPE for imaging, it generates a random MININT-RANDOM name and reports to the console that way.  This is supposed to be fixed in 7.5, and this was causing MANY issues that support failed to resolve (gave us workarounds, but a lot of them added at least 10 minutes to our imaging time).  I got tired of waiting for a fix, as its been promised since April 2012, so attached are a couple of files to change it to name to the client's serial number instead of a random naming.

1) Download the attached file ( below, and extract the two files within ("runagent.bat" and "sn.vbs") to the following directory on your Notification Server: (Just as a precaution, you may want to make a backup of the runagent.bat that is contained within these folders before overwriting)

c:\Program Files\Altiris\Altiris Agents\Agents\Deployment\Task Handler\bootwiz\oem\DS\winpe2\x86\Base


c:\Program Files\Altiris\Altiris Agents\Agents\Deployment\Task Handler\bootwiz\oem\DS\winpe2\x64\Base

2) Recreate your preboot environment: in the console, go to Settings > Deployment > Create Preboot Configurations.  Select the one you use and select "Recreate Preboot Environment".  Go to your NS, update the settings on the NS's agent, and open up Windows Task Manager to make sure bootwiz.exe starts.  Once it closes, your WinPE environment can be tested for success.


I had an issue where bootwiz didn't pick this up on the site servers, although it works on the notification server..  To get this to work on site servers, after bootwiz has run on the notification server, on your site server, go to \\[yourNS]\deployment\task handler\sbs\images\.  Find the folder that matches the name of the preboot environment that matches the one you created and go into that folder.  Go into the platform created (x64 or x86PC).  Go into the sources folder.  Copy boot.wim to the same path on the site server.