Question: how to change computer name in windows server 2012 r2?
Answer: From the Start Screen, click on Server Manager.
Server Manager will open, click on Local Server.
Click on the the current computer name.
System Properties will open. ... 
Type the new computer name and click on OK.
A dialog box will pop up informing you to restart your machine so that changes take effect. ... 
Click Restart Now.