Hello,
You put the * in the unattended file for the computername field so that the name is generated during installation.
Computername=*
Darrell
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
It is clear that there is an internal program/process in Windows to generate a random name to newly installed computers/servers.
Not wanting to reinvent the wheel, could someone tell me how to trigger that program/process again to make Win10 and/or Win11 regenerate a new random name please?
I do NOT want any PowerShell script or any long program. As I have written, I do NOT like to reinvent the wheel. There must be a command or a way to regenerate a new random computer name.
I have read the following documentation and seen the "asterisk" thing in the computer name:
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-vista/cc749460(v=ws.10)
But I have no idea where I'm supposed to put the asterisk (*). I have tried it in GUI, ie Settings > System > About > Rename this computer button. This do not work.
I have tried in PowerShell command:
Rename-Computer "" -Restart
and
Rename-Computer "*" -Restart
None of them works.
So, I'm pretty clueless.
Thanks in advance to anyone who could shed light on this "mystery".
Hello,
You put the * in the unattended file for the computername field so that the name is generated during installation.
Computername=*
Darrell