How to fix unable to reconnect all network drives issue
Whenever you plug a new external device into your system, Windows will recognize it and map it automatically (alternatively, you can map it manually). This feature ensures that you don't have to manually map all external drives every time you boot. In some cases, you may find this error message popping up in the corner of your screen, saying "Unable to reconnect all network drives". There are some simple solutions to this fix, including remapping the latest external drive again.
Fix 1 – Make sure Windows is actually waiting for network drives
Sometimes, Windows does boot so fast that the network drive fails in such a short time correctly mapped.
1. So, press the ⊞ Win R keys at the same time.
2. Then, enter “ gpedit.msc ” and click “ OK ”.
This will open the Local Group Policy Editor.
3. When it appears, by this way -
计算机配置 > 管理模板 > 系统 > 登录
4. On the right side, you will see the list of policies.
5. Just look for the "Always wait for network at computer startup and logon" policy setting.
6. Simply double-click the policy to change it.
7. Set the policy setting to "Enabled".
8. After that, click "Apply" and "OK" to save the changes.
After that, close the Group Policy Editor. Restart the computer after completion.
Fix 2 – Using a batch file
You can create a batch file and then a powershell script to resolve this issue.
Step 1 CMD script
1. Enter "Notepad" in the search box.
2. Then, click "Notepad" to access.
#2. With Notepad open, copy and paste these lines into Notepad.
PowerShell -Command "Set-ExecutionPolicy -Scope CurrentUser Unrestricted" >> "%TEMP%\StartupLog.txt" 2>&1 PowerShell -文件 "%SystemDrive%\Scripts\MapDrives.ps1" >> "%TEMP%\StartupLog.txt" 2>&1
3. After pasting the line in Notepad, click "File" and click "Save As...".
4. Next, set the file type to "All files".
7. Then, name the batch file " batch.cmd "
8. Navigate to Desktop to save the file. After that, click "Save" to save the file.
After saving the file, go to the next step.
Step 2 – POWERSHELL Script
Now, you have to make a powershell script.
1. Start Notepad again.
2. Now, copy these lines from here and paste them into the terminal.
$i=3 而($真){ $error.clear() $MappedDrives = Get-SmbMapping |where -property Status -Value Unavailable -EQ | 选择本地路径,远程路径 foreach($MappedDrives 中的 $MappedDrives) { 尝试 { New-SmbMapping -LocalPath $MappedDrive.LocalPath -RemotePath $MappedDrive.RemotePath -Persistent $True } 抓住 { 写入主机“将 $MappedDrive.RemotePath 映射到 $MappedDrive.LocalPath 时出错” } } $i = $i - 1 if($error.Count -eq 0 -Or $i -eq 0) {break} 开始-睡眠-秒 30}
3. Now, click on "File" and "Save as..." to continue.
4. Then, just set "Files of type:" to "All files".
7. Just set the name of the powershell script to "MapDrives.ps1".
8. Save this file to your desktop as before.
After saving these files, go to the next step.
Step 3 – Move these scripts
You can move these scripts to the Startup folder.
1. Go to the desktop where these scripts are saved. Right-click on the "batch.cmd" file and click on the copy icon to copy it.
#2. Now you just need to move these files to the "Startup" folder on your system.
%ProgramData%\Microsoft\Windows\开始菜单\程序\启动
[
You can also navigate to this folder from Run.
A sort of. Press the Windows key and R key at the same time to open the running terminal.
Bay. Paste that address there and click "OK".
%ProgramData%\Microsoft\Windows\开始菜单\程序\启动
]
3. 现在,只需将 cmd 脚本粘贴到 Startup 文件夹中。
4. 之后进入系统盘(一般是C盘)。
5. 接下来,创建一个名为“ Scripts ”的新文件夹。
6. 现在,复制“ MapDrives.ps1 ”文件。
7. 将复制的 powershell 文件粘贴到Scripts文件夹中。
完成此操作后,关闭每个窗口并重新启动系统。
修复 3 – 使用注册表禁用通知
只需一个简单的注册表调整,您就可以轻松摆脱启动时烦人的通知。
1.首先在搜索框中输入“ regedit.msc ”。
2.之后,点击“注册表编辑器”访问它。
警告 – 注册表编辑器是系统上最敏感的位置之一。因此,在继续下一步之前,请对您的注册表进行新的备份。
当注册表编辑器打开时,点击“文件”并点击“导出”选项来备份注册表。
3.取完备份后,往这边走——
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider
4. 现在,在右侧窗格中,查找名为“ RestoreConnection ”的值。
5. 如果您找不到任何此类值,只需右键点击空格并点击“ New> ”,然后点击“ DWORD (32-bit) Value ”。
6. 现在,您将值命名为“ RestoreConnection ”。
7. 之后,只需双击它。
8. 将值设置为“ 0 ”。
9. 之后,点击“确定”保存更改。
关闭注册表编辑器。重新启动系统后,检查您是否面临任何此类通知问题。
修复 4 – 断开有问题的驱动器
如果您使用的是配置错误的设备,断开它应该可以帮助您解决问题。
1. 只需同时按下Windows 键+E键。
2. 然后,点击左侧的“这台电脑”。
在这里,您会注意到一起列出的所有驱动器。检查哪些驱动器的名称旁边显示了一个红十字。该设备是错误消息的原因。
3.只需右键点击驱动器并点击“显示更多选项”。
4. 点击“断开连接”以断开驱动器与系统的连接。
断开连接后,重新启动设备。
现在您将停止接收错误消息。另一方面,如果您以后需要它,您可以轻松地重新映射它。
修复 5 – 使用任务计划程序
您可以使用任务计划程序在系统启动时映射驱动器。
1.在搜索框中输入“任务调度程序”。
2.然后,点击“任务计划程序”访问它。
3. 打开任务计划程序屏幕后,点击“操作”,然后单击“创建任务”选项以创建新任务。
4. 在创建任务窗口中,转到“常规”选项卡。
5. 给这个任务起任何你喜欢的名字。
6. 现在,您必须更改特定的用户组。为此,请点击“更改用户或组... ”。选项。
7. 现在,点击“高级”。
8. 只需点击“立即查找”。
9. 之后,查找您的帐户并选择它。
10.接下来,点击“确定”。
11. 最后,点击“确定”继续下一步。
12. 最后,回到创建任务窗口,选中“以最高权限运行”。
13. 然后,转到“触发器”部分。
14. 点击“新建”选项。
15. 接下来,设置“开始任务:”设置“登录时”。
16. 然后,点击“确定”。
17. 转到“操作”区域。
18. 最后,点击“ New… ”选项。
19.在New Action页面中,将“Action:”设置为“ Start a program ”。
20. 之后,点击“浏览… ”。
21. 此外,导航到您之前保存的 powershell 脚本 ( Fix – 2 )。
22.然后,选择powershell脚本并点击“打开”。
23.将其粘贴到“添加参数”框中。
-windowsstyle 隐藏 -command .\MapDrives.ps1 >> %TEMP%\StartupLog.txt 2>&1
24. 在“开始于”框中,粘贴-
%SystemDrive%\脚本\
25. 最后,点击“确定”。
26. 转到“条件”选项卡。
27. 现在,只需检查屏幕上的最后一个选项,“仅在以下网络可用时启动”。
28.从下拉列表中选择“任何连接”。
29、最后点击“确定”,最终创建该任务。
关闭任务计划程序并重新启动系统。
修复 6 – 重新连接外部设备
如果由于外部设备而出现此问题,请尝试重新连接实际的外部设备。
这应该可以解决您面临的问题。
替代提示–
或者,您可以使用任何网络驱动器管理器来更正确地管理网络设备。
The above is the detailed content of How to fix unable to reconnect all network drives issue. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Several Windows users have complained that when they try to access some websites on Google Chrome browser on their systems, they are unable to access the web pages. It also displays a message on the browser saying "The site cannot be reached" with error code ERR_ADDRESS_UNREACHABLE. There could be many potential reasons behind this issue, it could be due to website server issues, proxy server settings, unstable internet connection, etc. If you encounter similar problems, don't panic. After deeply analyzing the problem in this article, we got a bunch of solutions. Before proceeding, try the following workarounds: Try checking if the user is trying to access the site from other devices and there are no issues, then this

No matter how many instant messaging apps have come and gone, email always has a completely different feel to it. Mailing is truly synonymous with Gmail. Not to mention a professional front desk, Gmail is unavoidable, just unavoidable! Since Gmail is used so frequently, no matter what, you have to know how to make your Gmail experience the smoothest and most efficient. You will most likely need to add a lot of web links in the body of your email, and it will definitely look unwieldy if you have so many links. But links are definitely necessary, even if long links will definitely make your email look ugly. So is there a way out? What about hyperlinks? How do you hide a link in text or an image? Sound cool? Oh yes, Gmail is

If you have Discord Do Not Disturb enabled, you will not see any notifications on your app. This includes servers, group chats, and direct messages. Discord is a chat application that allows users to communicate through text, pictures, and video calls in games. It is designed to be a communication channel for gamers to chat and coordinate with each other in real time. DND settings allow you to disable all incoming messages you don't want to see. This is useful if you don't want to be disturbed by any messages while you are working. Additionally, you can also try the best Discord bots that can help you manage your guild while you are away. If you're wondering what Discord Do Not Disturb means and how to use it, this tutorial should help. D

As Windows 11 is released to the public, most users are excited to upgrade to the latest version. But some people are facing a very unique problem - Windows 11 cFosSpeed driver error. When users try to upgrade to Windows 11 through Setup, they receive an error message that says Your PC has a service that is not ready for this version of Windows 11. A new version is available. When others try to install the driver and receive the message that cfosspeed driver installation failed. For most people, the cFosSpeed driver itself is a new thing and they have never heard of it before. Therefore, before we proceed

What does graphics device error code 22 mean and what causes it? When you encounter error code 22, you will always see the error message This device is disabled. (Code 22). You can view more details about this graphics device driver error code 22 by going to the Device Status area in the device properties. We also discussed Error code 11 in Windows 43. You can also check out our guide on how to fix graphics device error code 31 on your PC. Device is actually disabled: The device in question may throw you this error code 22 and is actually disabled. There are driver issues: Incompatible or corrupted driver files can also cause multiple issues with the device program. Drivers are not the most

There are many different ways you can play video games on your Windows 11 computer. A classic mouse and keyboard, Xbox controller or PlayStation 4 controller; all run on Microsoft's latest operating system. But there are reports that the PS4 controller may not be recognized on your Windows 11 PC. This may be due to outdated Bluetooth drivers not working properly or DS4Windows not working properly. What are the fixes for PS4 controller not recognized? Your PS4 can connect to your PC via Bluetooth, but many games don't support the controller and prefer Xbox devices. This is how you download and install DS4Windo

While trying to change the permissions of a file or folder, you may often encounter the error - Unable to enumerate objects in container Access is denied. Although as an administrator you can change the access rights, sometimes even an administrator may encounter the same error message. This is a common mistake that is usually made by users on different forums. In this case, even the administrator cannot change the permissions of a specific user or other user groups when access is denied on Windows 10/11. Additionally, many users also face an issue of not being able to enumerate objects during Azure file sharing, which can apparently be solved by assigning the appropriate RBAC role (the elevated participant role for SMB shares that store file data). In this article we

When using Win10 Notepad to input text, many friends want to check how much text they have input. So how to check it? In fact, you can see the number of words by just opening the text properties and checking the byte count. How to check the word count in Notepad in win10: 1. First, after editing the content in Notepad, save it. 2. Then right-click the notepad you saved and select. 3. We see that it is 8 bytes, because the size of each Chinese character is 2 bytes. 4. After we see the total bytes, just divide it by 2. For example, 984 bytes, divided by 2 is 492 words. 5. But it should be noted that each number such as 123 only occupies one byte, and each English word only occupies one byte.