We help IT Professionals succeed at work.

Best Practice Analyzer in Windows Server 2016 Server Manager.


I just setup a Windows Server 2016 server and I am looking at the Best Practices Analyzer results in Server Manager.

Some of the results such as "AutoDisconnectTimeout doesn't have the recommended value on this server." or "DurableHandleV2TimeoutInSeconds doesn't have the recommended value on this server", I do not know where to go and adjust it to the correct value.  

I click on the link "more information about this best practice and detailed resolution procedures" but it is just not available.

Someone who knows please advise.  

Watch Question

AlexA lack of information provides a lack of a decent solution.

I think you can set it via group policy

You can also set it via set-smbserverconfiguration for both anyway.

Technical Assurance & Implementation

Here is a Powershell script that has been used to fix the majority of the 2016 BPA warnings.

|Thanks to Brandon over at Spiceworks

# set SMB Server configuration 
Set-smbserverconfiguration -AsynchronousCredits 64 -confirm:$false 
Set-smbserverconfiguration -MaxThreadsPerQueue 20 -confirm:$false 
Set-smbserverconfiguration -Smb2CreditsMax 2048 -confirm:$false 
Set-smbserverconfiguration -Smb2CreditsMin 128 -confirm:$false 
Set-smbserverconfiguration -DurableHandleV2TimeoutInSeconds 30 -confirm:$false 
Set-smbserverconfiguration -AutoDisconnectTimeout 0 -confirm:$false 
Set-smbserverconfiguration -CachedOpenLimit 5 -confirm:$false   


Thank you very much!!!

I am down to two warnings:

Srv.sys is not set to start on demand.
Short file name creation should be disabled.  

Do you know how to fix them?

Zaheer IqbalTechnical Assurance & Implementation
# disable 8.3 filenames REG add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem" /v "NtfsDisable8dot3NameCreation" /T REG_DWORD /D "1" /f 

# set srv.sys to start on demand REG add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer" /v "DependOnService" /T REG_MULTI_SZ /D "SamSS\0Srv" /f
REG add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\srv" /v "start" /T REG_DWORD /D "3" /f