SharePoint Central Administration site got deleted from IIS accidentally! It may happen due to file system got
corruption errors. No worries, We can Re-provision SharePoint Central admin site! Lets provision SharePoint central administration site using PowerShell.
PowerShell Script to provision SharePoint Central Admin:
Open the "SharePoint 2010 Management Shell" and enter:
For SharePoint 2007, Use PSConfig to Re-Provision Central Administration site:
In case of MOSS 2007, Use Psconfig.exe as:
psconfig.exe -cmd adminvs -provision -port 2010 -windowsauthprovider OnlyUseNTLM
All done, we are back to business.
PowerShell Script to provision SharePoint Central Admin:
Open the "SharePoint 2010 Management Shell" and enter:
New-SPCentralAdministration -Port 2010 -WindowsAuthProvider "NTLM"This will Re-provision Central Administration site.
For SharePoint 2007, Use PSConfig to Re-Provision Central Administration site:
In case of MOSS 2007, Use Psconfig.exe as:
psconfig.exe -cmd adminvs -provision -port 2010 -windowsauthprovider OnlyUseNTLM
All done, we are back to business.