banner



Mapped network drives not showing, connecting or working

Download PC Repair Tool to quickly find & fix Windows errors automatically

Mapped Network Drives are very useful when you need to connect to a drive which is on a dissimilar reckoner, or on an external storage. It makes accessing files piece of cake. However, if your mapped network drives don't work in Windows 10 v1809, then its definitely an annoyance.

There are many ways Windows notifies about its unavailability. Information technology could be crimson X that appears on the network drives or says unavailable when used from the control prompt or through a notification. It may so happen that network bulldoze takes more than usual to connect, and so we would recommend you lot run a few scripts when you log in to your figurer.

Mapped network drives non working

Before nosotros go alee with the workarounds, you lot should know that some workout works under sure scenarios. One might need network admission at logon, while others may need access to grouping policy settings. So choose what works for you.

If Mapped network drives are non showing, connecting or working in Windows 10 once you logon to the computer, you tin attempt these workarounds which use scripts to brand sure you are continued to them as before long as you showtime using your computer.

Create Scripts

In that location are two scripts hither. MapDrives.ps1 which are executed by MapDrives.cmd, and its done at a regular (non-elevated) control prompt.

Create a script file named MapDrives.cmd, and and so save it on a identify where the files will be safe.

PowerShell -Control "Set-ExecutionPolicy -Scope CurrentUser Unrestricted" >> "%TEMP%\StartupLog.txt" 2>&1  PowerShell -File "%SystemDrive%\Scripts\MapDrives.ps1" >> "%TEMP%\StartupLog.txt" two>&ane

Similarly, create a script file named MapDrives.ps1 with the beneath content. Keep both the scripts in the same folder.

$i=iii while($Truthful){     $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 fault mapping $MappedDrive.RemotePath to $MappedDrive.LocalPath"         }     }     $i = $i - 1     if($fault.Count -eq 0 -Or $i -eq 0) {break}      Start-Sleep -Seconds thirty  }

Possible ways to execute the script to connect to mapped network bulldoze

one] Create a startup item

This works only for the devices that accept network access at login. If it's not there, the script will fail to automatically reconnect the network drivers.

  • Open Startup folder located at%ProgramData%\Microsoft\Windows\Start Menu\Programs\StartUpand re-create-paste MapDrives.cmd inside information technology.
  • Open Scripts folder located at and %SystemDrive%\Scripts\copy-paste MapDrives.ps1 in that folder.

This volition create a log file named as StartupLog.txt in the %TEMP% folder. Adjacent, log out of the machine, and then re-login. This volition make certain the mapped drives open up.

2] Create a scheduled task

Create Task Scheduler Task for Mapping Network Drive

It is possible to create a scheduled task which runs equally shortly as the user logs-in to the figurer. First copy the script file MapDrives.ps1 to the scripts folder of Windows at%SystemDrive%\Scripts\.Next launch the Task Scheduler. You can search for in the search box, and it will appear.

  • Select Activeness > Create Job and in the General tab type a proper name and description of the task.
  • Next, click on theChange User or Group button, and select a local user or group. Then selectOK.
  • Check the box which says "Run with highest privileges"
  • Switch to Triggers Tab, and create a new trigger with the option "At Logon" in the Brainstorm the task drib-down. Click ok.
  • Next, switch to the Actions tab
    • Create a new action, and choose to Start a program.
    • In the Program/Script field typePowershell.exe.
    • In theAdd arguments (optional) field, type the post-obit:
      -windowsstyle hidden -command .\MapDrives.ps1 >> %TEMP%\StartupLog.txt 2>&i
    • In theOutset in (optional)field, type the location (%SystemDrive%\Scripts\) of the script file.
  • On theWeather condition tab, select theStart merely if the following network connectedness is an availableselection, selectWhatsoever connexion, then selectOK.

Set Action to start a program

Reboot or Log off from your account, and log back to so the chore an execute.

3] Group Policy settings

This is needed if the If the mapped drives are defined through the Grouping Policy settings. You will need to update the action of the drive maps toSupervene upon.

Group Policy for Drive Maps

In turn, information technology will delete the existing mapped drive and create the mapping again on each logon. Yet, any settings on the mapped bulldoze that are changed from the Group Policy settings will be lost on each logon. If the changes practise not piece of work, run thegpupdate control with the/force parameter to refresh the Grouping Policy setting correct away.

One of these solutions suggested by Microsoft should help you lot fix your trouble for Mapped network drives don't work in Windows 10. Let us know which one worked for you.

Mapped network drives don't work

Anand Khanse is the Admin of TheWindowsClub.com, a 10-twelvemonth Microsoft MVP (2006-xvi) & a Windows Insider MVP. Please read the entire postal service & the comments commencement, create a System Restore Point before making whatever changes to your organisation & be careful about whatsoever 3rd-party offers while installing freeware.

Source: https://www.thewindowsclub.com/fix-mapped-network-drives-dont-work-windows-10

Posted by: houstonallond.blogspot.com

0 Response to "Mapped network drives not showing, connecting or working"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel