Thursday, September 26, 2013

How To Change SharePoint 2010 Central Admin URL

When you run Central Admin in a load balanced environment, you should update the references to the Central Admin URL on your farm servers. The easiest way to do it is to update the Alternate Access Mappings and updating the URL on the servers using Powershell:

Getting the current Central Admin URL from the registry:
1
$oldValue = Get-ItemProperty -Path "HKLM:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\" -Name CentralAdministrationURL | select CentralAdministrationURL

Setting the Central Admin new URL:
1
2
$CentralAdminURL = "http://[Central Admin URL]:[Port]/default.aspx"
Set-ItemProperty -Path "HKLM:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\" -Name CentralAdministrationURL -Value $CentralAdminURL

No comments:

Post a Comment