Windows 2019
Sponsored Link

Initial Settings : Change Computer Name2019/02/04

 
The Computer Name is assigned automatically by default, so change it.
On CUI configuration, set like follows.
[1] Run PowerShell with Admin Privilege and Configure like follows.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

# for example, change Computer Name to [RX-7]
PS C:\Users\Administrator> Rename-Computer -NewName RX-7 -Force -PassThru 

HasSucceeded OldComputerName           NewComputerName
------------ ---------------           ---------------
True         RX-7                      RX-9
WARNING: The changes will take effect after you restart the computer RX-7.

# for example, change Primary DNS Suffix to [srv.world]
PS C:\Users\Administrator> Set-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\" –Name "NV Domain" –Value "srv.world" -PassThru 

NV Domain    : srv.world
PSPath       : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip
PSChildName  : Parameters
PSDrive      : HKLM
PSProvider   : Microsoft.PowerShell.Core\Registry

# restart Computer to apply changes
PS C:\Users\Administrator> Restart-Computer -Force 

# verify
PS C:\Users\Administrator> (ipconfig /all)[0..9] 

Windows IP Configuration

   Host Name . . . . . . . . . . . . : RX-7
   Primary Dns Suffix  . . . . . . . : srv.world
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : srv.world
Initial Settings : Change Computer Name (GUI)
 
On GUI configuration, set like follows.
[2] Run [Server Manager] and select [Local Server] on the left pane and click [Computer Name] section on the right pane.
[3] Move to [Computer Name] tab and click [Change] button.
[4] Input any Computer Name you like in [Computer Name] field and next, click [More...] button.
[5] Input Domain name this Computer is in.
[6] Restarting Computer is required for applying changes.
[7] Computer Name is changed normally.
Matched Content