Skip to content

How to Enable SMB Signing and Encryption in Windows Server

Enable SMB signing and SMB encryption on Windows Server: what each protects against, how to require them with PowerShell and Group Policy, and how to avoid breaking clients.

MGMCSA Guru Team November 24, 2026 7 min read
Photographic illustration for How to Enable SMB Signing and Encryption in Windows Server: enterprise server room with directory and network admin console

SMB is how Windows machines share files, and for years it ran with weak defaults: signing was negotiated but not required, and nothing on the wire was encrypted. That left two openings. An attacker on the network could tamper with or relay SMB traffic (the basis of NTLM relay attacks), and anyone capturing packets could read file contents in the clear. SMB signing and SMB encryption close those two gaps.

They’re not the same control, and that distinction is the whole point of this article. Signing protects integrity — it proves packets weren’t altered and blocks relay attacks. Encryption protects confidentiality — it scrambles the data so a packet capture is useless. You can require one, the other, or both, and where you apply each depends on what you’re protecting.

This guide explains what each does, how to enable and require them with PowerShell and Group Policy, and how to roll them out without locking out legacy clients — which is the part that turns a security improvement into a help desk fire if you skip it.

Signing vs encryption: what each one does

SMB signing vs SMB encryption

SMB signing Digitally signs each packet. Detects tampering and blocks SMB/NTLM relay. Data is NOT hidden. Available since SMB 2.
SMB encryption Encrypts data in transit (AES). Prevents reading file contents on the wire. Requires SMB 3.0+.
Use signing when You want integrity everywhere — it's cheap and stops relay attacks. Good as a broad default.
Use encryption when Data is sensitive or crosses untrusted networks. Apply per-share or server-wide.

A useful way to think about it: signing answers “is this packet really from who it claims, unaltered?” Encryption answers “can anyone watching read what’s inside?” An encrypted SMB 3.x connection already includes integrity protection, so the two overlap — but signing still matters for any connection that isn’t encrypted.

Check what’s configured now

Before changing anything, see where the server stands.

# Server-side SMB settings
Get-SmbServerConfiguration |
  Select-Object EnableSecuritySignature, RequireSecuritySignature, EncryptData, RejectUnencryptedAccess

# Client-side SMB settings
Get-SmbClientConfiguration |
  Select-Object EnableSecuritySignature, RequireSecuritySignature

The fields that matter:

  • EnableSecuritySignature — signing is supported/offered.
  • RequireSecuritySignature — signing is required; unsigned connections are refused.
  • EncryptData — encryption required server-wide.
  • RejectUnencryptedAccess — whether clients that can’t encrypt are refused (vs allowed to fall back).

Enabling and requiring SMB signing

Requiring signing is the higher-priority of the two for most networks, because it directly blocks relay attacks and costs little.

With PowerShell

# Require SMB signing on the server (refuse unsigned connections)
Set-SmbServerConfiguration -RequireSecuritySignature $true -Force

# Also require it on the client side
Set-SmbClientConfiguration -RequireSecuritySignature $true -Force

Setting RequireSecuritySignature to $true means the server won’t accept a connection that can’t sign. Setting it on the client means the client won’t connect to a server that won’t sign.

With Group Policy

For a fleet, do this centrally rather than per server. The relevant security options:

Computer Configuration
  > Policies
    > Windows Settings
      > Security Settings
        > Local Policies
          > Security Options
            > Microsoft network server: Digitally sign communications (always)  = Enabled
            > Microsoft network client: Digitally sign communications (always)  = Enabled

“Always” is the required setting; the “if server/client agrees” options only negotiate. Apply the server policy to your file servers (and the client policy to workstations) and let it propagate.

Enabling SMB encryption

Encryption is more selective. You usually don’t need every share encrypted — you need the ones carrying sensitive data, or any access that crosses an untrusted network, to be encrypted.

Per share (the common approach)

# Require encryption on a single sensitive share
Set-SmbShare -Name "Finance" -EncryptData $true -Force

This forces encryption only for the Finance share. Clients that can’t do SMB 3 encryption will be refused access to that share (subject to the server’s unencrypted-access setting), while other shares are unaffected. This is the least disruptive way to add encryption where it matters.

Server-wide

# Require encryption for ALL shares on the server
Set-SmbServerConfiguration -EncryptData $true -Force

Server-wide encryption is appropriate for a file server that holds nothing but sensitive data, or one exposed to a less-trusted network.

Controlling fallback for old clients

By default, a server may allow clients that don’t support encryption to access shares unencrypted. To refuse that fallback and reject any client that can’t encrypt:

# Refuse unencrypted access entirely (clients without SMB3 encryption are blocked)
Set-SmbServerConfiguration -RejectUnencryptedAccess $true -Force

Requirements and compatibility

A quick reference for what supports what.

SMB security feature requirements

SMB signing SMB 2.0 and later — broadly supported by modern Windows and most current devices
SMB encryption SMB 3.0 and later (Windows Server 2012 / Windows 8 and newer)
SMB 3.1.1 (modern crypto) Windows Server 2016 / Windows 10 and newer — preferred dialect
SMB 1 Deprecated. Doesn't support modern signing/encryption. Remove it.

The thread running through all of this: SMB 1 is the enemy of both features. It can’t do modern signing or any encryption, and it’s the protocol behind some of the worst worms in Windows history. Removing it is a prerequisite for a clean SMB security posture and a standard item on any Windows Server hardening checklist.

# Confirm SMB1 is not present, and remove it if it is
Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol
Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol

Roll it out without breaking things

A sane order of operations keeps this from becoming an outage:

  1. Inventory clients and devices. List every non-Windows thing that touches your shares — NAS, printers/scanners, backup appliances, Linux/macOS clients, line-of-business hardware. Confirm each supports SMB signing and (if you’ll encrypt) SMB 3.
  2. Remove SMB 1 everywhere first.
  3. Require signing in waves, watching for connection failures.
  4. Add encryption per share for sensitive data; go server-wide only where appropriate.
  5. Set RejectUnencryptedAccess only after you’ve confirmed all clients of that server speak SMB 3.
# Verify a live connection's dialect and whether it's signed/encrypted
Get-SmbConnection | Select-Object ServerName, ShareName, Dialect, Signed, Encrypted

The Signed and Encrypted columns are your proof it’s actually working, not just configured. If a connection you expect to be protected shows False, the negotiation fell back — check the dialect and the server/share settings.

SMB signing and encryption checklist

  • SMB 1 removed from all servers and clients
  • All SMB clients/devices confirmed to support signing (and SMB 3 if encrypting)
  • SMB signing required via Group Policy, rolled out in stages
  • Sensitive shares set with -EncryptData $true
  • Server-wide encryption applied only where appropriate
  • RejectUnencryptedAccess set only after confirming SMB 3 everywhere
  • Verified with Get-SmbConnection that connections show Signed/Encrypted = True

Wrapping up

SMB signing and encryption protect two different things, and the practical approach reflects that. Require signing broadly — it’s cheap, it blocks relay attacks, and Windows Server 2025 already requires it by default. Apply encryption more surgically, on the shares and servers where confidentiality actually matters or where traffic crosses networks you don’t trust.

The failure mode to plan around is legacy clients. Remove SMB 1 first, inventory every device that touches your shares, and require these protections in waves rather than flipping every switch at once. Verify with Get-SmbConnection that connections really come up signed and encrypted, and you’ve turned a long-standing weak spot in Windows file sharing into a solid one.

Frequently asked questions

What is the difference between SMB signing and SMB encryption?

SMB signing adds a digital signature to each packet so the client and server can detect tampering and relay/man-in-the-middle attacks, but the data itself isn't encrypted. SMB encryption (available from SMB 3.0) encrypts the data in transit so it can't be read on the wire. Signing protects integrity; encryption protects confidentiality. You can use both.

Does SMB encryption require SMB signing?

When a connection is encrypted with SMB 3.x, the encryption already provides integrity protection, so separate signing isn't additionally required for that connection. Signing matters most for connections that aren't encrypted. In practice you require signing broadly and add encryption on shares or servers where confidentiality matters.

Is SMB signing enabled by default in Windows Server 2025?

Yes. Windows Server 2025 and recent Windows 11 builds require SMB signing by default for SMB connections, which is a change from older releases where it was negotiated but not required. Older or misconfigured clients that can't sign may fail to connect, so audit before deploying 2025 file servers widely.

How do I require SMB encryption on a single share?

Use Set-SmbShare with -EncryptData $true on that share, or enable 'Encrypt data access' on the share in the GUI. This forces encryption only for that share, which is useful when most shares are fine unencrypted but one holds sensitive data. You can also require it server-wide with Set-SmbServerConfiguration -EncryptData $true.

Will enabling SMB encryption break old clients?

It can. SMB encryption needs SMB 3.0 or later, so clients that only speak SMB 1 or 2 can't connect to an encryption-required share unless the server allows unencrypted access for older clients. SMB 1 is deprecated and should be removed anyway. Confirm clients support SMB 3 before requiring encryption, especially for NAS devices and appliances.

Does SMB signing or encryption slow down file transfers?

Both add CPU overhead, signing less than encryption. On modern hardware with AES instruction support the impact of encryption is usually modest, and SMB 3.1.1 uses efficient ciphers. For most file-server workloads the security benefit outweighs the cost; test if you run very high-throughput transfers on older hardware.

Sources & further reading

Official vendor documentation referenced while writing this guide.

MG

MCSA Guru Team

IT & Systems Administration

We are working IT pros and system administrators who spend our days in Windows Server, Microsoft 365, and the wider Microsoft stack. MCSA Guru is where we write down the fixes and walkthroughs we wish we had found the first time.

MCSA Guru provides independent, educational IT guidance. Microsoft, Windows, Windows Server, Microsoft 365, Exchange, and Microsoft Teams are trademarks of Microsoft Corporation; Docker is a trademark of Docker, Inc. MCSA Guru is not affiliated with or endorsed by Microsoft or Docker. Always test changes in a safe environment before applying them in production.

Related guides

Fixing something right now?

Jump straight into the guide library or search for the exact error or task you are dealing with.