
I would like help from the community to create a script to rename a computer for sysprep the following format example is below. The script to needs to have a predefined characters at the beginning followed by a prompt to user to add 1 character and the final step would be to append the PC serial number please see example. Computer Name: ABC?%SERIALNUMBER% The predefine character would be (WIN7L or WIN7D) at the beginning The user would be a prompt to enter the letter L or D (This is to determine WIN7=Laptop or WIN7D=Desktop) The final step would be to add computer serial number after the selection by the user. Patch 1 2 ita neverwinter night 2 items. Thank you I added MDT with WDS and use the customsettings.ini and found the setting to name the computer and it works in case anyone reads this please see below what I used in the settings. No need for scripting, MDT has the function you ask for builtin. Just use the following rules (customsettings.ini) [Settings] Priority=ByLaptopType,ByDesktopType,Default [Default] OSInstall=Y [ByLaptopType] Subsection=Laptop-%IsLaptop% [ByDesktopType] Subsection=Desktop-%IsDesktop% [Laptop-True] OSDComputerName=W7-L-%SerialNumber% [Desktop-True] OSDComputerName=W7-D-%SerialNumber% / Johan.