A very annoying issue that has been with us for three generations of Windows now (since Windows 7) is that if you have an File Explorer window open connected to a network location when you put the computer to sleep, it will wake with an error stating it could not connect to the network. The issue is that Windows tries to refresh the File Explorer window prior to the network being available. I often have several File Explorer windows open to different network locations as work which means having to click "OK" to dismiss the error dialogue several times every time my computer wakes from sleep.
Is there a way to stop this error appearing? I see several other threads around the deal with the issue but no real permanent solutions.