Share via


Prompt for computer name in Windows 10 unattend.xml

Question

Tuesday, January 26, 2016 2:12 PM

This isn't the first time this question was asked but none of the posts have delivered a definitive answer and I didn't want to resurrect dead posts.

Windows 7 and 8 allows us to setup our unattend.xml file to prompt for a computer name during OOBE.  This feature does not appear to be working in Windows 10. 

I've seen posters recommend switching to MDT\SCCM for deployment but that is not an option for me at this point.  Another solution was to use a script to prompt for the name on first login, but this isn't ideal.  It requires a reboot which adds an additional step to our deployment process and we have a larger deployment coming up...every click counts =(

Has anyone been able to setup their unattend.xml to prompt for a computer name PRIOR to first logon in Windows 10?  Or is this no longer a supported feature?

All replies (4)

Wednesday, January 27, 2016 8:38 AM âś…Answered

Hi Residualfail,

I think it is not available in Windows 10, as documented below:

Note  

In Windows 10, users can no longer enter a computer name during OOBE as the name is auto-generated. To set a default computer name pre-OOBE, OEMs can configure ComputerName in the Unattend.xml file and specify a name for the computer. After OOBE, end users can change this default computer name after OOBE by changing it in the System Properties page.

Reference:

https://msdn.microsoft.com/en-us/library/windows/hardware/dn922649%28v=vs.85%29.aspx?f=255&MSPPError=-2147217396

A thread for reference:

https://social.technet.microsoft.com/Forums/en-US/52f0b476-dc3e-43f2-a4c7-68b9cb009d94/computername-in-unattendxml-ignored-by-windows-10-version-10240?forum=win10itprosetup

Regards

Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].


Wednesday, January 27, 2016 10:08 AM

Another solution was to use a script to prompt for the name on first login, but this isn't ideal.  It requires a reboot which adds an additional step to our deployment process and we have a larger deployment coming up...every click counts =(

This may not help much, but is there any way in your environment that a script could calculate or obtain the name without having to prompt for it? That would allow that part of the process (and subsequent reboot) to complete automatically without waiting for a click.

In our case that required involvement with our supplier to include our asset number in the BIOS, but there may be other ways. e.g. if your supplier provides a list of MAC addresses before the machines arrive on site, you could have a file somewhere that lists a name for each MAC, and the PC just has to look itself up in the file.


Wednesday, January 27, 2016 2:48 PM

Thank you for this. It's unfortunate that they changed this but the first reference link you sent me tells me I should stop searching and move on.


Thursday, January 28, 2016 2:48 AM

Hi Residualfail,

Glad to help here.

Yes Microsoft changes a lot. And sometimes the related documents is not always published in time.

Regarding the changes, we may consider submit feedbacks through the feedback Tool.

Thank you for the understanding, and if more questions, please feel free to post back.

Regards

Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].