bpa, powershell,

Srv.sys should be set to start on demand

agowa338 agowa338 Feb 11, 2016 · 1 min read
Share this

If the Best Practice Analyzer is showing this error, you have to run the command:

 Invoke-Command -ComputerName $ServerName
  -ScriptBlock { cmd /C "sc config srv start=demand" Get-CimInstance -ClassName
  CIM_Service -Filter "Name='srv'" | Invoke-CimMethod -MethodName
  ChangeStartMode -Arguments @{StartMode='Manual'} } 

Source: Best Practices Analyzer: Srv.sys should be set to start on demand

agowa338
Written by agowa338