简体   繁体   English

重新启动后USB共享丢失

[英]USB Share lost after reboot

I'm having a constant problem with a shared folder on a USB powered external drive being lost after a reboot/resume. 我一直遇到问题,重启/恢复后,USB供电的外部驱动器上的共享文件夹丢失了。 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. 我正在辅助PC上使用此共享进行备份,因此共享保持活动状态非常重要。

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. 尝试将指定的值名称设置为REG_DWORD为1。这将强制脚本和映射在加载资源管理器之前发生。 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. 仅供参考-HKLM还有一个类似的密钥,将适用于所有用户。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM