Overclock.net banner
1 - 15 of 15 Posts

chrismallia

· Registered
Joined
·
109 Posts
Discussion starter · #1 ·
Hi guys I am trying windows server r2 essentials and have a problem when I go to system change computer name the change button is greyed out so I can not change the server name. Anyone has a idea what can I do thanks
 
Make sure you're logged in as an admin. If you aren't, well... you'll need to be.
If for whatever reason you are logging in as a non-admin user but have access to admin credentials, try the following command in PowerShell:

Code:

Code:
Rename-Computer -NewName NEWSERVERNAMEHERE -LocalCredential currentservername\adminuser -Force -PassThru -Restart
 
Discussion starter · #6 ·
this is what I am getting

Rename-Computer : Fail to rename computer 'WIN-OUNDHRS2Q21' to 'SERVER' due to the following exception: Access
denied.
At line:1 char:1
+ Rename-Computer -NewName SERVER -LocalCredential currentservername\adminuser -Fo ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (WIN-OUNDHRS2Q21:String) [Rename-Computer], InvalidOperationEx
+ FullyQualifiedErrorId : FailToRenameComputer,Microsoft.PowerShell.Commands.RenameComputerCommand

HasSucceeded OldComputerName NewComputerName

False WIN-OUNDHRS2Q21 SERVER
 
Discussion starter · #9 ·
Quote:
Originally Posted by CAHOP240 View Post

If you're logged on as a domain user you won't be able to rename the computer. That error message you're getting points to you not being logged in as an administrator
Hi thanks for all your help the problem I am having is I cant seam to find administrator account to log on with it only gives me the domain user .
 
  • Rep+
Reactions: chrismallia
Discussion starter · #13 ·
To those talking about the local administrator account...let's remember that Essentials (once configured) is running Active Directory Domain Services, effectively making it a Domain Controller. Microsoft Domain Controllers do NOT have a normal local administrator account, but instead use a "local domain" account, found in the Builtin OU in your domain. The account is still called "Administrator" though.
 
  • Rep+
Reactions: Bearybear
1 - 15 of 15 Posts