

Save the file using this name and extension: MapDrives.ps1.Write-Host "There was an error mapping $MappedDrive.RemotePath to $MappedDrive.LocalPath" New-SmbMapping -LocalPath $MappedDrive.LocalPath -RemotePath $MappedDrive.RemotePath -Persistent $True $MappedDrives = Get-SmbMapping |where -property Status -Value Unavailable -EQ | select LocalPath,RemotePath Copy and paste the following script in the text file:.To create the PowerShell script, use the following steps: Save the file using this name and extension: MapDrives.cmd.Click the File menu, and select the Save As option.PowerShell -File "%SystemDrive%\Scripts\MapDrives.ps1" > "%TEMP%\StartupLog.txt" 2>&1 To create the Command Prompt script, use the following steps:Ĭopy and paste the following script in the text file: PowerShell -Command "Set-ExecutionPolicy -Scope CurrentUser Unrestricted" > "%TEMP%\StartupLog.txt" 2>&1 Use the instructions outlined below to create the required scripts.

If you're in an Active Directory domain, Microsoft also suggests reconfiguring the Group Policy settings.Īlternatively, if you don't want to deal with this issue, you can also defer this feature update until a permanent fix becomes available. You can resolve the mapped network drives problem by creating and running two scripts either using the StartUp folder or running a task when the user signs into their account. How to fix mapped network drives problem on Windows 10 In this Windows 10 guide, we'll walk you through the steps prevent mapped network drives problems after upgrading to the October 2018 Update. However, in the meantime, the company is offering a workaround to mitigate the bug. While Microsoft is aware of the problem, a permanent fix isn't expected until sometime in 2019.


VPN Deals: Lifetime license for $16, monthly plans at $1 & more
