Installing SharePoint 2010 on Windows 7

It’s not one hundred percent straight forward to install SharePoint 2010 on Windows 7. Here’s a list of steps that you must take before you’ll be able to create your first Enterprise Wiki ;):

I assume that you have seen System requirements for SharePoint 2010:

http://blogs.msdn.com/sharepoint/archive/2009/05/07/announcing-sharepoint-server-2010-preliminary-system-requirements.aspx

Before you hit the setup file with a couple of clicks, you MUST fulfill the following pre-requisites (these will save you a lot of frustration that might come in the form of Configuration Wizard errors):

  1. Install Geneva Framework Runtime for x64:

    Microsoft Geneva Framework Runtime for x64

  2.  Install the following hotfix: 

     https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=23806&wa=wsignin1.0

  3. Run the following command in a command prompt window, this enables required IIS/Windows Features (the command is from Microsoft, so you can trust ):


start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-RequestFiltering;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI;WCF-HTTP-Activation;

Make sure you execute the command with no line breaks, if you copy from above, hopefully there should not be any line breaks.

 

       5.   The command given above does not enable one of the required Windows Features. Go to Control Panel -> Programs -> Turn Windows Features on or off -> fill the check box for “Windows Communication Foundation Non-HTTP Activation” and OK (make sure you do not uncheck anything else).

   6.  Must Restart your machine here.

Now we have to use/modify a few files within the SharePoint setup file. For that we have to extract files from setup.exe. There could be two ways of doing this. One is manual and the other is automatic. I recommend the automatic way. If you like automatic, skip the Manual step and go straright to automatic below.

Manual Extract:

First one is to extract the files from the setup exe manually, modify files and run the setup.exe (the extracted one).  The command to extract files is here:

C:\Users\rehmang>"D:\SharePoint 2010 Setup\SharePoint 2010\Microsoft SharePoint
Server 2010\14.0.4536.1000_OfficeServer_none_ship_x64_en-us_exe" /extract:"D:\Sh
arePoint 2010 Setup\SharePoint 2010\Microsoft SharePoint Server 2010\Extracted"

Your setup exe is at “D:\SharePoint 2010 Setup\SharePoint 2010\Microsoft SharePoint
Server 2010\”

and you are extracting files at
 
“D:\SharePoint 2010 Setup\SharePoint 2010\Microsoft SharePoint
Server 2010\Extracted”.

As soon as you will run the command, the extraction will start:

 

Click Ok on the success message and move to the folder where you extracted the files.

Run all the pre-requisites present at the following location:


D:\SharePoint 2010 Setup\SharePoint 2010\Microsoft SharePoint
Server 2010\Extracted\PrerequisiteInstallerFiles


In Windows 7, usually it will be “FilterPack.msi” alone. Run this and run others if there are any. Note that “Software Pre-requisite Tool” or “Preparation Tool” doesnt work with Windows 7, so you have to do it manually.

Go to following directory:

D:\SharePoint 2010 Setup\SharePoint 2010\Microsoft SharePoint
Server 2010\Extracted\Files\Setup

You will find a config file:

 

Right click and edit in Notepad:

Add the following line of code just before the closing </Configuration> tag (as shown above):

<Setting Id="AllowWindowsClientInstall" Value="True"/>

Save the file.

Go to "D:\SharePoint 2010 Setup\SharePoint 2010\Microsoft SharePoint
Server 2010\Extracted"
and click setup.exe (and not setup.cmd). This setup.exe is placed where you just extracted files from the original setup file. On the following splash screen click “Install SharePoint Server”:

 

Your setup should proceed now:

 

Automatic Extraction (my way): 

So, which way I want to take. I will run the setup, which will extract the files automatically, and then setup will complain that your system is not Windows Server 2008 x64 bit and hence the setup cannot continue. I will say OK.

Note here that the files are extracted already, so I will go to the file extraction folder and modify the files there. Now the setup is ready to run on Windows 7. However, I will not run the setup again, but only click “Install Sharepoint Server” on the splash screen. This time the installer will get the modified files….(saves me from creating folders, getting the command right and manually extracting the files)…Read on.

Double click SharePoint 2010 setup:

You will see the Extracting Files screen:

 

You will get the following splash screens:

 

 

Click “Install Software Prerequisites” and you will get the following error message:

 

Click “Install SharePoint Server” and you will get the following error message:

 

To get rid of this error, we have to modify a config file on the file system. Click OK on the error message above and make sure you do not Exit on the splash screen behind.

Go to following directory:

C:\Program Files (x86)\MSECache\oserver2010\Files\Setup

You will find a config file:

 

Right click and edit in Notepad:

 

Add the following line of code just before the closing </Configuration> tag (as shown above):

<Setting Id="AllowWindowsClientInstall" Value="True"/>

Save the file.

Run all the pre-requisites present at the following location:
C:\Program Files (x86)\MSECache\oserver2010\PrerequisiteInstallerFiles

In Windows 7, usually it will be “FilterPack.msi” alone. Run this and run others if there are any. Note that “Software Pre-requisite Tool” or “Preparation Tool” doesnt work with Windows 7, so you have to do it manually.

Click “Install SharePoint Server” on the screen that we left running:

 

Your setup should proceed now:

 

For Product Keys, not me, its Microsoft :).

On Windows 7, better to perform a Standalone installation.

Permissions Issue:

In case you got a permissions issue with editing the Config file, give yourself permissions on the Setup folder (in which the Config is contained):

Right click Setup -> go to Security tab -> click Edit -> click Add -> add your account like Domain\username -> fill the check box infront of “Full Control” -> OK all:

 

Edit Config file now and it should be all good.

After completing the above process, if you have started receiving Configuration Wizard errors, look here for a consolidated list of errors and there solutions.

Here is a useful MSDN link from Microsoft:

http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx

Hope this helps–

Advertisements
  1. March 4, 2010 at 2:44 am

    Thats a nice installation tutorial. I am gonna try this.

  2. July 14, 2010 at 1:01 pm

    Great article – explained EVERYTHING – was thinking of installing it on my home PC, just to ‘have’ ready to try/play. I didn’t realise it took soooo many steps ! Hopefully Microsoft can tidy up the install process for Windows 7.

  3. November 12, 2010 at 3:47 pm

    This is so stupid; great article, however I have no idea why we should have to jump through hoops to do this. What a bad user experience. I keep getting a window when I run the extract command for SP commandline help… spent an hour on this already, now F U microsoft I will be pulling all SP development projects at my 20,000 person company, and yes… I can do that…

  4. March 9, 2011 at 8:16 pm

    Thanks Man, you made my day 🙂

  5. Prasad
    September 21, 2011 at 6:45 pm

    Really good installation guide. Especially I liked we install IIS using command prompt. Keep up this good work. 🙂

  6. November 16, 2011 at 11:28 am

    Hi,
    I was struck at config.xml. I edited and added extra line that you said, but when i am saving the file it is saying that access denied. what i have to do?

    • November 16, 2011 at 10:44 pm

      Hey,

      Try “Right Click, Open as Administrator”…….

      cheers,

  7. November 16, 2011 at 10:54 pm

    I have done that one.. Now i am getting an error when i am starting share point server.

    error is:
    “failed to start the database service mssql$sharepoint sharepoint 2010”

    why i am getting this problem, what i have to do.. i working on this since morning.. please help out me in installing sharepoint 2010

    • November 16, 2011 at 11:18 pm

      Go to “regedit” through run command,
      browse thru “HKLM_Local_Machine/Software/Microsoft/Shared Tools/Web Server Extensions/12.0/WSS/”.
      Then change the value of attribute named “ServerRole” from SINGLESERVER to APPLICATION
      Then save it

      Hope this helps–

  8. November 16, 2011 at 11:30 pm

    Thank you,

    I have done that one.. Now i am struggling with database settings.. i am unable to find valid DOMAIN/User_Name ….
    how can i find that one….? Please help mee

    • November 16, 2011 at 11:46 pm

      your machine name\administrator should do it……

      for example:

      mymachine\administartor

      • November 16, 2011 at 11:50 pm

        No, I am not getting…
        What is meaning of machine name? that means username?
        and what is valid username? how can we found that?

      • November 16, 2011 at 11:55 pm

        Now i am using NarenLak user account in my computer..

        what is machine name?

  9. November 18, 2011 at 4:17 pm

    Hi,
    Final i succeed with installation. Thank you guys.. Especially for Rehman.

    I have installed Share point 2010 Internet sites and Enterprise version. Now, I have to start learning this one. I am searching for material or tutorials about that if you have any thing please forward to me.

    thank you….

  10. Gaurav Yadav
    December 19, 2011 at 11:38 am

    This is one of the article so far I have read online. No crap just useful information. Very well managed and easily understandable. Thanks for sharing with us. Its really helpful for beginner as well as developer. Check out this link too its also having nice post with great explanation on how to install sharepoint in 64 bit window7 operating system.

    http://mindstick.com/Articles/3f05e72b-d0f7-4db7-9e96-6d59c5684053/?Installing%20SharePoint%202010%20on%20Windows7

  11. mag
    March 4, 2012 at 10:09 pm

    Great Article … You made my day.. I was stcuk in the installation process and now i am all through.. Thanks a lot..

  1. December 9, 2009 at 2:29 pm
  2. January 4, 2010 at 9:25 am
  3. January 6, 2010 at 6:04 am
  4. December 27, 2011 at 4:54 pm

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: