User reports that 2iC pallets is showing “Disk or network error” regularly throughout the day
![](https://toggen.com.au/wp-content/uploads/2023/07/image-2.png)
Suspected Cause
The network drive is on Windows 11 Pro is disconnecting every 15 minutes
Default Windows 11 Pro Disconnect Timeout:
![](https://toggen.com.au/wp-content/uploads/2023/07/image-1024x118.png)
After change to basically setting it to never disconnect
![](https://toggen.com.au/wp-content/uploads/2023/07/image-1.png)
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.
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