Hello ! I though I would add a little bit of help here. We actually prompt the user for the machine name with the following script and then rename the computer directly in SQL:
!--------------------------------------------Prompting for computer name-------------
dim strNewName
strNewName = InputBox("Enter the new full Computer Name for this system: (this is required)")
if (strNewName <> "") then
' Set Connection = CreateObject("ADODB.Connection")
' Connection.Open "Provider=SQLOLEDB;Data Source=You SQL\Your SQL;Initial Catalog=Altiris database name;User ID=SQLUSERACCOUNT;Password=******;"
' Connection.Execute "UPDATE Inv_AeX_AC_Identification Set Name = '" & strNewName & "' Where Name = '%COMPNAME%'"
' Connection.Close
Wscript.Echo "Computer Name:::::" & strNewName & "/////"
Wscript.quit
end if
!------------------------------------------------------------------------------------
We also prompt for type of computer, ie, 1 - Enduser, 2 - Conference room, 3 - Monitor lab, 4 - Observatory at the same time we ask for the computer name saving the numeric response. Each type of 'computer' represents an OU in the AD structure. Build a system configuration for all OU's you wish to join a computer to, build a query to request a response from your computer in winpe to respond which task server its connected to. Based upon that response a condition will assign the computer to the image job closest to the machine and after its finished add the computer to the OU in the task servers region (in AD).
I understand this is a bit terse but, it should provide another idea of a framework you can build a centralized image job. This is for Deployment Solution 7.5, 7.6 not DS 6.9 .