1. Current Location: Home >  Router Encyclopedia >  Transferring files from computers to NAS relies entirely on SMB; Microsoft personally disabolished SMB1

Transferring files from computers to NAS relies entirely on SMB; Microsoft personally disabolished SMB1

SMB protocol diagram: USB drive migration vs. NAS mapped disk, third-generation version evolution versus port 445 blocking

Last time, my cousin's Synology couldn't connect to the shared folder on Win11. I queued with him all night, and in the end, it fell on the SMB signature switch. I wrote about this < a href="https://www.shunot.com/en/nas/1042.html"> I wrote about it 。 After the fix, he asked me a question that stumped me for three seconds: "What exactly is this SMB?" I was stunned not because I didn't know the answer, but because I noticed that after writing so many NAS articles, all about mapping disks, multi-channel, and direct playback all mention SMB, but I never seriously explained what it is. Think about it—this thing is worth a full article—if you have a NAS or any device that has shared files, it runs underneath.

First, let's clarify what SMB is: it turns someone else's folder into your drive letter

SMB stands for Server Message Block. The name sounds impressive, but the work is very simple: having a computer transfer a folder to other devices on the local area network. You type \\192.168.31.10 in Windows Explorer, press Enter, and the movie directory on the NAS will open up before your eyes. Right-click and map the network drive, and it will simply become the Z drive on your computer. The feel in hand is no different from a local hard drive—drag, copy, double-click playback—all with SMB relaying messages from both ends.

This agreement was created in 1983 by an IBM engineer, later adopted by Microsoft as its own son, and Windows has been built on it since the ancestors' generation, so there's no need to install it at all. In the 1990s, you saw 'online neighbors' in your school computer lab—clicking on the shared folder that could access the neighboring machine—that was SMB's earliest mainstream face. Microsoft even renamed it CIFS midway, so if you look through old tutorials, you'll see SMB and CIFS used together—the same thing, two generations of ID cards.

Windows is its home turf, so how does the NAS on Linux say this language? Achieved with an open-source system called Samba, which in the early 1990s was gradually reverse-engineered from network packet capture. The files shared in NAS systems like Feiniu and Synology were all based on it. The SMBD service on my N100 Feiniu is from the Samba family.

Half your house's equipment is secretly talking about it

Many people think SMB is just about 'computers connected to NAS,' but actually, it appears much more frequently. I counted the scenes where my family was using it:

: , , . Phone the printer shares the .
Scenario: Who says SMB, my usage
computer mapped disk, Windows Explorer, NAS photo library and download directory, long-term Z drive, Y drive
TV for moviesTV with built-in player No need to install Jellyfin direct SMB, 4K original drive dragging progress bar without lag
file translation CX file manager My mom's Huawei phone treats the NAS as a local drive and
flipsCUPS running on the NAS old USB printer plugged into NAS, FamilyHome prints with it
Dual-location copy speed increases SMB3 multi-channel Achieving 208MB/s with dual network ports stacked is its new capability

So the impact of "NAS not connecting" is bigger than you might think: TV black screen, phone unable to access the directory, print queue freezing—sometimes the same link is disconnected. That's why I treat it as the main story—before checking for a fault, at least you need to know which wire is broken.

A

forty-year-old agreement, replaced by the third generation

SMB is over forty years old this year and has undergone two major overhauls. Understanding these three generations, many issues of "not connecting" or "being rejected" have their origins.

IBM .
Version Year Birth Background Key Skills
SMB1 (CIFS) 1983Design Microsoft Raised Basic File Sharing, Outdated
SMB2 2006Vista overturned the rewrite command to streamline it, speeding up large file transfers
SMB32012Win8 era end-to-end encryption, signatures, and multi-channel
access

The rewrite of SMB2 deserves more credit. For thirty years, SMB1 has patched and stacked patches, with command sets swelling to over a hundred but still inefficient. Microsoft simply scrapped and started over in Vista, cutting down to nineteen commands and even smoothing out the "batch file transfer" approach. Now, when you copy a Blu-ray disk to your NAS via a gigabit network port and it can run up to 110MB/s, it's all because of that rewrite process.

SMB3 is currently the main force. My cousin's Win11 couldn't connect to the old Synology because SMB3's new rules were in effect—Win11 enforced signature verification, and if the old firmware DSM6 couldn't keep up, it would be shut out. How to fix this pit that article covered it thoroughly, so I won't repeat it here. You just need to remember: compatibility issues between new Windows and old NAS are most likely due to a generation gap, not because of a broken machine.

Why is SMB1 blocked worldwide

?

In May 2017, the WannaCry ransomware virus swept through hundreds of thousands of computers worldwide overnight, halting surgeries in UK hospitals. The key to its entry was a vulnerability in SMB1—the leaked attack tool 'Eternal Blue' specifically cracked this lock, taking XP through Win10. All the files on the victim's machine were encrypted, and they were even forced to hand over Bitcoin to ransom the victims—a debt worth billions of dollars back then.

Microsoft's response says a lot: starting from Windows 1709, SMB1 is no longer installed by default. Note: This is not 'Default Off', it's 'Default Not Off'. You need to manually check it in 'Enable or disable Windows features' yourself. An agreement that had been maintained for over thirty years was scrapped by personal hands simply because it was old and leaking, unable to be repaired.

This has a real impact on those with NAS at home: older devices can't connect to shared devices, so don't rush to downgrade the NAS's "minimum SMB protocol" to SMB1 to accommodate it. For my Feiniu and my cousin's Synology, I always start with SMB2. If you really encounter an old TV box from ten years ago that only recognizes SMB1, you have to choose one of two options: mark a separate corner of that device that can't touch the internal network, or simply spend a few dozen yuan to replace the box—better than tearing down the entire NAS threshold. How to Prevent Ransomware I've written separately; SMB1 is just one of the doors, but it's the most damn one tested in real combat.

445 door was welded shut as soon as you stepped out of the community

SMB runs TCP port 445 on the network. In the early days, it used an old protocol called NetBIOS, used port 139, and also had UDP port name queries for 137 and 138—after Win2000, SMB directly ran TCP, 445 became the main gateway, and 139 took a back seat. When you browse the router port forwarding list, the 445 you see is this one. I wrote an article about the port number, and here I only talk about the special treatment of 445.

What's special about it: your broadband ports 445 are basically blocked to the outside. After Eternal Blue, carriers generally set the 445 inbound limit to prevent home computers from becoming worm jump boards. This means a pitfall many people have fallen into—trying to directly tap the public IP at home to connect to a NAS for sharing at work, but never connect. It's not that you set it wrong, but that the door can't leave the community.

Alternative ways to go out are ready: use a VPN back to your home network, or use the NAS vendor's own relay channel, or if that doesn't work, use FRP for forwarding. Anyway, don't do two things: expose SMBs to the public network (even if the carrier doesn't ban you, you're just running naked), and casually connect to 445 on unfamiliar networks. By the way, SMB3 comes with its own encryption and signatures, so the new ledger for transmission within the LAN is fairly clean. It's the same logic as the difference between HTTP and HTTPS plaintext ciphertext. The new protocol fixes the old problems.

How does it divide its work with WebDAV and NFS

?

SMB isn't the only protocol for transferring files over local area networks; there are two others at home who can handle it, so the division of labor is actually quite clear:

in using for mobile app friendliness
The protocol origins are skilled
SMB Microsoft/Windows in the world of Windows computers and NASmutual access mapping disks, TVs, and
printers WebDAVHTTP family supports a firewall, iOS file apps connect to NAS
NFSUnix/Linux nativeHigh-speed mounting between Linux Linux Rescue Drive NAS hard drive

A rough analogy: SMB is Mandarin in Windows Cells, NFS is the dialect of Linux veterans, and WebDAV is the traveler who can enter anywhere with an HTTP passport. My main devices at home are Windows and Android, so SMB is the default and there's nothing wrong with that; If Apple devices are too many, WebDAV can fill the gap; NFS is left for scenarios that tinker with Linux. If the three do not conflict, one NAS can run three at once.

Here's the troubleshooting order: next time if you can't connect, follow the same procedure: first ping the NAS IP, then confirming both devices are on the same subnet (the guest network and IoT private network are isolated, the mDNS that solves the name can't get past this wall), then check the NAS account permissions and minimum protocol version, all working fine but still sending errors. Then go back to check the SMB signatures and credential cache on the Windows side. Most "can't connect" and die in the first two steps.

Read More


Copyright Notice Scan to read on mobile
All Rights Reserved: 《SHUNOT》 => 《Transferring files from computers to NAS relies entirely on SMB; Microsoft personally disabolished SMB1》
Article URL: https://www.shunot.com/en/lybk/1322.html
Unless otherwise stated, all articles are original by 《SHUNOT》. Reposting is welcome! Please indicate the original URL when reposting, thank you.

Contact Us

Online Consultation: Click here to send me a message

WeChat ID: master_135

Scan to follow