Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

how can we check the installation type of a SharePoint server if it's Farm or Standalone /Foundation or MOSS

share|improve this question

5 Answers 5

From http://www.muhimbi.com/blog/2009/05/how-to-reliably-detect-moss-or-wss-at.html

/// <summary> 
/// Method to find out if a SharePoint installation is MOSS or WSS 3.0 
/// </summary> 
public static bool IsMOSS() 
{ 
    SPFeatureDefinitionCollection features = SPContext.Current.Site.WebApplication.Farm.FeatureDefinitions; 
    if (features["OssNavigation"] != null && features["Publishing"] != null) 
        return true; 
    else 
        return false; 
}
share|improve this answer
    
I didn't mean in code –  Bassel Alkhateeb Jun 15 '11 at 7:50
1  
Maybe you should mention that in your question? –  Ryan Jun 15 '11 at 12:11
    
Thanks for the answer anyways –  Bassel Alkhateeb Jul 27 '11 at 4:45

Different people use different technique. It appears that you are absolute beginner so I will try to keep it as simple as possible.

Check following location

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions

If you see 12 folders, you have WSS 3.0 or MOSS 2007. If you have “14” folder, you have SharePoint Foundation or Sharepoint Server 2010.

Check ISAPI folder under “12” or “14” folder, if you find assemblies like Microsoft.Office.Server or Microsoft.Office.Server.Search, you have full SharePoint Server (MOSS or 2010) and not WSS 3.0 or SharePoint Foundation 2010

share|improve this answer

Central Administration > Manage servers in this farm (under System Settings)

Configuration database version of 14.xxx is 2010 and 12.xxx is 2007

SharePoint Products Installed will show you the product.

share|improve this answer
    
this doesn't show if it's a farm or Standalone installation –  Bassel Alkhateeb Jun 15 '11 at 8:01
1  
If is was installed as standalone, a database instance servername\sharepoint would have been created for SQL Server Express. You could check if that exists. –  Laurie Jun 15 '11 at 14:47

You can check the installation type by going to regedit and navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\

enter image description here

share|improve this answer
    
Where does it say it's farm or standalone installation? –  Bassel Alkhateeb Jul 27 '11 at 4:44

I was looking for the same information, and just found the answer here.

Here are the steps:

  1. Launch regedit.exe
  2. For MOSS 2007, navigate to:
    HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\WSS
  3. For Sharepoint 2010, navigate to:
    HKLM\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS
  4. Check the ServerRole key

Here are the valid values:

  • SINGLESERVER => Stand Alone
  • APPLICATION => Farm Complete
  • WFE => Web Front End
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.