Quantcast
Channel: Microsoft Deployment Toolkit forum
Viewing all articles
Browse latest Browse all 11297

Computer naming

$
0
0

Hi

I'm quite new to MDT (and for that matter WDS) and I've having two distinct issues. 

The first revolves around the Computername or OSDComputername.

If I prompt for a computername prior to installation I can set what I want, eg 1234 and this will be used in the logging written back to the MDT logs folder. However when the machine is imaged it seems to come back with a random computername, of Desktop-xxxxx. So I'm wondering what is missing in the process?

What I'd really like however is a custom prompt to input the asset tag number and then build the Computer name from that, for example, out convention should be if a Desktop, DT+asset tag and if a laptop LT+asset tag. For example I use LT1345. 

Is there anyway of creating a custom prompt and then appending that to a prefix based on device type? I found some suggestion online using the code (extracts) below but it doesn't seem to work for me.

[Settings]
Priority=ByLaptop,ByDesktop,Default

[ByLaptop]
SubSection=Laptop-%Laptop%
ComputerType=LT

[ByDesktop]
SubSection=Desktop-%Desktop%
ComputerType=DT

[Default]

OSDComputername=%ComputerType%

As above though, this is only part of what I'd really like it to look like.


Viewing all articles
Browse latest Browse all 11297

Trending Articles