DEV Community

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

SMB 1 allows resource sharing over a network using the SMB Protocol. Enabling SMB 1 is not recommended due to its security vulnerabilities. It is available on most Windows editions except Windows 11 SE. To enable SMB 1 using Command Prompt, run the command "dism /online /enable-feature /featurename:SMB1Protocol /all /norestart" as an administrator. Using Windows PowerShell, execute "Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol -All -NoRestart" as an administrator. Both methods require elevated permissions. The system will enable SMB 1 and display a success message. SMB 1 is an outdated protocol and is more prone to attacks. It is advisable to use SMB 2.0 or SMB 3.0 for improved security and performance. If enabling SMB 1 is necessary, consider the potential security risks and take appropriate precautions. The article also provides a video walkthrough for enabling SMB 1 using CMD and PowerShell. If you encounter any issues while enabling SMB 1, refer to the comment section for assistance. For more information on Command Prompt and PowerShell, visit Winsides.com.
favicon
dev.to
dev.to
Image for the article: Enable SMB 1.0 / CIFS File Sharing Support using Command Prompt & Windows PowerShell
Create attached notes ...