Whenever I get disconnected from my network drives and I happen to have like 10 folders of the network drive folders opened, 10 of these pop-ups will show up and I cannot close any of the windows unless I manually click on OK on every popup. Could I disable this error message somehow?
2 Answers
I found a guide that I sadly cannot follow without admin rights.
But in short:
- Open the Registry Editor
- Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider
- Create a "DWORD Value" called RestoreConnection and set the value to 0 (or change value if it already exists)
-
I assume this will disable restore connection, not just the error message. I wonder about the consequence of this? Maybe none, time will tell :-/– MrCalvinCommented Feb 10, 2022 at 6:49
-
I would expect the value should be
1
for NOT restoring connection. I assume0
is default (and0
didn't change anything for me). I'll give1
a try.– MrCalvinCommented Mar 20, 2022 at 7:42 -
For me, neither '1' nor '0' changed the behaviour, when disconnecting my VPN I got the usual behaviour with an error message about network drives being no longer available. Commented Dec 20, 2023 at 7:12
Happens to me all the time.
I use AutoHotkey quite often, so I wrote this script and run it every time these messages pop up.
wintitle:="Restoring Network Connections"
Loop {
if (WinExist(wintitle))
{
WinActivate, %wintitle%
WinWaitActive, %wintitle%,,3
Send, {Return}
Sleep, 200
}
else
{
ExitApp, 0
Return
}
}
It cycles through these windows and presses Enter on each to close them.
explorer.exe
and doesn't appear intasklist /V | find /i "Restoring"
.