SharePoint 2010: Command Line Configuration
PSConfig –cmd ConfigdDB– This step is required if you run the configuration first. In my case, I had not to run this command as the first step of the configuration was successful by the Configuration Wizard.
PSConfig –cmd helpcollections –installall – This step installs help collections.
PSConfig –cmd secureresources – Secures the following SharePoint resources:
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Office Server\14.0\Load Balancer Settings' of type 'RegKey' by granting security group 'Local Service' 'Read' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Web Services' of type 'Directory' by granting security group 'Users' 'Read, Execute' permissions.
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Office Server\14.0\Load Balancer Settings' of type 'RegKey' by granting security group 'WSS_WPG' 'Read, Write' permissions.
- 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0' of type 'RegKey' by granting security group 'Network Service' 'Full Control' permissions.
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Office Server\14.0\Launcher Settings' of type 'RegKey' by granting security group 'Local System' 'Read' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\ of type 'Directory' by granting security group 'WSS_WPG' 'Read, Execute' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Data\Visio Server\ of type 'Directory' by granting security group 'WSS_WPG' 'Read, Write' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Web Services\Root' of type 'Directory' by granting security group 'Network Service' Read, Execute' permissions.
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Diagnostics' of type 'RegKey' by granting security group 'WSS_WPG' 'Read, Write' permissions
- 'C:\Program Files\Microsoft Office Servers\14.0\Data\ of type 'Directory' by granting security group 'WSS_ADMIN_WPG' 'Full Control' permissions.
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Office Server\14.0\Diagnostics' of type 'RegKey' by granting security group 'WSS_WPG' 'Read, Write' permissions.
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Components To Register' of type 'RegKey' by granting security group 'Network Service' 'Read, Write' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Data\ of type 'Directory' by granting security group 'Network Service' 'Full Control' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Web Services' of type 'Directory' by granting security group 'WSS_WPG' 'Read' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Web Services\Shared\Excel Calculation Server' of type 'Directory' by granting security group 'Users' 'Read, Execute' permissions.
- 'HKEY_CLASSES_ROOT\APPID\35500004-0200-0000-0000-000000000000}' of type 'RegKey' by granting security group 'WSS_ADMIN_WPG' 'Full Control' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Logs\ of type 'Directory' by granting security group 'WSS_ADMIN_WPG' 'Full Control' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\ of type 'Directory' by granting security group 'Network Service' 'Full Control' permissions.
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\14.0\Search' of type 'RegKey' by granting security group 'WSS_ADMIN_WPG' 'Full Control' permissions.
- 'C:\Windows\System32\drivers\etc\HOSTS' of type 'File' by granting security group 'WSS_ADMIN_WPG' 'Read, Write' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Web Services' of type 'Directory' by granting security group 'Network Service' 'Read, Write'permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Bin\ of type 'Directory' by granting security group 'Local Service' 'Read, Execute' permissions.
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Office Server\14.0\Launcher Settings' of type 'RegKey' by granting security group 'WSS_ADMIN_WPG' 'Read, Write' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Logs\ of type 'Directory' by granting security group 'WSS_WPG' 'Read, Write' permissions.
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Office Server\14.0' of type 'RegKey' by granting security group 'RESTRICTED' 'Read' permissions.
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS\Components To Register' of type 'RegKey' by granting security group 'WSS_ADMIN_WPG' 'Read, Write' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Synchronization Service' of type 'Directory' by granting security group 'Network Service' 'Read, Write, Execute' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Bin\Convert\ of type 'Directory' by granting security group 'Users' 'Read, Execute' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Data\Office Server\ of type 'Directory' by granting security group 'WSS_ADMIN_WPG' 'Full Control' permissions.
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Office Server\14.0\Search' of type 'RegKey' by granting security group 'WSS_ADMIN_WPG' 'Full Control' permissions.
- 'HKEY_CLASSES_ROOT\APPID\0FF1CE14-0200-0000-0000-000000000000}' of type 'RegKey' by granting security group 'WSS_ADMIN_WPG' 'Full Control' permissions.
- 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Server Settings' of type 'RegKey' by granting security group 'WSS_ADMIN_WPG' 'Read, Write' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Logs\ of type 'Directory' by granting security group 'Network Service' 'Full Control' permissions.
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Office Server\14.0\Search\Setup' of type 'RegKey' by granting security group 'Network Service' 'Read' permissions.
- 'C:\Windows\Tasks' of type 'Directory' by granting security group 'WSS_ADMIN_WPG' 'Full Control' permissions.
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Office Server\14.0\Load Balancer Settings' of type 'RegKey' by granting security group 'WSS_ADMIN_WPG' 'Read, Write' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Bin\ of type 'Directory' by granting security group 'RESTRICTED' 'Read, Execute' permissions.
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Shared Tools\Web Server Extensions\14.0\Search' of type 'RegKey' by granting security group 'WSS_WPG' 'Read' permissions .
- 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0' of type 'RegKey' by granting security group 'WSS_WPG' 'Read' permissions.
- 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0' of type 'RegKey' by granting security group 'WSS_ADMIN_WPG' 'Read, Write' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Web Services' of type 'Directory' by granting security group 'WSS_ADMIN_WPG' 'Read, Write' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\ of type 'Directory' by granting security group 'WSS_ADMIN_WPG' 'Full Control' permissions.
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Office\14.0\Registration\90140000-110D-0000-1000-0000000FF1CE}' of type 'RegKey' by granting security group 'WSS_ADMIN_WPG' 'Read, Write' permissions.
- 'C:\Program Files\Microsoft Office Servers\14.0\Web Services\Shared\Access Data Server' of type 'Directory' by granting security group 'Users' 'Read, Execute' permissions.
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Office Server\14.0\Launcher Settings' of type 'RegKey' by granting security group 'WSS_WPG' 'Read, Write' permissions.
- 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server' of type 'RegKey' by granting security group 'WSS_ADMIN_WPG' 'Read' permissions.
- 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server' of type 'RegKey' by granting security group 'Network Service' 'Read' permissions.
PSConfig –cmd services –install– This command installs the following SharePoint Services:
- Access Services
- Excel Calculation Services.
- Forms Service.
- Secure Store Service.
- Microsoft SharePoint Server Diagnostics Service.
- SSP Job Control Service.
- User Profile Synchronization Service.
- SharePoint Server ASP.NET Session State Service.
- State Service.
- User Profile Service.
- Application Registry Service.
- Document Conversions Launcher Service.
- Document Conversions Load Balancer Service.
- Lotus Notes Connector.
- Search Administration Web Service.
- Search Query and Site Settings Service.
- SharePoint Server Search.
- Web Analytics Data Processing Service.
- Web Analytics Web Service.
- Visio Graphics Service.
- Word Automation Services.
- PerformancePoint Service.
- Claims to Windows Token Service.
- Microsoft SharePoint Foundation Diagnostics Service.
- Microsoft SharePoint Foundation Usage.
- Business Data Connectivity Service.
- Portal Service.
- SharePoint Foundation Search.
- Microsoft SharePoint Foundation Subscription Settings Service.
- Managed Metadata Web Service.
The service proxies also installed by this command are:
- Microsoft.Office.Access.Server.MossHost.AccessServerWebServiceProxy.
- Microsoft.Office.Excel.Server.MossHost.ExcelServerWebServiceProxy.
- Secure Store Service Proxy.Microsoft.Office.Server.Administration.StateServiceProxy.
- Microsoft.Office.Server.Administration.UserProfileServiceProxy.
- Microsoft.Office.Server.ApplicationRegistry.SharedService.ApplicationRegistryServiceProxy.
- Microsoft.Office.Server.Search.Administration.NotesWebServiceProxy.
- Search Service Application Proxy Collection.
- Microsoft.Office.Server.Search.Administration.SearchServiceProxy.
- Web Analytics Service Proxy.
- Microsoft.Office.Visio.Server.Administration.VisioGraphicsServiceProxy.
- Word Automation Services Proxy.
- PerformancePoint Service Proxy.
- Microsoft.SharePoint.Administration.SPUsageServiceProxy.
- Business Data Connectivity Service.
- Microsoft SharePoint Foundation Subscription Settings Service Proxy.
- Managed Metadata Web Service Proxy.
PSConfig –cmd installfeatures – This command installs the following SharePoint features (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\Features\)
- AccSrvRestrictedList\feature.xml.
- ExpirationWorkflow\Feature.xml.
- LegacyWorkflows\Feature.xml.
- OffWFCommon\Feature.xml.
- ReviewPublishingSPD\Feature.xml.\
- ReviewPublishingSPD1033\feature.xml.
- ReviewWorkflows\Feature.xml.
- ReviewWorkflowsSPD1033\feature.xml.
- SignaturesWorkflow\Feature.xml.
- SignaturesWorkflowSPD1033\feature.xml.
- TranslationWorkflow\Feature.xml.
- Workflows\Feature.xml.
- AccSrvMSysAso\feature.xml.
- AccSrvSolutionGallery\feature.xml.
- AccSrvSolutionGalleryStapler\feature.xml.
- AccSrvUserTemplate\feature.xml.
- AccSrvUSysAppLog\feature.xml.
- WAReports\feature.xml
PSConfig -cmd adminvs -port 8000 -windowsauthprovider onlyusentlm –provision – This step provisions the Central Administration Web application on the given port (8000).
PSConfig -cmd applicationcontent –install – This command copies all application data (resource files, Web application binaries, etc.) to the existing Web application directory).