Skip to content
Follow
Windows 🟡 Intermediate

How to Change Windows 11 File Sharing Encryption Level

Richard
Written by
Richard
Mar 25, 2026 Updated Aug 1, 2026 7 min read
How to Change Encryption Level for File Sharing Connections in Windows 11
How to Change Encryption Level for File Sharing Connections in Windows 11

Changing the encryption level for file sharing connections in Windows 11 adjusts how securely your computer scrambles data when you share files or printers over a network.

Windows 11 uses strong 128-bit encryption by default to protect your shared information. This strong encryption acts like a secure secret code, making it very difficult for unauthorized people to read your files when you share them.

Older devices or network equipment may struggle with the high security level for file sharing connections. If you experience connection problems, especially with older gear, lowering the encryption level to AES-128-CBC can help compatibility for Windows 11 file sharing.

Changing the encryption level for Windows 11 file sharing connections makes it easier for different devices on your network to communicate. This improvement is important for ensuring secure data transfer between your computers.

⚡ Quick Answer

Adjust file sharing encryption in Windows 11 via Settings or Control Panel. Navigate to Advanced sharing settings, expand “All networks,” and choose “128-bit encryption” or “40- or 56-bit encryption” under File sharing connections.

Option 1Change Encryption Using Windows Settings (🪟 Windows 11 Version 22H2 and newer)

You can change the Windows 11 file sharing encryption level using the Settings app if you have version 22H2 or newer. This is the easiest way to adjust how securely your computer shares files. First, open Settings by pressing the ⊞ Win+I. Then, go to Network & internet, and click on Advanced network settings to find the sharing options.

  1. Open Settings. Press the Windows key + I keys on your keyboard.
  2. Go to Network & internet. In the left-hand menu, click “Network & internet.” Then, on the right side, click “Advanced network settings.”
  3. Find Advanced sharing settings. Scroll down on the “Advanced network settings” page and click on “Advanced sharing settings.”
  4. Expand All networks. Under “Advanced sharing settings,” click the arrow next to “All networks” to see more options.
  5. Choose your encryption level. Look for the “File sharing connections” menu. You have two choices:
    • 128-bit encryption (recommended): This is the most secure option and is usually the default. Use this if your devices support it.
    • 40- or 56-bit encryption: Choose this if you have trouble connecting with older devices or specific network hardware. This is less secure but works with more devices.

    Click your preferred option from the drop-down menu.

  6. Close the Settings window. Your changes are saved automatically.
Windows 11 advanced network settings tile for Wake on LAN.
Windows 11 advanced network settings tile for Wake on LAN.
Windows 11 advanced sharing settings screen showing network profiles.
Windows 11 advanced sharing settings screen showing network profiles.
Windows 11 advanced sharing settings for file sharing connections.
Windows 11 advanced sharing settings for file sharing connections.

Option 2Change Encryption Using Control Panel (Older 🪟 Windows 11 Versions)

If you are using an older version of Windows 11, before build 22509.1011, you can change the Windows 11 file sharing encryption settings through the Control Panel. Open the Control Panel by clicking the Start button and typing 'Control Panel'. Make sure your view is set to 'Large icons' or 'Small icons' to see all the available options clearly.

  1. Open Control Panel. Click the Start button, type Control Panel, and then click on the Control Panel app in the search results.
    💡Tip
    Make sure your Control Panel is set to view by “Large icons” or “Small icons” to see all options. If it's set to “Category,” click “Network and Internet” first.
  2. Go to Network and Sharing Center. Click on the “Network and Sharing Center” icon.
  3. Access Advanced sharing settings. On the left side of the Network and Sharing Center, click “Change advanced sharing settings.”
  4. Expand All networks. Click the arrow next to “All networks” to show more options.
  5. Select your encryption level. Under the “File sharing connections” section, choose either:
    • 128-bit encryption (recommended)
    • 40- or 56-bit encryption
    • Click the circle next to your choice.
  6. Save changes. Click the “Save changes” button at the bottom. If you don't do this, your setting won't be applied.

    Save changes by clicking the "Save changes" button. Without saving, your setting will not be applied. If you do not see the "File sharing connections" option, you are likely using a newer Windows 11 version (version 22H2 or later) where this setting resides in the Settings app.

  7. Close the Control Panel window.
Changing file sharing encryption level in Windows 11 advanced settings.
Changing file sharing encryption level in Windows 11 advanced settings.

Option 3Manually Change Encryption Using Registry Editor

You can manually change the Windows 11 file sharing encryption level using the Registry Editor (Regedit). The Registry Editor allows you to make detailed system changes. Before you start, back up your registry by going to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System and saving a copy.

Before you start: It's a good idea to back up your registry. Open Registry Editor, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System, and save a copy of your registry.

Windows 11 file sharing uses 128-bit encryption as the default and recommended setting for maximum security. To apply this setting, open the Registry Editor by typing 'regedit' into the Start menu and selecting 'Registry Editor'. You might need to click 'Yes' on a User Account Control prompt. Then, find the registry path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters.

  1. Open Registry Editor. Click the Start button, type regedit, and click “Registry Editor.” Click “Yes” if a User Account Control (UAC) prompt appears.
  2. Go to the correct registry path. In the Registry Editor, use the left pane to go to this location:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0

    You can also copy and paste this path into the address bar at the top of the Registry Editor and press Enter.

  3. Change or create the NtlmMinClientSec value. In the right pane, look for a value called NtlmMinClientSec. If it's there, double-click it. If not, right-click in an empty space, select New, and then choose DWORD (32-bit) Value. Name it exactly NtlmMinClientSec.
    • Value Name: NtlmMinClientSec

    • Value Type: REG_DWORD
    • Value Data: 20000000 (in hexadecimal)

    Enter 20000000 into the “Value data” box and click “OK.”

  4. Change or create the NtlmMinServerSec value. Look for a value called NtlmMinServerSec. If it's not there, create it as a new DWORD (32-bit) Value. Double-click it.
    • Value Name: NtlmMinServerSec
    • Value Type: REG_DWORD
    • Value Data: 20000000 (in hexadecimal)

    Enter 20000000 into the “Value data” box and click “OK.”

    💡Tip
    The hexadecimal value 20000000 tells Windows to use 128-bit encryption. This is the most secure setting.
  5. Close Registry Editor.
  6. Restart your computer. This helps make sure the changes are applied correctly.

To Use 40- or 56-bit Encryption (Less Secure, More Compatible)

You can choose to use 40-bit or 56-bit encryption for Windows 11 file sharing if you encounter compatibility issues with older devices, though this is less secure. To do this, open Registry Editor by pressing Windows key + R, typing 'regedit', and pressing Enter. Click 'Yes' on the UAC prompt. You will then need to navigate to the specific registry path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0.

  1. Open Registry Editor. Press Windows key + R, type regedit, and press Enter. Click “Yes” on the UAC prompt.
  2. Go to the correct registry path. Navigate to this path:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
  3. Change or create the NtlmMinClientSec value. In the right pane, find or create the NtlmMinClientSec value (as a DWORD (32-bit) Value if it doesn't exist).
    • Value Name: NtlmMinClientSec
    • Value Type: REG_DWORD
    • Value Data: 0 (in hexadecimal)

    Double-click the value, enter 0 in the “Value data” box, and click “OK.”

  4. Change or create the NtlmMinServerSec value. Find or create the NtlmMinServerSec value (as a DWORD (32-bit) Value if needed).
    • Value Name: NtlmMinServerSec
    • Value Type: REG_DWORD

    • Value Data: 0 (in hexadecimal)

    Double-click the value, enter 0 in the “Value data” box, and click “OK.”

    Warning: Setting these values to 0 allows older, weaker encryption methods (40- or 56-bit) to be used. This makes your file sharing connections much less secure.

  5. Close Registry Editor.
  6. Restart your computer. This is needed for the registry changes to work.

Summary

If you're facing Windows 11 file sharing encryption issues, especially with older devices, you can adjust the security level. Newer Windows 11 versions allow changes through the Settings app, while older ones use the Control Panel. For more control, the Windows Registry offers advanced options. Remember, using lower encryption levels can improve compatibility but reduces security.

How to set file sharing permissions in 🪟 Windows 11?

Right-click (or long-press) a file, and then select Show more options. Select Give access to and choose Specific people. Select a user on the network to share the file with or select Everyone to give all network users access to the file.

How do I enable SMB encryption in 🪟 Windows 11?

Go to Computer Configuration Administrative Templates Network Lanman Workstation. Locate Encrypt all SMB client connections or Require Encryption (depending on your Windows 11 build) and double-click it. Set it to Enabled to enforce encryption for all client connections.

How do I know if SMB encryption is enabled?

Steps to Enable or Disable Require SMB Encryption Open Windows Terminal as administrator then select Windows PowerShell tab. You'll see the result as a RequireEncryption output. If it indicates True, then the SMB client encryption is on or enabled.

Is SMB 3.0 encrypted?

This version supports AES-128 GCM encryption in addition to AES-128 CCM encryption added in SMB3, and implements pre-authentication integrity check using SHA-512 hash.

Was this guide helpful?

📬 Get new Windows tips in your inbox
One email when we publish something worth your time. No spam, unsubscribe anytime.
Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

2774 articles → Twitter

📚 Related Tutorials

How to Access Control Panel in Windows 11
Windows How to Access Control Panel in Windows 11
How to Turn On or Off File and Printer Sharing in Windows 11
Windows How to Turn On or Off File and Printer Sharing in Windows 11
How to Verify Device Encryption Support in Windows 11
Windows How to Verify Device Encryption Support in Windows 11
How to Access Settings in Windows 11
Windows How to Access Settings in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *