Installing Sharepoint Foundation 2010 on Windows 7

1 Sep
2010

Sharepoint 2010 version can be installed on client operating systems. (Windows 7,Vista)

I will share some information about installing Sharepoint Foundation on a Windows 7 without AD (Active Directory) (Domain). So this blog entry doesn’t aim to be full installation guide for Sharepoint (Foundation) 2010.

Before starting to installation you need to install a hotfix for your operating system. The hotfix is available for Windows Server 2008 Service Pack 2, Windows Vista Service Pack 1, and Windows Vista Service Pack 2 and for Windows Server 2008 R2 and Windows 7.

After you downloaded SharepointFoundation.exe from Microsoft download center, you need to extract files out from the exe file.

SharepointFoundation.exe gets “extract” parameter to extract files. You can run the command at the below to extract files.

C:\setupfolder\SharePointFoundation.exe /extract:c:\setupfolder\SharePointFiles

After extracted files to the SharepointFiles folder, you need to edit the config.xml file under the c:\setupfolder\SharepointFiles\files\Setup folder.

Add this tag inside the <configuration> tag: 

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

After that, you can run the setup.exe file from root of the SharepointFiles folder, and you can make a standard installation, next, next, next…

After installation completed. You can continue with the configuration wizard but you will get an error when you are trying to start configuration with an local user account (remember we are trying to make an installation on a developer environment, windows 7 with no AD)

First step of the configuration wizard ask about your server farm option, we are making a clean install on a standalone windows 7 machine, so you can select “Create a new server farm” and click “next”.

Next step ask for your “Server Type” option, you can select Stand-alone and continue, but I have SQL Server 2008 installed on my machine. If you have SQL Server full version installed (like Enterprise, Developer, not Express), you will not want to install second engine installation of SQL Server (Express). So you can select “Complete” and click “next”.

Next step is the main configuration screen about the database server and credentials but as you can see from the screen shot at the below, this screen doesn’t allow to you enter local user accounts for database access account.

But there is a workaround for this problem, first you click “cancel” and exit from the configuration wizard.

sharepoint_configuration1

 

Open “SharePoint 2010 Management Shell” from the start menu. This a PowerShell console which has loaded Sharepoint snappins.

And run the New-SPConfigurationDatabase command with th appropriate parameters.

New-SPConfigurationDatabase -DatabaseName "SharePoint2010_Config" -DatabaseServer "CH-NOTEBOOK" -AdministrationContentDatabaseName "SharePoint2010_Admin_Content" -Passphrase (ConvertTo-SecureString "[email protected]" -AsPlaintext -Force) -FarmCredentials (Get-Credential) 

sharepoint_powershell1

It will ask for your crendentials to access to SQL Server when you run this cmdlet. This username/password combination must be granted on SQL Server as a dbcreater and securityadmin. (or sysadmin can be another solution)

This cmdlet creates configuration database for Sharepoint installation. Actually it completes the step that is failing at the Configuration Wizard because of giving local user account.

After successfully created config and content databases you can close powershell and reopen the Sharepoint Configuration Wizard. It will detect your current configuration database setup (which we have done with powershell cmdlet). Select "Do not disconnect from this server farm" and click “next”. You can set administration web site port number on the next step or you can let configuration wizard to set a random and available port number. After that you click “next”.

sharepoint_configuration2

You can show the summary of the configuration at the last step of the configuration wizard.

Now you have installed Sharepoint Foundation 2010 on a Windows 7 without Active Directory. This setup can be useful for development environment but it’s not good for production environment. For example you can’t scale up this installation and you need to create local users on windows for each Sharepoint user. This setup is for single machine development environment.



8 Responses to Installing Sharepoint Foundation 2010 on Windows 7

Avatar

Amir Amay

May 24th, 2011 at 1:09 pm

Life saver article…thanks a lot!

Avatar

Kubilay Kucukoglu

July 5th, 2011 at 11:46 pm

Çok işe yaradı teşekkürler :) .

Avatar

Pushkar

September 5th, 2011 at 1:49 pm

Hi
Thanks for nice article.
Should require Window 7 64 bit OS only ?

Thanks
Pushkar

Avatar

Adely

September 27th, 2011 at 5:43 am

Doesn’t seem to work on Windows 7 32-bit… will give it a shot on a 64-bit machine later :)

Avatar

Jay Reddy

October 31st, 2011 at 7:58 pm

Hello,

I have installed all pre-requisites, SP2010 foundation, IIS, SQL server 2008, oon my local Win7 Ultimate (64bit) laptop. However, when installations final step of trying to open Config manager console using local URL (httlP://:), ia m getting network/page not found error.

I really appreciate any help in resolving this issue.

Cheers
Jay

Avatar

Tanuj Kumar

December 19th, 2011 at 1:54 pm

This is one of the best articles so far I have read online. No crap, just useful information. Very well presented.
Thanks for sharing with us. Its really helpful for me and this link also helped me lot.

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

Thanks everyone!!

Avatar

Vita

February 15th, 2012 at 10:18 am

Hello,

I am trying to install Share Point 2010 Foundation on a Win7 SP1 64-bit desktop but I get an error message, said that : “… This product requires Windows Server 2008 Service Pack 2 or above… ”
After extracted files, I have edit the config.xml file under the c:\SharepointFiles\Files\Setup\ and the config.xml become this :

Why did the installation failed?
Did I miss something?
Is there any configuration to make the installation worked in Window 7?

Any ideas????

Thx a lot :)

Avatar

sakshi

June 18th, 2012 at 3:09 pm

good0ne !!

Comment Form

top