How to Turn On SMB Client Encryption in Windows 11
SMB client encryption in Windows 11 scrambles your shared files so no one can spy on or tamper with them as they move across a network. This security setting keeps your data safe every time you connect to a file server.
Windows 11 version 22H2 and newer versions support this protection to lock down your network traffic. You can turn it on using the Group Policy Editor or the Registry Editor (your PC’s central settings database).
You can enable SMB client encryption in Windows 11 using PowerShell, Registry Editor, or Local Group Policy Editor. These methods require administrative privileges and may necessitate a system restart to apply the changes. This setting ensures all SMB client communications are encrypted for enhanced network security.
What is SMB Client Encryption?
SMB client encryption in Windows 11 is a built-in security feature that scrambles data sent across your local network so prying eyes cannot read your shared files and printer traffic. It forces your PC to encrypt information every time you connect to another computer, keeping your private files safe from network snoops.
If the other computer does not support secure encryption, your PC will not connect to it. This helps keep your information safe.
Why Should You Turn On SMB Client Encryption?
- It protects your data from being intercepted or snooped on by others.
- It helps prevent hackers from stealing sensitive information.
- It makes your network safer overall.
How to Check and Turn On SMB Client Encryption Using PowerShell
PowerShell lets you turn on SMB client encryption in Windows 11 by running a quick command as an administrator. You use this method when you want to force your computer to secure all outgoing network connections without digging through graphical menus.
- [ADMIN REQUIRED] Open Windows Terminal as Administrator. You can do this by searching “Windows Terminal” in the Start menu , right-clicking it, and choosing Run as administrator.
- Click the Windows PowerShell tab (if it’s not already selected).
- Type this command and press Enter to check if encryption is required:
Get-SmbClientConfiguration | FL RequireEncryption - If you see
RequireEncryption : False, it means encryption is OFF. - To turn ON SMB client encryption, type this command and press Enter:
Set-SmbClientConfiguration -RequireEncryption $true -Confirm:$false - If you want to turn OFF encryption later, use:
Set-SmbClientConfiguration -RequireEncryption $false -Confirm:$false
How to Turn On SMB Client Encryption Using Windows Registry Editor
Windows Registry Editor lets you turn on SMB client encryption in Windows 11 by creating or changing a specific registry key value. You use this manual method if you prefer editing system settings directly or if command-line tools are not working on your PC.
- [ADMIN REQUIRED] Open the Registry Editor by typing
regeditin the Start menu and pressing Enter. - Navigate to this location:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Lanman\Workstation\Parameters - Look for an entry called
RequireEncryptionin the right pane. - If it's there, double-click it and change the value to
1to turn encryption ON, or0to turn it OFF. - If it's not there, right-click on a blank space, choose New DWORD (32-bit) Value, name it
RequireEncryption, and set its value to1to enable encryption. - Close the Registry Editor and restart your computer to apply the changes.

How to Turn On SMB Client Encryption Using Local Group Policy Editor
Local Group Policy Editor lets you turn on SMB client encryption in Windows 11 through a graphical menu meant for managing advanced security rules. You use this option if your version of Windows includes the policy editor and you want an easy interface instead of typing commands.
- [ADMIN REQUIRED] Open Local Group Policy Editor by searching Edit group policy in the Start menu and clicking it.
- Go to this folder:
Computer Configuration > Administrative Templates > Network > Lanman Workstation - On the right side, find and double-click
Require Encryption. - Choose one of the options:
- Not Configured - Default setting (encryption not required)
- Enabled - SMB client will require encryption to connect
- Disabled - Same as not configured (encryption not required)
- Click OK and restart your PC for the changes to take effect.


Summary
SMB client encryption in Windows 11 keeps your shared files and printers safe by scrambling the data, and you can turn it on using PowerShell, Registry Editor, or Group Policy.Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
No comments yet — be the first to share your thoughts!