Now in server 2012 you can have multiple servers added to the Server Manager console, and can you install roles and features remotely on those servers. This is great, because you can work only with one management console and control all the environment.
To add remote 2012 servers to a Server Manager console just click Manage > Add Server; or right-click All Servers and choose Add Server. Either way has same results.
You need to use an account that has administrator access on the remote computers. Here I’m using the domain admin account.
Here we have three options to import those remote servers to the list from the right. If you go with the Active Directory option, type the name of the server in the Name box and press Find Now. Since I have a small environment here, I’ll just press the button and type no name in the box. The wizard will query Active Directory and populate the list with all the servers that are part of the domain. Select the servers you want to add to the Server Manager console and click the arrow.
The second option is to find those servers by their DNS names. Just type the server name in the Search box and press Enter, or click the magnifier icon.
The last option is to import the servers list from a .txt file. Just provide the file by clicking the button from the File box, then add the servers to the list on the right using the arrow button. When you’re done click OK.
Server Manager will query for those servers, and if everything looks good you should get an online status for them.
If you are logged on with a different account that has no admin rights on the remote servers you will get the message “Online – Access denied“. Is expected since the account that I’m logged in with is a simple domain user account that has no admin rights on the remote servers. To make this work select the servers from the list, right-click and choose Manage As.
Provide the proper credentials and click OK.
After refresh servers should be with an online status in Server Manager.
Everything worked great because the servers are in a domain environment, but what if you have servers not joined to a Windows domain ? If that’s the case, when you try to add them to Server Manager, you get a WinRM Negotiation authentication error. The exact error message is: “Error : Configuration refresh failed with the following error: The metadata failed to be retrieved from the server, due to the following error: The WinRM client cannot process the request. If the authentication scheme is different from Kerberos, or if the client computer is not joined to a domain, then HTTPS transport must be used or the destination machine must be added to the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. You can get more information about that by running the following command: winrm help config.”
To get around this issues the following PowerShell command:
Set-Item wsman:\localhost\Client\TrustedHosts -Concatenate -Force
Now go back in the Server Manager console, right-click the remote server name and choose Refresh. You should be good-to-go.
Want content like this delivered right to your