6

error message pic

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
  • Annoying the window appears to be part of explorer.exe and doesn't appear in tasklist /V | find /i "Restoring".
    – Richard
    Commented Oct 12, 2020 at 12:00
  • I know this question is 2 year old, but I just wish these could be a toast notification and not a modal dialog. Commented May 10, 2021 at 15:17

2 Answers 2

0

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)
3
  • I assume this will disable restore connection, not just the error message. I wonder about the consequence of this? Maybe none, time will tell :-/
    – MrCalvin
    Commented Feb 10, 2022 at 6:49
  • I would expect the value should be 1 for NOT restoring connection. I assume 0 is default (and 0 didn't change anything for me). I'll give 1 a try.
    – MrCalvin
    Commented 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
0

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .