Top 6 Ways to Fix Failed to Reconnect to All Network Drives Error in Windows 10

Every external device on your computer uses specific network drivers. Drives are usually mapped at startup, making them recognizable by your computer. Sometimes, however, there may be problems mapping drives. If you are experiencing the Could not reconnect to all network drives on your computer error, there are ways to fix it.

The error mostly occurs if there is a delay while connecting to the drive. It can also happen if an external device is faulty or disconnected. You can try these six fixes to fix the error.

1. Force Windows to Network Standby

If the error occurs because Windows tries to map drivers before they are available, you can force Windows to wait for the network. To do this, change the local group policy.

Stage 1: Press Windows + R keys to open the dialog.

Step 2: Medicine gpedit.msc in the text box and click OK to open the Local group policy editor window.

Run GPEDIT

Stage 3: Click Computer configuration, tap Administrative Templates, then select System and finally press Login.

Local Group Policy Editor Computer Configuration

Step 4: In the right pane, find the ‘Always wait for computer startup and network login’ option. Right click on it and select Edit.

Always Wait for Network Local Group Policy Editor

step 5: Select the Enabled button, then press OK and Apply.

Enable Always Wait for Network on Computer Startup

Step 6: Restart your PC to update the changes.

2. Use Command Controls to Map Drives

Another solution would be to create scripts that run on startup. Here’s how you can do that.

Stage 1: Open Notepad and paste this script.

PowerShell -Command "Set-ExecutionPolicy -Scope CurrentUser Unrestricted" >> "%TEMP%\StartupLog.txt" 2>&1 PowerShell -File "%SystemDrive%\Scripts\MapDrives.ps1" >> "%TEMP%\StartupLog.txt" 2>&1
Script for startup logs

Step 2: Click the file option, select Save as and name the file .cmd to save it on your computer.

Save Notepad File

Stage 3: Open another Notepad and copy and paste this script.

$i=3 while($True){ $error.clear() $MappedDrives = Get-SmbMapping |where -property Status -Value Unavailable -EQ | select LocalPath,RemotePath foreach( $MappedDrive in $MappedDrives) { try { New-SmbMapping -LocalPath $MappedDrive.LocalPath -RemotePath $MappedDrive.RemotePath -Persistent $True } catch { Write-Host "There was an error mapping $MappedDrive.RemotePath to $MappedDrive.LocalPath" } } $i = $i - 1 if($error.Count -eq 0 -Or $i -eq 0) {break} Start-Sleep -Seconds 30 }
Power Shell Script for Startup Log

Stage 3: Name the file like this DriveMap.ps1.

In relation :  Minds: Anonymous hails this encrypted social network that protects your privacy!

Restart your computer and these scripts will run at startup.

3. Disconnect Network Drive

Sometimes, disconnecting all your network drives can be the solution you need to clear the error. Here’s how you can do that.

Stage 1: Open File Explorer, right click on This PC option and press Unmount network drive.

Disconnect This Computer's Network Drive

Step 2: Find the problematic network driver. Right click on it and select Disconnect.

Note: Normally, the problem drive will have a red X on it.

Search Network Drive to Disconnect

Stage 3: Restart your computer and your network will only pair connected devices.

4. Reconnect the Real External Drive

Eject Re-plug and Restart Windows

If the error is caused by a disabled external device, reconnecting the actual drive may be a possible solution. By reinstalling or positioning the drive correctly, you allow the computer to remap it.

5. Disable Notification on Windows Startup

Disabling notifications can also help fix the ‘failed to reconnect to all network drives’ error. Follow these steps to change the settings.

Stage 1: Press Windows + R and type regedit in the Run dialog.

run regedit

Step 2: Find the key below and click it.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider
Registry Editor Find Network Provider

Stage 3: In the right pane, double-click Restore Connection and set the value to 0. Click OK to save the changes.

Set Value in Registry Editor

If Restore Connection is not available, you can add it from Network Provider option. Here’s how you can do that.

Stage 1: Scroll to the network provider.

Step 2: Right-click to select New, then the D-Word value and rename the new folder to Restore Link. Set the value to 0.

Then restart your PC.

Create new registry editor

6. Use Task Scheduler to Map Drives at Startup

You can also fix the error by scheduling a task that runs at startup. Use these steps to create and execute tasks.

Stage 1: Open the file explorer and use the search tab to find it. DriveMap.ps1 folder created in above solution. Copy the file.

Step 2: Go to windows search bar, type Task scheduler and open App.

Task Scheduler Search

Stage 3: Expand the Action option and select Create task.

Create Task Scheduler

Step 4: Go to the General tab and name the file.

Step 5: Press the Change User or Group button to select a local user or group.

Step 6: Scroll to the bottom of the page and check Run with highest privileges, then click OK.

General Tab Task Scheduler

Step 7: Scroll to the top of the page and select the Triggers tab.

Trigger Tab Task Scheduler

Step 8: In the Start task option, select At Login and click OK.

In relation :  How to Change the Color of an Object in Photoshop
Edit Trigger Tab Task Scheduler

Step 9: Go to the Actions tab and press New.

Action Tab Task Scheduler

Step 10: Specify which actions to take by selecting the Start a program option.

Step 11: Browse or paste your PowerShell script and hit OK.

Edit Action Tab Task Scheduler

Step 1/2: Select the Conditions tab and scroll down to Network.

Step 13: Check Start only if the following network is available.

Step 14: Select Any network from the drop-down menu and click OK.

Conditions Tab Task Scheduler

Restart the computer to confirm if the error is cleared.

Reconnecting All Network Drives

It is possible to clear the ‘failed to reconnect to all network drives’ error by forcing Windows to wait for the network. At times, disconnecting and then reconnecting external drives can help resolve the error. Other times, running scripts can help map drives on startup.

Moyens I/O Staff has motivated you, giving you tips on technology, personal development, lifestyle and strategies that will help you.