How to Install SharePoint on Windows 7: A Step-by-Step Guide

⚠️ Note: This article was originally published in 2011 and may contain outdated information. It is preserved for historical/reference purposes.

Step 1: Log in as Administrator

Ensure you’re logged into Windows 7 with an account that has administrator privileges.

If you’re not part of a domain, you may need to activate the built-in local Administrator account. Open the Command Prompt as Administrator and run:

net user administrator /active:yes

Then log out and log in again as the Administrator user.

Step 2: Prepare Installation Files

Create a folder named SharePointFiles on the C: drive, and copy the SharePoint installer into it. Then, extract the installer in the same folder using this command:

c:\SharePointFiles\SharePointSetup.exe /extract:c:\SharePointFiles

Step 3: Modify the Configuration File

Open the config.xml file located at:

c:\SharePointFiles\files\Setup\config.xml

Using a text editor like Notepad, add the following line within the <Configuration> tag:

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

Save and close the file.

Step 4: Install Prerequisites

Manually install the required prerequisites. You’ll find some of these in the PrerequisiteInstallerFiles folder:

c:\SharePointFiles\PrerequisiteInstallerFiles\FilterPack\FilterPack.msi

Download and install the following (if not already available):

Microsoft Sync Framework

Windows Identity Foundation (Windows6.1-KB974405-x64.msu)

SQL Server Native Client

Chart Controls

SQL Server Analysis Services – ADOMD.Net

Step 5: Enable Required Windows Features

Run the following command in an elevated Command Prompt to enable all necessary IIS and Windows components:

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-ManagementScriptingTools;^
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

Step 6: Run SharePoint Setup

Once all prerequisites are installed, launch the SharePoint installer:

c:\SharePointFiles\Setup.exe

Step 7: Choose Installation Type

During installation:

Select Server Farm if your machine is part of a domain and you plan to connect to a farm environment.

Select Standalone if your machine is not joined to a domain.