File Shares / SMB Not Working

Reading Time: 2 minutes

A strange issue occasionally occurs on some servers where random network dropouts occur while accessing any file share (ie. \\servername\c$). I recently came across this issue again and found this fantastic post on the technet forums. About half way down the page a solution is posted which fixed my issue!

The short version is that in Windows Server 2012 R2 the service / driver SRV2(Server SMB Driver) startup method was changed from Auto to Manual / On Demand. This means that the service is not running unless SMB2 traffic is requested. To check the service status run the below command in PowerShell as Administrator.

By running the command below in PowerShell as Administrator, you can set the service to Auto and ensure that SMB2 requests can be handled immediately and don’t rely on the service starting cleaning in time. Ensure that you understand the implications of this as your servers will always be presenting SMB2 for consumption.

If you run the Get-Service command again you will see the updated StartType value.

By making this change, across all file servers no further issues were experienced. This seems to be a fairly common issue across the Microsoft landscape based off the comments in the technet forum and appears the Startup Type was not reverted in Windows Server 2016 so this issue could persist in future version also.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.