Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Windows (ADMX) · LanmanWorkstation.admx

LanmanWorkstation.admx: 19 policies

Generated from Microsoft Windows Server 2025 Datacenter build 26100 in-box templates + Windows 11 ADMX package (download id 108394) on 2026-12-05. Titles, explanations and "Supported on" text are Microsoft's own, from the en-US ADML file.

Alternative Port Mappings

Per machine Windows 11Windows Server 2025

Supported on: At least Windows Server 2025, Windows 11

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
OptionValueTypeAllowed values
MultiText_AlternativePortMappingsAlternativePortMappingsREG_MULTI_SZText
What it does (vendor explanation)

This policy setting determines the alternative port registry mappings used by the SMB client.

If you enable this policy setting, the first valid mapping will be used if the mapping's server name matches the targeted server name for connectivity.

If you enable this policy setting and do not specify at least one valid mapping, or if you disable or do not configure this policy setting, then the SMB client will refer to other methods of determining alternative port usage such as with the NET USE or New-SmbMapping commands.

Examples:

contososa.file.core.windows.net:tcp:448 edgesrv1.corp.contoso.com:quic:450

How to modify this setting:

Arrange the desired alternative port mappings in the edit box with one mapping entry per line.

The format of each mapping entry specifies a server name, transport type, and port number separated by colons as done so in the example above.

Note: This policy does not require a Windows reboot to take effect.

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Alternative Port Mappings

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_AlternativePortMappings

Audit insecure guest logon

Per machine Windows 11Windows Server 2025

Supported on: At least Windows Server 2025, Windows 11

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
Value nameAuditInsecureGuestLogon
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy controls whether the SMB client will enable the audit event when the client is logged on as guest account.

If you enable this policy setting, the SMB client will log the event when the client is logged on as guest account.

If you disable or do not configure this policy setting, the SMB client will not log the event.

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Audit insecure guest logon

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Name 'AuditInsecureGuestLogon' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_AuditInsecureGuestLogon

Audit server does not support encryption

Per machine Windows 11Windows Server 2025

Supported on: At least Windows Server 2025, Windows 11

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
Value nameAuditServerDoesNotSupportEncryption
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy controls whether the SMB client will enable the audit event when the SMB server doesn't support encryption.

If you enable this policy setting, the SMB client will log the event when the SMB server doesn't support encryption.

If you disable or do not configure this policy setting, the SMB client will not log the event.

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Audit server does not support encryption

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Name 'AuditServerDoesNotSupportEncryption' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_AuditServerDoesNotSupportEncryption

Audit server does not support signing

Per machine Windows 11Windows Server 2025

Supported on: At least Windows Server 2025, Windows 11

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
Value nameAuditServerDoesNotSupportSigning
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy controls whether the SMB client will enable the audit event when the SMB server doesn't support signing.

If you enable this policy setting, the SMB client will log the event when the SMB server doesn't support signing.

If you disable or do not configure this policy setting, the SMB client will not log the event.

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Audit server does not support signing

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Name 'AuditServerDoesNotSupportSigning' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_AuditServerDoesNotSupportSigning

Block NTLM (LM, NTLM, NTLMv2)

Per machine Windows 11Windows Server 2025

Supported on: At least Windows Server 2025, Windows 11

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
Value nameBlockNTLM
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy controls if the SMB client will block NTLM for remote connection authentication.

If you enable this policy setting, the SMB client won't use NTLM for remote connection authentication.

If you disable or do not configure this policy setting, the SMB client can still use NTLM.

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Block NTLM (LM, NTLM, NTLMv2)

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Name 'BlockNTLM' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_BlockNTLM

Block NTLM Server Exception List

Per machine Windows 11Windows Server 2025

Supported on: At least Windows Server 2025, Windows 11

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
OptionValueTypeAllowed values
MultiText_BlockNTLMServerExceptionListBlockNTLMServerExceptionListREG_MULTI_SZText
What it does (vendor explanation)

This policy setting determines if NTLM can be used to access specified servers.

If you enable this policy setting (valid only if NTLM (LM, NTLM, NTLMv2) is blocked), NTLM can be used to access servers specified. Please enter the desired servers (DNS name, IP address or NetBIOS name) in the edit box, one server name per line.

If you disable or do not configure this policy setting, the NTLM access to servers will be determined by other settings.

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Block NTLM Server Exception List

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_BlockNTLMServerExceptionList

Cipher suite order

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
OptionValueTypeAllowed values
MultiText_CipherSuiteOrderCipherSuiteOrderREG_MULTI_SZText
What it does (vendor explanation)

This policy setting determines the cipher suites used by the SMB client.

If you enable this policy setting, cipher suites are prioritized in the order specified.

If you enable this policy setting and do not specify at least one supported cipher suite, or if you disable or do not configure this policy setting, the default cipher suite order is used.

SMB 3.11 cipher suites:

AES_128_GCM AES_128_CCM AES_256_GCM AES_256_CCM

SMB 3.0 and 3.02 cipher suites:

AES_128_CCM

How to modify this setting:

Arrange the desired cipher suites in the edit box, one cipher suite per line, in order from most to least preferred, with the most preferred cipher suite at the top. Remove any cipher suites you don't want to use.

Note: When configuring this security setting, changes will not take effect until you restart Windows.

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Cipher suite order

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_CipherSuiteOrder

Disable SMB compression

Per machine Windows 11Windows Server 2025Windows Server 2022

Supported on: At least Windows Server 2022, Windows 11

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
Value nameDisableCompression
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy controls whether the SMB client will disable (completely prevent) traffic compression.

If you enable this policy setting, the SMB client will never compress data, irrespective of other policies (such as the 'Use SMB compression by default' policy or per-share property).

If you disable or do not configure this policy setting, the SMB client may compress traffic (depending on a combination of other policies and conditions).

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Disable SMB compression

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Name 'DisableCompression' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_DisableCompression

Disabled SMB over QUIC Server Exception List

Per machine Windows 11Windows Server 2025

Supported on: At least Windows Server 2025, Windows 11

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
OptionValueTypeAllowed values
MultiText_DisabledSMBQUICServerExceptionListDisabledSMBQUICServerExceptionListREG_MULTI_SZText
What it does (vendor explanation)

This policy setting specifies the servers the SMB client can connect to over QUIC.

If you enable this policy setting (valid only if SMB over QUIC is disabled), the SMB client can connect to the specified servers over QUIC. Please enter the desired servers (DNS name, IP address or NetBIOS name) in the edit box, one server name per line.

If you disable or do not configure this policy setting, the SMB client's ability to connect to servers over QUIC will be determined by other settings.

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Disabled SMB over QUIC Server Exception List

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_DisabledSMBQUICServerExceptionList

Enable Alternative Ports

Per machine Windows 11Windows Server 2025

Supported on: At least Windows Server 2025, Windows 11

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
Value nameEnableAlternativePorts
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy controls whether the SMB client will enable or disable alternative ports.

If you disable this policy setting, alternative ports will not be used by the SMB client.

If you do not configure this policy setting, alternative ports may be used by the SMB client.

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Enable Alternative Ports

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Name 'EnableAlternativePorts' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_EnableAlternativePorts

Enable SMB over QUIC

Per machine Windows 11Windows Server 2025

Supported on: At least Windows Server 2025, Windows 11

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
Value nameEnableSMBQUIC
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting controls whether the SMB client will enable SMB over QUIC.

If you disable this policy setting, the SMB client will not allow initiating connections over QUIC. In this case, if the user attempts to connect over QUIC, SMB client will attempt to connect over TCP.

If you do not configure this policy setting, the SMB client may allow initiating connections over QUIC.

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Enable SMB over QUIC

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Name 'EnableSMBQUIC' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_EnableSMBQUIC

Enable insecure guest logons

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
Value nameAllowInsecureGuestAuth
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting determines if the SMB client will allow insecure guest logons to an SMB server.

If you enable this policy setting or if you do not configure this policy setting, the SMB client will allow insecure guest logons.

If you disable this policy setting, the SMB client will reject insecure guest logons.

If you enable signing, the SMB client will reject insecure guest logons.

Insecure guest logons are used by file servers to allow unauthenticated access to shared folders. While uncommon in an enterprise environment, insecure guest logons are frequently used by consumer Network Attached Storage (NAS) appliances acting as file servers. Windows file servers require authentication and do not use insecure guest logons by default. Since insecure guest logons are unauthenticated, important security features such as SMB Signing and SMB Encryption are disabled. As a result, clients that allow insecure guest logons are vulnerable to a variety of man-in-the-middle attacks that can result in data loss, data corruption, and exposure to malware. Additionally, any data written to a file server using an insecure guest logon is potentially accessible to anyone on the network. Microsoft recommends disabling insecure guest logons and configuring file servers to require authenticated access."

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Enable insecure guest logons

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Name 'AllowInsecureGuestAuth' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_EnableInsecureGuestLogons

Enable remote mailslots

Per machine Windows 11Windows Server 2025

Supported on: At least Windows Server 2025, Windows 11

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\NetworkProvider
Value nameEnableMailslots
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy controls whether the SMB client will enable or disable remote mailslots over MUP.

If you disable this policy setting, remote mailslots will not function over MUP, hence they will not go through the SMB client redirector.

If you do not configure this policy setting, remote mailslots may be allowed through MUP.

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Enable remote mailslots

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetworkProvider' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\NetworkProvider' -Name 'EnableMailslots' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_EnableMailslots

Handle Caching on Continuous Availability Shares

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
Value nameEnableHandleCachingForCAFiles
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting determines the behavior of SMB handle caching for clients connecting to an SMB share where the Continuous Availability (CA) flag is enabled.

If you enable this policy setting, the SMB client will allow cached handles to files on CA shares. This may lead to better performance when repeatedly accessing a large number of unstructured data files on CA shares running in Microsoft Azure Files.

If you disable or do not configure this policy setting, Windows will prevent use of cached handles to files opened through CA shares.

Note: This policy has no effect when connecting Scale-out File Server shares provided by a Windows Server. Microsoft does not recommend enabling this policy for clients that routinely connect to files hosted on a Windows Failover Cluster with the File Server for General Use role, as it can lead to adverse failover times and increased memory and CPU usage.

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Handle Caching on Continuous Availability Shares

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Name 'EnableHandleCachingForCAFiles' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_EnableHandleCachingForCAFiles

Mandate the maximum version of SMB

Per machine Windows 11Windows Server 2025

Supported on: At least Windows Server 2025, Windows 11

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
OptionValueTypeAllowed values
Version:MaxSmb2Dialect785 (REG_DWORD) = SMB 3.1.1
770 (REG_DWORD) = SMB 3.0.2
768 (REG_DWORD) = SMB 3.0.0
528 (REG_DWORD) = SMB 2.1.0
514 (REG_DWORD) = SMB 2.0.2
What it does (vendor explanation)

This policy controls the maximum version of SMB protocol

Note: This group policy does not prevent use of SMB 1 if that component is still installed and enabled.

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Mandate the maximum version of SMB

PowerShell equivalent (generated from the template)
# Version:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Name 'MaxSmb2Dialect' -Value 785 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_MaxSmb2Dialect

Mandate the minimum version of SMB

Per machine Windows 11Windows Server 2025

Supported on: At least Windows Server 2025, Windows 11

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
OptionValueTypeAllowed values
Version:MinSmb2Dialect514 (REG_DWORD) = SMB 2.0.2
528 (REG_DWORD) = SMB 2.1.0
768 (REG_DWORD) = SMB 3.0.0
770 (REG_DWORD) = SMB 3.0.2
785 (REG_DWORD) = SMB 3.1.1
What it does (vendor explanation)

This policy controls the minimum version of SMB protocol

Note: This group policy does not prevent use of SMB 1 if that component is still installed and enabled.

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Mandate the minimum version of SMB

PowerShell equivalent (generated from the template)
# Version:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Name 'MinSmb2Dialect' -Value 514 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_MinSmb2Dialect

Offline Files Availability on Continuous Availability Shares

Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016

Supported on: At least Windows Server 2016, Windows 10

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
Value nameAllowOfflineFilesforCAShares
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy setting determines the behavior of Offline Files on clients connecting to an SMB share where the Continuous Availability (CA) flag is enabled.

If you enable this policy setting, the "Always Available offline" option will appear in the File Explorer menu on a Windows computer when connecting to a CA-enabled share. Pinning of files on CA-enabled shares using client-side caching will also be possible.

If you disable or do not configure this policy setting, Windows will prevent use of Offline Files with CA-enabled shares.

Note: Microsoft does not recommend enabling this group policy. Use of CA with Offline Files will lead to very long transition times between the online and offline states.

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Offline Files Availability on Continuous Availability Shares

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Name 'AllowOfflineFilesforCAShares' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_EnableOfflineFilesforCAShares

Require Encryption

Per machine Windows 11Windows Server 2025Windows Server 2022

Supported on: At least Windows Server 2022, Windows 11

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
Value nameRequireEncryption
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy controls whether the SMB client will require encryption.

If you enable this policy setting, the SMB client will require the SMB server to support encryption and encrypt the data.

If you disable or do not configure this policy setting, the SMB client will not require encryption. However, SMB encryption may still be required; see notes below.

Note: This policy is combined with per-share, per-server, and per mapped drive connection properties, through which SMB encryption may be required. The SMB server must support and enable SMB encryption. For example, should this policy be disabled (or not configured), the SMB client may still perform encryption if an SMB server share has required encryption.

Important: SMB encryption requires SMB 3.0 or later

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Require Encryption

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Name 'RequireEncryption' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_RequireEncryption

Use SMB compression by default

Per machine Windows 11Windows Server 2025Windows Server 2022

Supported on: At least Windows Server 2022, Windows 11

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation
Value nameEnableCompressedTraffic
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

This policy controls whether the SMB client uses traffic compression by default.

If you enable this policy setting, the SMB client will attempt to compress traffic by default when SMB compression is enabled.

If you disable or do not configure this policy setting, the SMB client will not by default attempt to compress traffic. However traffic compression may be requested by other means. See notes below.

Note: This policy is combined with per-share and per-file handle properties, through which traffic compression may be requested. As well, the SMB server must support and enable compression. For example, should this policy be disabled (or not configured), the SMB client may still perform compression if an SMB server share has compression requested. If this is undesired, and one wishes to completely disable compression, configure the accompanying 'Disable SMB compression' policy instead.

Group Policy path: Computer Configuration > Administrative Templates > Network > Lanman Workstation > Use SMB compression by default

PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Name 'EnableCompressedTraffic' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Networking (TCP/IP, SMB, DNS)ADMX: LanmanWorkstation.admx · policy name Pol_EnableCompressedTraffic