title: Start-Service : Failed to start service 'Microsoft Service Fabric Host Service (FabricHostSvc)'
body: <p>I want to start working with Azure Service Fabric technology. </p>
  
  <p>I am working according to <a href="https://azure.microsoft.com/en-us/documentation/articles/service-fabric-get-started/">this document</a> and install the latest SDK.
  After installation, I opened the PowerShell ("Run as administrator") command line windows and write those lines:</p>
  
  <pre><code># Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser
  # cd "$env:ProgramW6432\Microsoft SDKs\Service Fabric\ClusterSetup"
  # .\DevClusterSetup.ps1
  </code></pre>
  
  <p>As an answer, got this error:</p>
  
  <pre><code>Cleaning existing cluster ...
  
    NOTE: If this powershell command window exits, please re-run the script in a new powershell command window.
  
  
  Stopping service FabricHostSvc. This may take a few minutes...
  Removing cluster configuration
  Remove node configuration succeeded
  Cleaning existing certificates
  Stopping all logman sessions
  Cleaning log and data folder, the powershell window may close automatically.
  ClusterPath not provided, will use C:\SfDevCluster
  FabricDataRoot not provided, will use C:\SfDevCluster\Data
  FabricLogRoot not provided, will use C:\SfDevCluster\Log
  
  
      Directory: C:\
  
  
  Mode                LastWriteTime     Length Name
  ----                -------------     ------ ----
  d----         4/11/2015  12:47 PM            SfDevCluster
  
  
      Directory: C:\SfDevCluster
  
  
  Mode                LastWriteTime     Length Name
  ----                -------------     ------ ----
  d----         4/11/2015  12:47 PM            Manifests
  True
  Create node configuration succeeded
  Starting service FabricHostSvc. This may take a few minutes...
  Start-Service : Failed to start service 'Microsoft Service Fabric Host Service (FabricHostSvc)'.
  At C:\Program Files\Microsoft SDKs\Service Fabric\ClusterSetup\DevClusterSetup.ps1:167 char:1
  + Start-Service FabricHostSvc -WarningAction SilentlyContinue
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service],
     ServiceCommandException
      + FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands.StartServiceCommand
  
  WARNING: Could not start FabricHostSvc
  </code></pre>
  
  <p>The bottom line is "<strong>Failed to start service</strong>". This output is printed to the screen after 3 minutes of waiting.</p>
  
  <p>Things I've already been tried:</p>
  
  <ol>
  <li>Restart the computer few times (I was reading somewhere that this solve the problem).</li>
  <li>Turn OFF my Anti-virus\firewall software. </li>
  </ol>
  
  <p>Attached screenshot of the PowerShell Command line.
  <a href="https://i.stack.imgur.com/EPPwt.jpg"><img src="https://i.stack.imgur.com/EPPwt.jpg" alt="enter image description here"></a>
  I'm using:</p>
  
  <ul>
  <li>Visual studio 2015 Enterprise edition  </li>
  <li>Windows 8.1  </li>
  <li>Azure Service Fabric SDK v1.0.328</li>
  </ul>