I think this is more a Windows question than a networking question so I am posting it here. It has been annoying me for some time now. Each time Windows does its monthly update/restart routine I lose access to my network drives for a few days.
In the past, I have been running data disks on multiple Windows machines and accessed them from my main PC using shares and mapped network drives for permanent connections. That worked flawlessly even when different machines had different versions of Windows. Now, I am moving toward one central place for all data disks (which is a Debian-based VM on a Proxmox host. There are samba shares shared with the network and accessed from other devices in the network. Since it is for me the simplest to navigate from Windows I set up the mapped network drives for specific locations. When Windows boots for the first time I get the message that it could not connect to all network drives (actually to none of them). I see through my network the shares on a machine that is visible as a member of a workgroup. When I click on a share it opens the login window where I write my Samba credentials and I am greeted with this message:
I do not think that I am accessing multiple resources with different credentials since there is only one Samba user on the machine that shares the folders. About a week later (since I do not turn off the Windows machine), when, I assume, the system flushes the credentials that made the problem the network connections work again until the next restart of the Windows machine (it does not happen on every restart, but it does happen on every system update restart). Is there a way to flush all the credentials used with some manual command (if that is the problem)?
I would assume that the network works fine because even when the problem exists I can open the file explorer app on my phone, select the content to be copied or moved from one device to the other, open shared folders on both, the Windows machine and the Samba share on Debian VM, and initiate the copy/move procedure, and it works (it is just slower and annoying, and it does not solve the problem of using external resources in Windows).
Can you suggest what to try to better understand the problem or a solution that might work?
Thank you
In the past, I have been running data disks on multiple Windows machines and accessed them from my main PC using shares and mapped network drives for permanent connections. That worked flawlessly even when different machines had different versions of Windows. Now, I am moving toward one central place for all data disks (which is a Debian-based VM on a Proxmox host. There are samba shares shared with the network and accessed from other devices in the network. Since it is for me the simplest to navigate from Windows I set up the mapped network drives for specific locations. When Windows boots for the first time I get the message that it could not connect to all network drives (actually to none of them). I see through my network the shares on a machine that is visible as a member of a workgroup. When I click on a share it opens the login window where I write my Samba credentials and I am greeted with this message:
I do not think that I am accessing multiple resources with different credentials since there is only one Samba user on the machine that shares the folders. About a week later (since I do not turn off the Windows machine), when, I assume, the system flushes the credentials that made the problem the network connections work again until the next restart of the Windows machine (it does not happen on every restart, but it does happen on every system update restart). Is there a way to flush all the credentials used with some manual command (if that is the problem)?
I would assume that the network works fine because even when the problem exists I can open the file explorer app on my phone, select the content to be copied or moved from one device to the other, open shared folders on both, the Windows machine and the Samba share on Debian VM, and initiate the copy/move procedure, and it works (it is just slower and annoying, and it does not solve the problem of using external resources in Windows).
Can you suggest what to try to better understand the problem or a solution that might work?
Thank you
Last edited: