SharePoint 2010 Installation – Windows Pre-Requisites and Security Hardening


I was installing SharePoint 2010 on some new Windows 2008 R2 severs to create a new farm and I was having several problems installing the required Windows roles and features.

The error message was the same for several features:

<Feature>: Installation failed Error: Attempt to install <Feature> failed with error code 0x80070643. Fatal error during installation The following features were not installed: <Feature>.

I wasn’t finding an actual reason for this error message. After a while I tried to install one feature or role at a time to make sure I was understanding which features were failing. Checking the SharePoint 2010 pre reqs installer logs I was able to find the commands the installer executes:

“C:\Windows\system32\ServerManagerCmd.exe” -inputpath sp2010.windows.prereqs.xml

I was also able to find the XML file with the roles/features list the installer uses.

Here are files if you want to install the Windows Pre Reqs manually:

XML file with required Windows roles and features

Batch file to install Windows roles and features

After a executing this command a few times I found out lots of features were failing every time I ran it but it didn’t help me.

Then I recalled all servers we have go through a security hardening process before they are available on the network. I went to talk to the security guys and we found out they ran the Security Configuration Wizard (SCW) on the servers and it wasn’t allowing new features or roles to be installed on the servers. After changing the SCW template and applying it I was able to finish installing the pre reqs.

Researching a little bit more about this issue I found out the SharePoint 2010 Administration Toolkit comes with several  SCW templates for Windows 2008 servers.

More details on security hardening for SharePoint 2010 and a visual guide on SCW configuration can be found at http://blogs.msdn.com/b/ahmad_adainat/archive/2011/01/10/security-hardening-for-sharepoint-2010-with-scw.aspx.

See you around this world,

Amadeu.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: