I have a really strange behaviour, I'm working with SharePoint 2007 and I have a feature web application scoped, and i don't want it automatically being activated on deploying the solution, but it still does although I set this properties to false:

ActivateOnDefault="FALSE" AutoActivateInCentralAdmin="FALSE" 

Here is the full xml of the feature

<Feature Id="EDFD660C-34BA-4c73-9928-AC8255352D834" Title="Workflows" Description="Activates my workflows" ActivateOnDefault="FALSE" AutoActivateInCentralAdmin="FALSE" Scope="WebApplication" Version="" Hidden="FALSE" DefaultResourceFile="core" xmlns="http://schemas.microsoft.com/sharepoint/" ReceiverAssembly="sharepoint, Version=, Culture=neutral, PublicKeyToken=d27a514ec27d3231" ReceiverClass="sharepoint.WorkflowFeature">
    <ElementManifest Location="elements.xml" />

Anyone has any idea, why it is still activated after deployement?

  • Features are never deactivated when yiou retract/uninstall a WSP. Are you sure you tested from a clean state, where the feature had been deactivated prior to retract/uninstall the WSP, and then reinstall it?
    – Evariste
    Oct 11, 2015 at 5:41

2 Answers 2


I noticed this behaviour also, please deactivate the feature from site collection first, then retract/remove solution and reinstall, if at the time of retraction the feature is active and you install the feature again, the feature gets activated upon installation

  • I'm not sure if it will fix, i think i did this before and it was the same, but i'll retest later, now i have another issue which doesnt allow me to test
    – Shkipper
    Nov 22, 2012 at 15:13

In your visual studio solution ,go to properties by right click on solution or by F4....Set activate on default to false. Then build and package solution, that wsp will work for you.

  • This may be true for SharePoint 2010+ solutions, but for SharePoint 2007 there was no such tooling like this for Visual Studio (aside from CKS Dev Tools, which didn't include the properties you describe, only packaging and deployment from VS2008).
    – James Love
    Jan 6, 2018 at 21:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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