Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

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


  • Please log in to reply
4 replies to this topic

#1
techsup1983

techsup1983

    Newbie

  • Member
  • 31 posts
  • Joined 11-July 15
  • OS:Windows 7 x64
  • Country: Country Flag

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, 16 July 2015 - 02:13 AM.

  • joSefmi likes this


How to remove advertisement from MSFN

#2
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 10,065 posts
  • Joined 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Donator

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

It should be the same for all Win7 OS.

MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
tpxmsfn1_zps393339c1.jpg


#3
techsup1983

techsup1983

    Newbie

  • Member
  • 31 posts
  • Joined 11-July 15
  • OS:Windows 7 x64
  • Country: Country Flag

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.



#4
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 10,065 posts
  • Joined 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Donator

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.

MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
tpxmsfn1_zps393339c1.jpg


#5
swain90

swain90

    Newbie

  • Member
  • 25 posts
  • Joined 07-July 10
  • OS:Windows 7 x86
  • Country: Country Flag

This Microsoft link https://support.micr...en-us/kb/558124 may help you if you want to get the S/N, not quite sure you'd be able to incorporate it into the AutoUnattend.xml however nothing wrong with using PowerShell to rename the computer name?


Edited by swain90, 23 July 2015 - 06:16 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users