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.
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.
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)
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”.
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.