How to: Install SharePoint 2010 ‘Standalone’ on Windows 7

23 11 2009

SharePoint 2010 Logo Since getting my hands on the Beta 2 version of SharePoint 2010 and SharePoint foundation I’ve read countless guides and blog posts about how to install it on Windows 7.

The problem is finding one that gives you the correct install procedure and this often means trawling through the comments to see if it is a reliable source. Because of this I’ve decided to post my own tutorial of the steps I used to create a reliable and fully functional SharePoint 2010 environment on a single machine (client OS).

Keep in mind that this blog post only walks through installing SharePoint 2010 in ‘Standalone’ mode (aka default configuration). This does not give you as much flexibility nor does it replicate a server farm environment. But this does work well for small dev work or to simply play around with SharePoint 2010.

*RAM Requirements: Be aware that if you are planning to install SharePoint Server 2010 you will need a lot of RAM. The recommended minimum from Microsoft is 6GB. SharePoint 2010 will install on a machine with 4GB of RAM but this will not be enough for a development environment.*

1. Install the Pre-Requisites for your operating system listed in the following MSDN guide -

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

2. Install the ‘WCF Hotfix’ (KB976462) for Windows 7/Server 2008 R2 which is available here –

http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=23806

3. Extract the SharePoint installation (.exe) that you downloaded, you can do this by typing at the command line the following –

c:\SharePoint\SharePoint2010.exe /extract:c:\Temp

4. Next we need to edit an xml file and add an attribute that will allow you to install SharePoint on a workstation OS. If you try and run the setup without performing this step then it will display an error message that the OS is not supported.

SharePoint 2010 Setup Error

Open the ‘config.xml file located at ‘c:\Temp\files\Setup\config.xml’ (where Temp is the folder that contains your extracted files from above).

Add the following line inside the <configuration> tag:

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

Save and close the file.

5. Run the SharePoint 2010 setup (setup.exe).

6. When asked what type of installation you wish to perform select ‘Standalone’. This will install an instance of SQL Express and the default configuration. This will allow you to use local windows accounts.

SharePoint 2010 Installation Type

 image

7. Once the wizard has completed it will prompt you to run the ‘SharePoint Products Configuration Wizard’ (aka Psconfig). Do Not run the wizard and exit.

8. Install SQL Server 2008 cumulative update package 2 –

http://support.microsoft.com/kb/970315

image

9. When the above update has finished installing, execute the ‘SharePoint Products Configuration Wizard’. Ignore the warning telling you that installing SharePoint 2010 on Windows 7 or Vista is unsupported. You also need to click ‘OK’ to the message explaining that IIS will be reset as part of the installation.

image

image

The wizard will now configure SharePoint 2010 so you can sit back and relax! (Hopefully this step goes smoothly and you don’t see any errors).

10. When the wizard is complete, click ‘Finish’. An IE window should now popup and display a SharePoint page asking you to select the template you would like for your first SharePoint 2010 site collection.

SharePoint 2010 Central Administration

11. Success – the installation is now complete and you have a full working copy of SharePoint 2010 Beta! :-)

About these ads

Actions

Information

5 responses

30 01 2010
Sekhar

Doesn’t work on Windows 7 x64 Ultimate N edition. Still waiting for their RTM which is supposed to have the fix :(.

3 08 2010
Michel

Thanks so much. This was really helpful, since I was struggling the same as you with Sharepoint and Win7. It finally works!

I’m not sure, but you might want to add MS Visual Studio as well, in order to run it.

Thanks again.

14 10 2010
Josh

This tutorial did not work for me.

15 10 2010
alex350r

Thanks for the comment – could you expand on why it didn’t work and what error messages you got?

18 01 2011
Eduardo

I just installed Sharepoint Foundation in Windows 7 X64. I had to follow this article (http://msdn.microsoft.com/en-us/library/ee554869.aspx) very closely to get it to work. Specially when it comes toinstalling the hot fixes, one MUST do it. For example I have SQL Server 2008 R2 and I thought the SQL server hot fixes would not apply to my case. Wrong!.

Also, for some reason I did not install the Windows Identity Foundation and the wizard did not run. So, I unistalled the whole thing (Sharepoint Foundation installation), then I installed all the hot fixes for it and installed Sharepoint again.

The setup run with no errors and the configuration wizard run with no errors, so in my eyes it worked, but my site was blank. I went to IIS and under Authentication for Sharepoint Central Administration and the Sharepoint sites, I changed the Basic Authentication from Disabled to Enabled. However, this didn not fix the problem. In fact, I would have to enter credentials, so I assumed that it would be ok to enter my domain credentials (windows 7 credentials). This created yet another error related to the IIS worker process crashing. I went to the event viwer and I saw this:

Faulting application name: w3wp.exe, version: 7.5.7600.16385, time stamp: 0x4a5bd0eb
Faulting module name: KERNELBASE.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdfe0
Exception code: 0xe0434f4d
Fault offset: 0x000000000000aa7d
Faulting process id: 0×1634
Faulting application start time: 0x01cbb754642bc4c9
Faulting application path: c:\windows\system32\inetsrv\w3wp.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: a308a667-2347-11e0-ba6c-002318baaa4f

I researched the error and nothing helped me solved the problem. Then, I light of wisdom came into my mind, Application Pools!

So I went to IIS and to the application pools for the SP central admin and the sharepoint site and I changed the identity from NetworkService to LocalService.

I resseted IIS, entered my credentials and wuala!

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




Follow

Get every new post delivered to your Inbox.

%d bloggers like this: