大网数据广告活动
服务器运维问答

SMBv2 and Windows 7

· 52CE 我爱测

After disabling SMBv1 through some Firewalls within my network, I'm encountering a problem between a nas and the windows 7 workstations. C:\Users\Username>net use * \\NAS.FQDN\SHARENAME System error 64 has occurred. The specified…

问题原文

原帖链接 · Wheatstone · CC BY-SA 3.0

After disabling SMBv1 through some Firewalls within my network, I'm encountering a problem between a nas and the windows 7 workstations.

C:\Users\Username>net use * \\NAS.FQDN\SHARENAME
System error 64 has occurred.

The specified network name is no longer available.

SMBv1 is properly disabled onto the client [SC] QueryServiceConfig SUCCESS

    SERVICE_NAME: lanmanworkstation
            TYPE               : 20  WIN32_SHARE_PROCESS
            START_TYPE         : 2   AUTO_START
            ERROR_CONTROL      : 1   NORMAL
            BINARY_PATH_NAME   : C:\Windows\System32\svchost.exe -k NetworkService
            LOAD_ORDER_GROUP   : NetworkProvider
            TAG                : 0
            DISPLAY_NAME       : Workstation
            DEPENDENCIES       : Bowser
                               : MRxSmb20
                               : NSI
            SERVICE_START_NAME : NT AUTHORITY\NetworkService

But my firewall and wireshark just shows SMB and no SMB2 protocol.

Is windows 7 encapsulating SMBv1 and SMBv2 using the same header ?

I've checked with both IP and FQDN, nothing is working, I tried by disabling netbios over TCP/IP, results are always the same.

In order to get this working, dropping the FW rule for SMBv1 is the only solution ? Or is there any update to change this behavior on win7 ?

已采纳解答

原帖链接 · bjoster · CC BY-SA 3.0

SMB protocol handshake is always SMB, for backwards compatibility. The connection is upgraded later on. If you deny all packets with SMB headers, no connection will be established.

You cann see this in a successful protocol negotiation:

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2017-10-11)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。