Question: how to change host name in windows server 2012 r2?
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.