Windows Features

Enable SMB 1.0 / CIFS File Sharing Support using Command Prompt & Windows PowerShell

Enable Server Message Block 1 on Windows 11 using CLI

Enable SMB 1 using CMD & PowerShell: The Server Message Block 1 on Windows 11 allows computers to share files, printers, and other resources over network using the SMB Protocol. The version 1 indicates Common Internet File System shortly known as CIFS. SMB Protocol includes CIFS compatibility. In this article, we will check out How to enable SMB 1.0 /CIFS File Sharing Support on Windows 11 using Command Prompt & Windows PowerShell. Check out: How to Enable SMB 1.0 / CIFS File Sharing Support using GUI?

See Also: Smb 1.0/cifs File Sharing Support In Windows 11

IMPORTANT: SMB 1.0 is an outdated and vulnerable protocol. It is prone to exploits like the WannaCry ransomware attack and is generally not recommended for modern systems unless absolutely necessary. Microsoft advises using SMB 2.0 or SMB 3.0 for enhanced security and performance.

SMB 1.0 / CIFS File Sharing Support availability on various Windows Editions

Windows EditionsAvailability
Windows ServersYes
Windows 11 HomeYes
Windows 11 ProfessionalYes
Windows 11 EducationYes
Windows 11 EnterpriseYes
Windows 11 Pro EducationYes
Windows 11 SENo
Windows 11 IoT EnterpriseYes

Quick Way to Enable SMB 1.0 / CIFS File Sharing Support using Command Prompt

In this section, we will check out how to enable SMB 1 via Command Prompt (Command Line Interface).

  • Go to the Start menu, and search for the Run Command. You can use keyboard combination WinKey + R. In the Run, type the command cmd and press CTRL + SHIFT + ENTER.
Run Command Prompt as Administrator
Run Command Prompt as Administrator
  • User Account Control will prompt for your confirmation. After confirming with the user, the system will open Command Prompt as Administrator.
  • We will use DISM (Deployment Imaging Service and Management) tool to enable SMB 1.0 / CIFS File Sharing Support on Windows 11 in the CMD. Execute the following command. dism /online /enable-feature /featurename:SMB1Protocol /all /norestart
CMD Command to Enable SMB 1
CMD Command to Enable SMB 1
  • The DISM requires elevated permissions and hence, we are running Command Prompt as Administrator.
  • After executing the above command, the system will now enable SMB 1.0 File Sharing Support. Once you get the message “The operation completed successfully“.
SMB 1 enabled Successfully
SMB 1 enabled Successfully

Decoding SMB 1.0 / CIFS File Sharing Support CMD Command

Decoding SMB 1 CMD Command
Decoding SMB 1 CMD Command

Easy way to Enable SMB 1.0 / CIFS File Sharing Support using Windows PowerShell

Here, we will use Windows PowerShell to enable this feature on Windows 11.

  • Open Windows PowerShell using the Start menu, and Run Windows PowerShell as Administrator.
Run PowerShell as Administrator
Run PowerShell as Administrator
  • In the PowerShell, enter the following command. Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol -All -NoRestart
PowerShell Command to Enable SMB 1
PowerShell Command to Enable SMB 1
  • The system will now enable SMB 1.0 / CIFS File Sharing Support. The Online statusTrue” indicates that the SMB 1 is now enabled. As we are using NoRestart tag, the system will not restart automatically.
SMB Protocol Enabled Successfully
SMB Protocol Enabled Successfully

Decoding SMB 1 PowerShell Command

Decoding SMB 1 PowerShell Command
Decoding SMB 1 PowerShell Command

Video Walkthrough to Enable SMB 1 Protocol using CMD & PowerShell

Take away

SMB 1 is an older protocol with known vulnerabilities and hence it is essential to consider the security risks associated with it. We suggest upgrading to newer versions like SMB 2.0 and SMB 3.0. If you have any queries with enabling SMB 1.0 / CIFS File Sharing Support using CMD and Windows PowerShell, kindly let us know in the comment section. For more interesting Command Prompt and PowerShell Articles, visit Winsides.com

Related: Run Command Prompt As Administrator In Windows 11

Related Articles:

Why You Can Trust Winsides.com?

We combine expert insights with user-friendly guidance. We thoroughly research and test everything to give you reliable and simple to understand tech guides. Please take a look at our publishing process to understand why you can trust Winsides.


Vigneshwaran Vijayakumar

Hello, I'm Vigneshwaran, the founder, owner, and author of WinSides.Com. With nearly a decade of experience in blogging across various domains and specializing in Windows-related tutorials for over five years, I bring a wealth of knowledge and expertise to WinSides.Com

Related Articles

Leave a Reply

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

Back to top button
Close

Adblock Detected

Kindly disable the Adblocker