Activating smb direct in Windows 11 Pro not working

Dennis Gebauer 0 Reputation points
2025-03-12T10:10:19.9666667+00:00

Hi,

i am trying to activate smb direct some windows 11 pro clients.

Whenever i tick the checkbox in windows features and restart the checkbox is unticked again.

Smb 1.0/cifs is unchecked.

Thanks in advance

Dennis

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
11,054 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Daisy Zhou 30,971 Reputation points Microsoft External Staff
    2025-03-13T03:17:23.02+00:00

    Hello Dennis Gebauer,

    Thank you for posting in Q&A forum.

    You can try the steps below and check whether they help.

    1.Please check if your machine is connected to Internet, you can try to make your machine connected to Internet.

    2.Enabled the SMB Direct using command below (run PS as Administrator):

    Dism /online /Enable-Feature /FeatureName:SMBdirect

    User's image

    3.Please sign in using another administrator and check if it helps.

    4.Please check if you can turn on other features on the same machine.

    5.If your machine is in domain environment, may be the domain policy blocked the feature installation.

    6.Check if SMB Direct is installed by command.

    Dism /online /Get-FeatureInfo /FeatureName:SMBDirect

    User's image

    Enable or Disable Windows Features Using DISM

    https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/enable-or-disable-windows-features-using-dism?view=windows-11

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. Dennis Gebauer 0 Reputation points
    2025-03-13T06:29:09.97+00:00

    Hi,

    i tried the command but it was not successfull.

    There are several Windows 10 machines in the domain that got the feature enabled.

    I can enable/disable other features on the windows 11 machines.

    Here is the dism protocol :

    CDISMPackageManager::Initialize

    2025-03-13 07:13:18, Info DISM DISM Package Manager: PID=8296 TID=10248 Loaded servicing stack for online use. - CDISMPackageManager::CreateCbsSession

    2025-03-13 07:13:18, Info CSI 00000001 Shim considered [l:123]'??\C:\windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.26100.3321_none_a52dfe0d774762b3\wcp.dll' : got STATUS_SUCCESS

    2025-03-13 07:13:18, Info DISM DISM Package Manager: PID=8296 TID=10248 Processing the top level command token(enable-feature). - CPackageManagerCLIHandler::Private_ValidateCmdLine

    2025-03-13 07:13:18, Info DISM DISM Package Manager: PID=8296 TID=10248 Attempting to route to appropriate command handler. - CPackageManagerCLIHandler::ExecuteCmdLine

    2025-03-13 07:13:18, Info DISM DISM Package Manager: PID=8296 TID=10248 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine

    2025-03-13 07:13:18, Info DISM DISM Package Manager: PID=8296 TID=10248 Encountered the option "featurename" with value "SMBdirect" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine

    2025-03-13 07:13:18, Info DISM DISM Package Manager: PID=8296 TID=10248 Encountered an unknown option "featurename" with value "SMBdirect" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine

    2025-03-13 07:13:18, Info DISM DISM Package Manager: PID=8296 TID=10248 Initiating Changes on Package with values: 5, 7 - CDISMPackage::Internal_ChangePackageState

    2025-03-13 07:13:18, Info DISM DISM Package Manager: PID=8296 TID=10248 CBS session options=0x40100! - CDISMPackageManager::Internal_Finalize

    2025-03-13 07:13:19, Info CSI 00000001 Shim considered [l:123]'??\C:\windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.26100.3321_none_a52dfe0d774762b3\wcp.dll' : got STATUS_SUCCESS

    2025-03-13 07:13:19, Info DISM DISM Package Manager: PID=8296 TID=10248 Encountered the option "featurename" with value "SMBdirect" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine

    2025-03-13 07:13:19, Info DISM DISM Package Manager: PID=8296 TID=10248 Encountered an unknown option "featurename" with value "SMBdirect" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine

    2025-03-13 07:13:19, Info DISM DISM Package Manager: PID=8296 TID=10248 Loaded servicing stack for online use. - CDISMPackageManager::CreateCbsSession

    2025-03-13 07:13:19, Info CSI 00000001 Shim considered [l:123]'??\C:\windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.26100.3321_none_a52dfe0d774762b3\wcp.dll' : got STATUS_SUCCESS

    2025-03-13 07:13:19, Info DISM DISM Package Manager: PID=8296 TID=10248 Feature SmbDirect with CBS state 4(CbsInstallStateStaged) being mapped to dism state 4(DISM_INSTALL_STATE_STAGED) - CDISMPackageFeature::LogInstallStateMapping

    2025-03-13 07:13:19, Error DISM DISM Package Manager: PID=8296 TID=10248 Parent features must be enabled before this feature can be enabled. "SmbDirect" - CPackageManagerCLIHandler::Private_ProcessFeatureChange

    2025-03-13 07:13:19, Error DISM DISM Package Manager: PID=8296 TID=10248 One or more features could not be enabled. - CPackageManagerCLIHandler::Private_ProcessFeatureChange(hr:0x80070032)

    2025-03-13 07:13:19, Error DISM DISM Package Manager: PID=8296 TID=10248 Failed while processing command enable-feature. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070032)

    2025-03-13 07:13:19, Info DISM DISM Package Manager: PID=8296 TID=10248 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine

    2025-03-13 07:13:19, Info DISM DISM Package Manager: PID=8296 TID=8232 Finalizing CBS core. - CDISMPackageManager::Finalize

    2025-03-13 07:13:19, Info DISM DISM Manager: PID=3396 TID=3796 Closing session event handle 0x274 - CDISMManager::CleanupImageSessionEntry

    2025-03-13 07:13:19, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.

    2025-03-13 07:13:19, Info DISM DISM.EXE:

    2025-03-13 07:13:19, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->

    2025-03-13 07:13:19, Info DISM DISM.EXE:

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.