techsup1983 Posted July 16, 2015 Share Posted July 16, 2015 (edited) Hello.I've noticed that in some of my deployments the auto computer name is in the format of company-324323So 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 July 16, 2015 by techsup1983 Link to comment Share on other sites More sharing options...
Tripredacus Posted July 16, 2015 Share Posted July 16, 2015 Yes it will get it from either of those objects if you set it to *. It should be the same for all Win7 OS. Link to comment Share on other sites More sharing options...
techsup1983 Posted July 16, 2015 Author Share Posted July 16, 2015 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. Link to comment Share on other sites More sharing options...
Tripredacus Posted July 17, 2015 Share Posted July 17, 2015 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. Link to comment Share on other sites More sharing options...
swain90 Posted July 21, 2015 Share Posted July 21, 2015 (edited) This Microsoft link https://support.microsoft.com/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 July 23, 2015 by swain90 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now