Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
techsup1983

unattend.xml <ComputerName>*</ComputerName> question.

Recommended Posts

Hello.

I've noticed that in some of my deployments the auto computer name is in the format of company-324323

So it's taking the word 'company' from somewhere. At a guess it looks like below:

 

            <RegisteredOrganization>Company name</RegisteredOrganization>
            <RegisteredOwner>Company name</RegisteredOwner>

 

This isn't the same for all of my builds most of them deploy with the auto name of WINDOWS-23333 the number is always random.

At the moment I'm just using

<ComputerName>*</ComputerName>

My question is how do i configure the unattend.xml file to always prefix the auto computer name with 'Company'

Thanks.

Edited by techsup1983
  • Upvote 1

Share this post


Link to post
Share on other sites

Yes it will get it from either of those objects if you set it to *.

It should be the same for all Win7 OS.

Share this post


Link to post
Share on other sites

On some deployments it deploys as Windows, where in the unattend file should this value be set?

Also what I would like even better is for the computers serial number to be the computername, I do believe that this is possible but i've not yet found a guide. Research seems to point towards something called MySysprep can anyone help me with this?

thanks.

Share this post


Link to post
Share on other sites

RegisteredOwner seems to be available in any pass. The documentation doesn't say so you might need to experiment. If it were me, I'd first put it in Specialize.

IDK about Mysysprep. One way I know of people using the Serial number from SMBIOS is using a VBScript that runs on first boot. It would be nice if MS made it so someday you could read from SMBIOS and set things in the XML. I'm surprised we haven't seen this yet as many companies would certainly use it.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...