Running SharePoint on Windows 7

I tried to put up SharePoint development environment on Windows 7 and guess what – I succeeded. I took smaller challenge and installed WSS 3.0 SP2. Of course, you can also install SharePoint Server instead of WSS. On my machine WSS 3.0 uses SQL Server 2008 Express edition as database. For MOSS 2007 you should have SQL Server 2008 Developer edition.

Here is the step-by-step guide to get SharePoint development environment up and running on Windows 7. I assume you have Visual Studio already installed. My laptop has 32 bit architecture, so I am not sure if WSS works also on 64 bit Windows 7 the way described below.

  1. Follow the instructions given in Bamboo Team Blog entry How to install Windows SharePoint Services 3.0 SP1 on Vista x64/x86. Follow these instructions *EXACTLY* to get things work. When you insert computer name or SQL Server address then don’t use (local) or localhost – SharePoint installer cannot understand later what is going on. Use your machine name (windows7\username, windows7\SQLEXPRESS) and install goes smoothly.
  2. You may have problems with SharePoint Central Administration site because some menu options are missing. In this case you must run IE in administrator privileges as described in thekid.me.uk blog entry Missing Create or Extend Web Application in Central Administration. If you still have problems you may find some help from Bamboo Nation forum thread Access Denied to extendvs.aspx.
  3. Install Windows SharePoint Services SDK.
  4. Install VSeWSS 1.2. There is said that VSeWSS 1.2 requires Windows Server 2003 or Windows Server 2008. Don’t get confused – you can install VSeWSS on Windows 7 without any problems.
  5. Before deploying features to your fresh installation you must change permissions of SharePoint services. I found these accounts to be work without problems for services. 

    Service

    Account

    Windows SharePoint Services AdministrationLocal System
    Windows SharePoint Services SearchLocal Service
    Windows SharePoint Services TimerLocal System
    Windows SharePoint Services TracingLocal System
    Windows SharePoint Services VSS WriterLocal System

Now your development environment is ready. You can create your test site and deploy your features to it.

To test web part deployment I wrote simple web part that prints out testing message. If you don’t have web part to test deployment you can use my TestPart (ZIP archive with source code and deployment files). Result should be something like this.

SharePoint on Windows 7

I suggest you to run Visual Studio as administrator so you can be sure you have enough privileges to deploy your features.

Gunnar Peipman

Gunnar Peipman is ASP.NET, Azure and SharePoint fan, Estonian Microsoft user group leader, blogger, conference speaker, teacher, and tech maniac. Since 2008 he is Microsoft MVP specialized on ASP.NET.

    27 thoughts on “Running SharePoint on Windows 7

    • May 7, 2009 at 7:33 pm
      Permalink

      Thanks.. i am planning to install WSS on my Windows 7 machine.. :-) keep up the good work

    • May 7, 2009 at 7:50 pm
      Permalink

      Thanks for sharing with the community. I will be setting up MOSS and Win 2k8 soon.

    • May 11, 2009 at 10:11 pm
      Permalink

      This is just awful! I’ve been fighting all day to try to get programs to work with Windows 7 and I’ve come to the conclusion that it is pointless.

      Maybe Microsoft should stop feverishly shipping shoddy software and focus on making all of their CURRENT products work together! No group should be allowed to ship a product that does not work across all platforms, processors, etc. I have a “top of the line” 64-bit machine running Windows 7 and I can’t do diddly squat! Why? Because not all programs support 64-bit and/or Vista (Windows 7). STUPID!!

    • June 12, 2009 at 1:24 pm
      Permalink

      Thanks
      I did it!!!
      My first try was wrong but after read your post I get it!!

      Thanks again

    • August 25, 2009 at 4:52 pm
      Permalink

      Hey man, you did a nice job, i have installed SharePoint on Windows 7.

      Thanks Man.

    • November 3, 2009 at 11:35 am
      Permalink

      Hey Dude

      Every thing works fine except the deployment in wssvse 1.2

      I am using Win 7 RTM 64 bit.

      I am getting the following error

      Object reference not set to an instance of an object.

      Any help appreciated.

    • November 3, 2009 at 5:10 pm
      Permalink

      Hi Balaji! At what moment you get this error? Are you getting this error when deploying solution?

    • December 17, 2009 at 10:34 am
      Permalink

      I have been trying to setup WSS 3.0 64 Bit SP2 on Windows 7 Ultimate 64-Bit using steps in Bamboo Team Blog entry. The setup completes successfully but when I try to launch ‘SharePoint Products and Technologies Configuration Wizard’ it crashes and the following error is logged in Event Log.

      Fault bucket 733159878, type 5
      Event Name: CLR20r3
      Response: Not available
      Cab Id: 0

      Problem signature:
      P1: psconfig.exe
      P2: 12.0.6413.1000
      P3: 4902dc0c
      P4: psconfig
      P5: 12.0.0.0
      P6: 4902dc0c
      P7: 15
      P8: 14
      P9: System.IO.FileNotFoundException
      P10:

      Any help/guidance would be highly appreciated.

    • December 17, 2009 at 5:49 pm
      Permalink

      Configutation qizard creates also log file. You can see there what file was not found. It is highly appreciated if you also provide this information here.

    • January 15, 2010 at 9:39 am
      Permalink

      Hi there

      I am following exact steps but unable to install WSS on windows 7.

      I am getting error “There are no products affected by this package installed on this system”.

      Could you please help me out.

    • January 15, 2010 at 9:52 am
      Permalink

      Machine is of 32 bit architecture.

    • February 3, 2010 at 6:41 pm
      Permalink

      i get access denied when i try to “assign service to servers”
      please help me on this

    • February 27, 2010 at 6:02 pm
      Permalink

      Hi,
      I am trying to install Sharepoint on Win 7 Home premium.
      Installation completes without any errors..but the central admin site displays a blank page….have already tried many things given in various forums to solve this problem..Plz help me out
      Have tried..
      Running IE with run as administrator
      Also have changed authentication to basic authentication from IIS

      Plz help

    • February 27, 2010 at 9:04 pm
      Permalink

      Hi Shubham! I am not very sure if Windows 7 Home Premium is the best choice for running something that needs server based operating system.

      To get better idea what is going on check out SharePoint logs and look also event viewer to find out if there are any errors that may be helpful.

    • April 4, 2010 at 1:47 pm
      Permalink

      I have a moss and wss 3.0 installer both still have compatibility problems even when launch from wssforvista folder in the program files.

      I am using windows 7 btw.

      Microsoft really really must get into this problems of compatibility since this is one of the reasons they suck big time. (I know you wanna get rid of the past os but this is too much)

    • April 5, 2010 at 7:25 am
      Permalink

      While trying to installWSS 3.0 SP1 on Windows7, I am getting the error message “There are no products affected by this package installed on this system.”

      Can someone please help me regarding this?

    • April 10, 2010 at 2:43 am
      Permalink

      If you start having mysterious errors then you should understand that WSS/MOSS is not supported on Windows desktop versions and you have to find out by yourself how to solve these issues.

    • May 17, 2010 at 7:46 pm
      Permalink

      ???? I want to install sharepoint server 2007 on Windows 7, not sharepoint services. How EXACTLY do I do that?

    • January 5, 2011 at 11:03 am
      Permalink

      Excellent

      It Worked For Me.

      Thanks And Regards.
      P.Shiva Krishna
      India

    • January 14, 2011 at 12:19 pm
      Permalink

      Hi,
      Is it possible to install SharePoint on Windows 7 Home Basic? Also Can we install IIS here like in Windows XP? If yes, Please let me know how to do that, thanks in advance.

      Thanks,
      Sarnendu

    • January 16, 2011 at 6:34 am
      Permalink

      Hi,

      While trying installation; receiveing an error that ” this product require windows server 2003 service pack 1 ” .. Any Soulutions to over come this erro ??

    • January 24, 2011 at 1:07 pm
      Permalink

      I am using Windows 7 Ultimate. I think there are limitations on Home editions, so if your install does not succeed there you should use some more powerful version on Windows 7.

    • May 16, 2011 at 6:47 pm
      Permalink

      hank a ton!! helped a lot….

    • July 13, 2011 at 3:36 pm
      Permalink

      Thanks for the valuable information. Its really very good that we can run Sharepoint 2007 on Windows 7.

    • January 16, 2012 at 3:47 pm
      Permalink

      Thanks Gunnar, for the terrific post. I dare say it would be helpful if you would update your post and show us how to install SharePoint 2010 on Windows 7.

    • January 16, 2012 at 4:55 pm
      Permalink

      Thanks for feedback, Bob! You should be able to install SP2010 on Windows 7 easily. Still be aware of problems related to DCOM settings as some of these you want to change after updates maybe read-only on Windows 7.

      Here is official guide how to set up SharePoint 2010 development environment on Windows 7: http://msdn.microsoft.com/en-us/library/ee554869.aspx

    • February 17, 2012 at 9:25 am
      Permalink

      I tried to install the sharepoint in windows 7 while configuring the database i am getting error. I could not resolve it…:

    Leave a Reply

    Your email address will not be published. Required fields are marked *