Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Check the Storage Service (StorSvc) and/or set it to the right Startup Type
# Get the Startup Type for the Storage Service
Get-Service -Name StorSvc | Select-Object -ExpandProperty StartType
# Check of the Storage Service is set to Manual Startup (Manual seems to be fine)
Get-Service -Name StorSvc | Where-Object { $_.StartType -cne 'Manual' }
# Set the Startup Type to Manual if it is not the case
Get-Service -Name StorSvc | Where-Object { $_.StartType -cne 'Manual' } | Set-Service -StartupType Manual
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.