Question: how to change computer name in windows server?
Answer: Type Sconfig and press Enter in the Command Prompt window to open Server Configuration.
Type 2 and press Enter to continue. Type the new computer name and press Enter to change the computer name.
Click Yes to restart the computer on Restart.