Overclock.net › Forums › Specialty Builds › Servers › server 2012 r2 essentials can not change server name
New Posts  All Forums:Forum Nav:

server 2012 r2 essentials can not change server name

post #1 of 15
Thread Starter 
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
post #2 of 15
you can always use powershell or the "netdom renamecomputer" command line tool. Whenever a windows system acts bratty it's always a good idea to drop down to command line to do what you need.
post #3 of 15
Are you logged on as Administrator?
post #4 of 15
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:
Rename-Computer -NewName NEWSERVERNAMEHERE -LocalCredential currentservername\adminuser -Force -PassThru -Restart
post #5 of 15
Thread Starter 
Quote:
Originally Posted by unfbilly11 View Post

Are you logged on as Administrator?
IN CONTROL PANEL USERS Under my account user name I have DOMAIN
post #6 of 15
Thread Starter 
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
post #7 of 15
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
post #8 of 15
If you've added any roles you will likely need to properly configure them and reboot before you can change the computer name.
post #9 of 15
Thread Starter 
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 .
post #10 of 15
It's best to use netdom.exe to rename a domain controller. Assuming this Essentials box is your only server, then you only have one domain controller and it's recommended to add a second DC before doing this.

http://technet.microsoft.com/en-us/library/cc816601(v=ws.10).aspx
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Servers
Overclock.net › Forums › Specialty Builds › Servers › server 2012 r2 essentials can not change server name