Description
From the June 2022 release to the March 2023 release, the Windows 10 hostname will be the default randomized/generated one by Windows, usually something like “DESKTOP-XXXXXXX” instead of the serial number, which either “ERXXXXXXXX” or “CCPXXXXXXXX”. The fix is planned for the March release of 2023.
This issue affects images for the following release cycles:
June ’22
Sept ’22
Dec ’22
Production begins shipping with the new image about a month after the initial release. So this issue effects machines built between July 15th 2022 through April 14th of 2023.
This only affects/affected Windows 10 and not Windows Server.
Solution
There are several ways to update the hostname in Windows. Below are steps to change the hostname using Powershell.
- Open Start menu.
- Type Powershell, then right-click on Windows Powershell and select Run as administrator.
- Locate the Serial Number of your machine using the sticker on the side, then type the following to update the hostname (replacing <SerialNumber> with your actual Serial Number):
Rename-Computer -NewName "<SerialNumber>"
- Type the following to restart the machine:
Restart-Computer