自 Windows 1709 起,我如何使用 SMB1 重新启用连接网络驱动器

Pau*_*lor 4 networking windows network-shares smb readynas

我今天发现我无法再挂载我的 Netgear ReadyNas 驱动器,因为它显然使用的是SMB1并且自 1709 版以来 Windows 10 已被禁用。这是非常有问题的,因为我需要访问这些文件,因为我丢失了 ReadyNas 的管理员密码本身,所以我无法登录以更新/重新配置它以使用 SMB2。

Microsoft 将我推荐给https://support.microsoft.com/en-us/help/4034314/smbv1-is-not-installed-by-default-in-windows,后者又将我推荐给https://support.microsoft .com/en-us/help/2696547/how-to-detect-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-如果我真的想重新启用SMB1

我通过运行成功地重新启用了 SMB1

Enable-WindowsOptionalFeature -Online -FeatureName smb1protocol
Run Code Online (Sandbox Code Playgroud)

从 Powershell 作为管理员。

但是,即使在重新启动后,我仍然无法从 Windows 资源管理器重新建立到我的 Netgear 的连接,它给出了同样的错误

我还需要做什么?

PS C:\WINDOWS\system32> Get-WindowsOptionalFeature –Online –FeatureName SMB1Protocol


FeatureName      : SMB1Protocol
DisplayName      : SMB 1.0/CIFS File Sharing Support
Description      : Support for the SMB 1.0/CIFS file sharing protocol and the Computer Browser protocol.
RestartRequired  : Possible
State            : Enabled
CustomProperties :
                   ServerComponent\Description : Support for the SMB 1.0/CIFS file sharing protocol and the Computer
                   Browser protocol.
                   ServerComponent\DisplayName : SMB 1.0/CIFS File Sharing Support
                   ServerComponent\Id : 487
                   ServerComponent\Type : Feature
                   ServerComponent\UniqueName : FS-SMB1
                   ServerComponent\Deploys\Update\Name : SMB1Protocol
Run Code Online (Sandbox Code Playgroud)

解决方案

谢谢 Bob,SMB 1.0/CIFS 文件共享支持已启用,但其中SMB 1.0 客户端 未启用,选中该框并重新启动解决了问题。

Pau*_*lor 5

问题是,虽然我已经成功地重新安装了 SMB1,但 SMB1 客户端还没有启用,所以如果你遇到这个问题,有两个阶段。

首先重装SMB1.0

  • 在任务栏中搜索Windows Powershell然后以管理员身份运行
  • 运行Enable-WindowsOptionalFeature -Online -FeatureName smb1protocol
  • 重启

现在重新启用客户端支持

  • 在任务栏中搜索控制面板并启动它
  • 选择程序和功能
  • 选择左上角的打开和关闭 Windows 功能
  • 在列表中查找SMB 1.0/CIFS 文件共享支持
  • 单击+按钮展开
  • 确保启用所有三个 SMB 选项
  • 单击确定
  • 重启