重启后USB共享丢失

发布于 2025-01-07 03:15:29 字数 145 浏览 5 评论 0原文

我经常遇到 USB 供电的外部驱动器上的共享文件夹在重新启动/恢复后丢失的问题。发生这种情况时,我每次都需要重新创建共享。

我在网上看到过类似的问题,但似乎没有人有好的答案。

我在辅助 PC 上使用此共享进行备份,因此共享保持活动状态非常重要。

I'm having a constant problem with a shared folder on a USB powered external drive being lost after a reboot/resume. When this happens, I need to recreate the share each time.

I've seen similar questions on the net, but nobody seems to have a good answer.

I'm using this share on a secondary PC to make backups to, so it's rather important that the share remains active.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

谷夏 2025-01-14 03:15:29

我不知道这是否完全适合您,但这与我必须处理的非常相似的经历有关。如果映射是从需要在加载完整用户配置文件之前执行的登录脚本发生的,则以下情况可能适用于您:

Registry Key:  HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
Value Name:  RunLogonScriptSync
Data Type:  REG_DWORD
Value:  0 The logon script and Windows Explorer can run simultaneously.
Value:  1 Windows Explorer does not start until the logon script has finished 
        running.

Resource:  http://technet.microsoft.com/en-us/library/cc962720.aspx

尝试将指定的 valuename 设置为 REG_DWORD 1。这将强制在加载之前发生脚本和映射探险家。即使您不确定这是否真的适用于您,也请尝试一下并告诉我。

希望有帮助!

仅供参考 - HKLM 也有一个类似的密钥,适用于所有用户。

I don't know if this is totally the answer for you, but it's relevant to a very similar experience that I've had to deal with. If the mapping is occurring from a logon script that needs to execute prior to the full user profile from loading, the following might apply to you:

Registry Key:  HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
Value Name:  RunLogonScriptSync
Data Type:  REG_DWORD
Value:  0 The logon script and Windows Explorer can run simultaneously.
Value:  1 Windows Explorer does not start until the logon script has finished 
        running.

Resource:  http://technet.microsoft.com/en-us/library/cc962720.aspx

Try setting the specified valuename to a REG_DWORD of 1. This will force scripts and mappings to occur before loading Explorer. Even if you're not sure that this really applies to you, give it a shot and let me know.

Hope that helps!!

FYI - There is also a similar key for HKLM that will apply to all users.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文