
Windows 10 File Sharing Problems with NAS Servers and Linux
█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█▀█
To enable SMB1 Protocol in Windows 10 with the GUI(Graphical User Interface).
Go to search ► Type in "Control Panel" ► "Programs" ► "Turn Windows Features on and off" ► "SMB 1.0/CIFS File Sharing Support" click on the +, and check all 3 boxes ► click "ok" ► Wait a few minutes, and restart your computer
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
When you run CMD (Command Prompt) run it in administrator mode
[To Check to see if SMB1 Protocol is enabled or not]
Dism /online /Get-Features /format:table | find "SMB1Protocol"
[To enable SMB1 Protocol in CMD or a batch file]
Dism /online /Enable-Feature /FeatureName:"SMB1Protocol" -All
[To disable SM1 Protocol in CMD or a batch file]
Dism /online /Disable-Feature /FeatureName:"SMB1Protocol"
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
{1st batch file}
@echo off
Dism /online /Enable-Feature /FeatureName:"SMB1Protocol" -All
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
{2nd batch file}
@echo off
:begin
Dism /online /Get-Features /format:table | find "SMB1Protocol"
pause
echo Is it enabled or not. Y for yes, and N for no.
set /p Entry=
if %Entry% == Y (
goto Not
) else if %Entry% == N (
goto Yes
) else (
goto begin
)
:Not
exit
:Yes
Dism /online /Enable-Feature /FeatureName:"SMB1Protocol" -All
pause
exit
█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█▄█

