CPM - What SMB protocol versions are supported by CPM?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

PAM Self-Hosted Articles
3 min read
L0 Member
No ratings

Question

 

What SMB protocol versions are supported by CPM?

 

Answer

 

CPM uses Microsoft API commands ( 'NetUserChangePassword' for a change action, and 'NetUserSetInfo' for a reset (reconcile) action ) to connect to, verify, change and reconcile passwords for Windows accounts.
 

The 'net use' command makes use of SMB (Server Message Block), and at least one matching SMB protocol (SMB1, SMB2 or SMB3) must be enabled on the target machine AND on the CPM in order for successful password management.


The following table lists the default SMB version for each version of Windows OS:

 

SMB VersionWindows Desktop OSWindows Server OS
SMB 1.0Windows XPServer 2003
SMB 2.0Windows VistaServer 2008
SMB 2.1Windows 7Server 2008 R2
SMB 3.0Windows 8Server 2012
SMB 3.02Windows 8.1Server 2012 R2
SMB 3.1.1Windows 10+Server 2016+


 


 

You can use Powershell to detect whether or not a version of SMB is enabled on a device, as well as enable or disable a version:

SMBv1

  • Detect:
    • Get-SmbServerConfiguration | Select EnableSMB1Protocol
  • Disable:
    • Set-SmbServerConfiguration -EnableSMB1Protocol $false
  • Enable:
    • Set-SmbServerConfiguration -EnableSMB1Protocol $true


SMB v2/v3

  • Detect:
    • Get-SmbServerConfiguration | Select EnableSMB2Protocol
  • Disable:
    • Set-SmbServerConfiguration -EnableSMB2Protocol $false
  • Enable:
    • Set-SmbServerConfiguration -EnableSMB2Protocol $true



NOTE: You can also disable/enable SMB protocols in the Windows Registry by navigating to the following location:
 

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters

Environment

Central Policy Manager (CPM) Windows Local

Resolution

CPM uses Microsoft API commands ( 'NetUserChangePassword' - for change, and 'NetUserSetInfo' - for reset (Reconcile). ) to connect to, verify, change and reconcile passwords for Windows accounts.

 

The Net use command makes use of the SMB (server message block), one of the SMB protocols (SMB1, SMB2 or SMB 3) on the target machine must be enabled for CPM to manage the passwords.

 

Below is a list of default SMB for each version of the Windows OS.

 

SMB 1.0 (or SMB1) – The version used in Windows 2000, Windows XP, Windows Server 2003 and Windows Server 2003 R2

SMB 2.0 (or SMB2) – The version used in Windows Vista (SP1 or later) and Windows Server 2008

SMB 2.1 (or SMB2.1) – The version used in Windows 7 and Windows Server 2008 R2

SMB 3.0 (or SMB3) – The version used in Windows 8 and Windows Server 2012

SMB 3.02 (or SMB3) – The version used in Windows 8.1 and Windows Server 2012 R2

SMB 3.1.1 – The version used in Windows 10 and Windows Server 2016

 

So the API commands that the CPM uses do utilize the latest SMB version that is available while transacting with the target Windows machines.

NOTE: You can also disable/enable the SMB protocols in the Windows Registry located in:

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Rate this article:
  • 6095 Views
  • 0 comments
  • 0 Likes
Article Dashboard
Version history
Last Updated:
‎05-06-2025 03:26 AM
Updated by: