Network or Disk error Reported by 2ic Pallets after upgrade to Windows 11

Written by James McDonald

July 12, 2023

User reports that 2iC pallets is showing “Disk or network error” regularly throughout the day

Suspected Cause

The network drive is on Windows 11 Pro is disconnecting every 15 minutes

Default Windows 11 Pro Disconnect Timeout:

After change to basically setting it to never disconnect

Access requires a fast and stable network connection when opening databases over a local area network. There are two common causes using mapped drives which may result in an interruption to the network connection:

  • A group policy that maintains the mapped drive is using Replace instead of Update. This results in the mapped drive being disconnected and reconnected during each group policy refresh interval.
  • The mapped drive detects an idle period resulting in the drive performing an auto disconnect.

https://learn.microsoft.com/en-AU/troubleshoot/windows-client/networking/mapped-drive-connection-to-network-share-lost

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters

autodisconnect REG_DWORD ffffffff

autodisconnect in decimal 4294967295

Get-Itempropertyvalue -Path 'Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters' -Name autodisconnect

Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters' -Name autodisconnect -Type DWord -Value 4294967295

0 Comments

Submit a Comment

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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Robocopy exclude Directories

Just trying to copy everything except a couple of directories from a drive to my NAS This is the secret incantation of...