Here's a really weird problem. I have a small company that is still running Windows SBS 2011 with about 19 computer connected to a domain. They are probably going to retire the server but Covid has changed plans for now.
One of the workstations (Windows 10 Pro) was intermittently having problems connecting to the domain controller. After a good deal of troubleshooting (more on this below) what I found was this. When starting or restarting the workstation, if I logged in immediately to Windows, everything was fine. If I restarted and left it on the Lock screen (or windows login screen) for a few minutes, it failed to connect to the domain and the network shares did not work. It does start up but if I try to access the network shares I get: "P:\ is not accessible. The system cannot contact a domain controller to service the authentication request. Please try again later" (also when I try accessing files from the UNC address). If I restart and immediately log in, its fine. I can log out and leave it for an extended period of time and its fine. Only when I shut down & start or restart and leave it on the login screen for a few minutes, do I have this problem. There is no hardware firewall that restricts LAN traffic, only a Google Wi-Fi that has NAT-translation firewall from outside the LAN.
Some of the things I have done that haven't helped are:
- Reset the Network
- Reset the firewall to default
- Turn off the firewall (Windows Defender) entirely
- SFC.exe /scannow
- Run the following command: dism /online /cleanup-image /restorehealth
- Removed the computer from the domain and rejoined
- ran an in-place Windows reinstall (a windows upgrade, not a "reset this PC") I will do a full reset only if I have to, as it takes me almost 6 hours to reinstall all software packages we use.
- switched from the ethernet adapter to the Wifi adapter
- Tried using different user accounts on this workstation (including the domain administrator account)