When using network shares in Windows you probably had this warning. it’s a common problem in windows with many unclear solutions. In this guide, you will permanently disable this message on Windows Vista, 7, 8…
First, open “Regedit.exe”… click “Start” and type “Regedit” :
Then navigate to : KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\
Set or create a new DWORD (Right Click -> New -> Dword) :
Name : “RestoreConnection”
Value : 0
Now restart your computer and the warning message should be disabled.