Subscribe to our RSS Feed

Install SharePoint 2010 on Windows 7

With the release of SharePoint 2010 developers can now install SharePoint on a client operating system. This article will focus on Windows 7, however please be advised that you can configure your developer rig by installing SharePoint 2010 (both SharePoint Server and SharePoint Foundation) on Windows Vista SP1 or SP2 x64 Professional or higher, Windows Server 2008 SP 2 x64 or Windows Server 2008 R2 x64.

There is a detailed procedure on MSDN  titled Setting up the Development Environment for SharePoint Server that covers all types of developer workstation installations, however for I felt that I’d post a concise Windows 7 targeted version as I am sure I will personally go through this a few times and that others would benefit from this information. 

This article specifically discusses installing the BETA version of SharePoint 2010.

This post targets an installation in ‘Standalone’ mode. I felt that I would post a ‘Standalone’ install for those who do not have access to MSDN or don’t have access to a full version of SQL Server. You can still follow along if you wish to install wish to install with a full SQL version (for the devs out there, SQL 2008 Developer Edition for example), you’ll just have to change your installation option to ‘Server Farm’ mode. There are sure to be many posts out there covering a ‘Server Farm’ mode install where you select your SQL server and please be advised that I don’t cover this install type specifically.

Before I get started, I’d like to mention that my preferred setup is on Windows Server even though I can install on Windows 7. Why? Because that is how I install it within client environments and if I am going to develop and test, I should test and develop in the same type of environment. I believe it is still a good thing that SharePoint 2010 can be installed on client operating systems as not everyone has a test server environment within which to play and learn.

Let’s get started with the install.

OS and Hardware Guidance:

  • Windows 7 Professional/Enterprise/Ultimate 64-bit (it will not install on Home Premium 64-bit or any 32-bit version)
  • RAM - Preferably 4 GB of RAM for SharePoint Foundation, and 6 to 8 GB of RAM for SharePoint Server. Available RAM makes a huge difference with SharePoint 2010 – do not underestimate these recommendations! To give you an idea, my office PC is a Quad core with 8 GB of RAM. Running Windows 7 Ultimate x64, a general baseline of minimum RAM usage is approximately 17% with just the OS and a few small apps running. Once I installed SharePoint Server 2010 on this machine in Standalone mode, it shot up to around 60%!  Another thing to keep in mind is that when you install in Standalone mode, most SharePoint services are enabled by default increasing the need for CPU cycles and RAM.
  • CPU – recent dual core or a quad core, the faster the better. If considering a virtual environment, your CPU needs to support virtualization
  • Virtual Environment - Hyper-V or VMWare. Virtual PC does not support 64-bit guests.

Known Windows 7 Limitations and Issues:

Installation Procedure 


1) Obtain and configure the SharePoint 2010 Beta for installation:

  • Download one of the Betas into c:\SharePointFiles (I will use this local path similar to the MSDN article for example purposes) from
  • Extract all the files to a local folder on you workstation. From a command prompt execute the following:
    • For SharePoint Foundation:
      c:\SharePointFiles\SharePoint /extract:c:\SharePointFiles
    • For SharePoint Server 2010:
      c:\SharePointFiles\OfficeServer /extract:c:\SharePointFiles
  • Open the installation configuration file for editing, config.xml, located in the following path:
    c:\SharePointFiles\files\Setup\config.xml
  • Add the following line to the <Configuration> section (note: this line is case sensitive):
    &lt;Setting Id="AllowWindowsClientInstall" Value="True"/&gt;
  • Save and close config.xml

2) Install Hotfixes & Pre-requisites:

You will need to perform the following installations prior to installing SharePoint 2010 on your Windows 7 machine: (Note: In case you heard about it or were thinking about it for your developer rig, the installer ships with a tool called PrerequisiteInstaller.exe to automatically assist with installing and configuring pre-requisites for SharePoint 2010. THIS DOES NOT WORK WITH WINDOWS 7 OR WINDOWS VISTA. It is for use only with Windows Server 2008 SP2 x64 or Windows Server 2008 R2 x64.).

Important! The install links and information below are specifically for Windows 7. Please refer to other resources for other operating systems.

3) Configure Windows 7 Features

From a command prompt, execute the following:

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;WCF-NonHTTP-Activation

4) RESTART YOUR COMPUTER

This is necessary to complete the changes made to Windows Features.

5) Install SharePoint 2010

  • From the command prompt, run the following command:
    c:\SharePointFiles\Setup.exe
    • If installing SharePoint Server 2010, you’ll be asked to enter your Product Key. Remember you needed to get this from the download page. Enter your product key and click the ‘Continue’ button
  • For both Server or Foundation,  accept the agreement and click the ‘Continue’ button
  • You will now be presented with an installation choice. As previously mentioned, I chose the ‘Standalone’ installation. You could also choose the ‘Server Farm’ installation if you want to go through a SQL Server installation.
  • When the installation is complete, you’ll be prompted to run the SharePoint Configuration Wizard. Run the Wizard.
  • When the Wizard is complete, you can use SharePoint 2010 by visiting http://YOURCOMPUTERNAME, and Central Administration will be available through your Start menu.  

Notes if you encounter installation errors:

  • If you receive any errors during installation, check your logs with the following at the command prompt.
    cd %temp%
    dir /od *.log
  • How do you know specifically which log to look at? Two things…
    • One – sort the files in folder by Modified Date/Time. The most recent is likely to be your error log
    • Two – your config.xml tells you the prefix of the file. In the case of SharePoint Server the prefix will be “SharePoint Server Setup” and in SharePoint Foundation it will be “Microsoft SharePoint Foundation 2010 Setup”. These files will have the .log extension. The most recent log file with one of those prefixes (depending on what version you are installing) will be the one.
  • You can always ask questions on the MSDN SharePoint 2010 forums at http://social.msdn.microsoft.com/Forums/en-US/category/sharepoint2010,sharepoint/

 

Issues and troubleshooting journey I encountered with my install:

When I first attempted to perform the install, I received the following error that set me off on quite a journey:

Microsoft SharePoint server 2010 encountered an error during setup. One or more required office components failed to complete successfully.

Obviously, this is very generic in nature. So I investigated my setup log file. I found a further error description in a line near the end of the log file:

 ”Error: Command: ‘C:\Program Files\Common Files\Microsoft Shared\SERVER14\Server Setup Controller\dbwrap.exe’ failed with error code: -2067919934. Type: 8::CommandFailed.”

That was a mouthful, but it focuses on dbwrap.exe which is part of the SQL Express installation. I also noticed there was a DbWrapLog file in my %temp% directory as well. I opened it for inspection. The last three lines were:

ERR:0:SQL Express installation failed with error -2067919934
WRN:0:The file C:\Program Files\Microsoft Sql Server\100\Setup BootStrap\LOG\summary.txt doesn’t exist
ERR:0:Fail to install or config SQL Express.

This was the hard evidence I was looking for. The “One or more required office components” that failed during setup was the installation of the SQL Express database. So now I know ‘what’ happened, I just needed to find out ‘why’. This immediately led me to check the SQL Server logs located at C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\. If this happens to you, you’ll see folders within this directory that resemble dates and times. Open the most recent one and you’ll see a files titled “Detail_GlobalRules.txt” and “Summary_YOURCOMPUTERNAME_….txt”. I opened the “Detail_GlobalRules.txt” file and scrolled to the bottom and found the exception

“Exception type: Microsoft.SqlServer.Configuration.RulesEngineExtension.RulesEngineRuleFailureException” with Message “A computer restart is required. You must restart this computer before installing SQL Server.”

Ok I thought. So I rebooted (even though I rebooted after installing the pre-requisites and hotfixes) and tried the install again. The SharePoint 2010 install failed again! Inspected all the same logs and found the same errors. After scratching my head for a few minutes, searched for an answer…

In the end, from the errors that were reported, I found out that (after researching the issue) it was a problem in the lovely Windows Registry…

The SQL server install must check the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations value and throw the restart required error when there is a value in this key so it doesn’t interrupt something else happening within the computer.

Please note that before you modify anything in your registry BACK IT UP! It turns out that my antivirus was having a field day with my Logitech webcam and continuously has entries in this registry key. The solution to get SharePoint successfully installed, remove the value in this key and run the SharePoint Server 2010 install WITHOUT restarting. Worked like a charm!

I hope the issue I ran into helps someone else as I am sure there will be folks who install SharePoint 2010 on desktops or laptops that have connected devices that may cause installation issues.

Cheers,

c.

6,390 Responses to “Install SharePoint 2010 on Windows 7”

  1. frostwire says:

    Superb website…

    [...]always a big fan of linking to bloggers that I love but don’t get a lot of link love from[...]……

  2. sell gold says:

    Links…

    [...]Sites of interest we have a link to[...]……

  3. Recent Blogroll Additions……

    [...]usually posts some very interesting stuff like this. If you’re new to this site[...]……

  4. Legal Buds says:

    Sources…

    [...]check below, are some totally unrelated websites to ours, however, they are most trustworthy sources that we use[...]……

  5. Check this out…

    [...] that is the end of this article. Here you’ll find some sites that we think you’ll appreciate, just click the links over[...]……

  6. Mormon Mafia says:

    Cool sites…

    [...]we came across a cool site that you might enjoy. Take a look if you want[...]……

  7. nose ring says:

    Links…

    [...]Sites of interest we have a link to[...]……

  8. Fresh news says:

    Recent Blogroll Additions……

    [...]usually posts some very interesting stuff like this. If you’re new to this site[...]……

  9. Read was interesting, stay in touch……

    [...]please visit the sites we follow, including this one, as it represents our picks from the web[...]……

  10. Websites worth visiting…

    [...]here are some links to sites that we link to because we think they are worth visiting[...]……

  11. Websites worth visiting…

    [...]here are some links to sites that we link to because we think they are worth visiting[...]……

  12. Great website…

    [...]we like to honor many other internet sites on the web, even if they aren’t linked to us, by linking to them. Under are some webpages worth checking out[...]……

  13. Recruitment says:

    Informative and precise…

    Its hard to find informative and precise info but here I noted…

  14. [...]the time to read or visit the content or sites we have linked to below the[...]……

    [...]here are some links to sites that we link to because we think they are worth visiting[...]……

  15. online dating reviews…

    I was recommended this website by my cousin. I’m not sure whether this post is written by him as nobody else know such detailed about my problem. You’re wonderful! Thanks!…

  16. Visitor recommendations…

    [...]one of our visitors recently recommended the following website[...]……

  17. Visitor recommendations…

    [...]one of our visitors recently recommended the following website[...]……

  18. Check this out…

    [...] that is the end of this article. Here you’ll find some sites that we think you’ll appreciate, just click the links over[...]……

  19. Check this out…

    [...] that is the end of this article. Here you’ll find some sites that we think you’ll appreciate, just click the links over[...]……

  20. Read was interesting, stay in touch……

    [...]please visit the sites we follow, including this one, as it represents our picks from the web[...]……

  21. Gems form the internet…

    [...]very few websites that happen to be detailed below, from our point of view are undoubtedly well worth checking out[...]……

  22. Visitor recommendations…

    [...]one of our visitors recently recommended the following website[...]……

  23. chris murray says:

    Visitor recommendations…

    [...]one of our visitors recently recommended the following website[...]……

  24. Great Websites…

    [...]here are some links to posts that we link to because we think they are worth taking a look at[...]……

  25. Online Article……

    [...]The information mentioned in the article are some of the best available [...]……

  26. Recent Blogroll Additions……

    [...]usually posts some very interesting stuff like this. If you’re new to this site[...]……

  27. Great website…

    [...]we like to honor many other internet sites on the web, even if they aren’t linked to us, by linking to them. Under are some webpages worth checking out[...]……

  28. recipes says:

    Online Article……

    [...]The information mentioned in the article are some of the best available [...]……

  29. Energetikai tanúsítvány…

    [...]here are some links to sites that we link to because we think they are worth visiting[...]…

  30. Online Article……

    [...]The information mentioned in the article are some of the best available [...]……

  31. You should check this out…

    [...] Wonderful story, reckoned we could combine a few unrelated data, nevertheless really worth taking a look, whoa did one learn about Mid East has got more problerms as well [...]……

  32. Sites we Like……

    [...] Every once in a while we choose blogs that we read. Listed below are the latest sites that we choose [...]……

  33. The best dentist video i have ever watched….

    [...]crushial information regarding your own teeth[...]…

  34. turism says:

    You should check this out…

    [...] Wonderful story, reckoned we could combine a few unrelated data, nevertheless really worth taking a look, whoa did one learn about Mid East has got more problerms as well [...]……

  35. Terminex says:

    Websites you should visit…

    [...]below you’ll find the link to some sites that we think you should visit[...]……

  36. diva vocals says:

    Great website…

    [...]we like to honor many other internet sites on the web, even if they aren’t linked to us, by linking to them. Under are some webpages worth checking out[...]……

  37. Finally…

    Superb topics to enjoy….

  38. Sites we Like……

    [...] Every once in a while we choose blogs that we read. Listed below are the latest sites that we choose [...]……

  39. You should check this out…

    [...] Wonderful story, reckoned we could combine a few unrelated data, nevertheless really worth taking a look, whoa did one learn about Mid East has got more problerms as well [...]……

  40. Websites we think you should visit…

    [...]although websites we backlink to below are considerably not related to ours, we feel they are actually worth a go through, so have a look[...]……

  41. Recent Blogroll Additions……

    [...]usually posts some very interesting stuff like this. If you’re new to this site[...]……

  42. Buy Yankee Candles Cheap…

    [...]below you’ll find the link to some sites that we think you should visit[...]…

  43. Recommeneded websites…

    [...]Here are some of the sites we recommend for our visitors[...]……

  44. Awesome website…

    [...]the time to read or visit the content or sites we have linked to below the[...]……

  45. Sources…

    [...]check below, are some totally unrelated websites to ours, however, they are most trustworthy sources that we use[...]……

  46. Online Article……

    [...]The information mentioned in the article are some of the best available [...]……

  47. goal crazy says:

    Read was interesting, stay in touch……

    [...]please visit the sites we follow, including this one, as it represents our picks from the web[...]……

  48. Just Browsing…

    While I was browsing today I noticed a excellent article about…

  49. Links…

    [...]Sites of interest we have a link to[...]……

  50. Gems form the internet…

    [...]very few websites that happen to be detailed below, from our point of view are undoubtedly well worth checking out[...]……

Leave a Reply