We have some folders shared on old windows 2003 box, while trying to access them from windows 10 workstation, we are seeing following error …
In Windows 10 Fall Creators Update and Windows Server, version 1709 (RS3) and later versions, the Server Message Block version 1 (SMBv1) network protocol is no longer installed by default. To enable it ,
Start powershell
with privilege mode (on your windows 10 workstation) by >
Open CMD in privilege mode, and start powershell
powershell
Now get status of SMB1Protocol
Get-WindowsOptionalFeature –Online –FeatureName SMB1Protocol
Probably it will be in Disabled State
, change it to enable using following cmd,
Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol
Afterwards, it may ask you to reboot machine, Do it to restart so that changes can take effect.
Status after enabling SMB1Protocol
PS C:\> Get-WindowsOptionalFeature –Online –FeatureName SMB1Protocol FeatureName : SMB1Protocol DisplayName : SMB 1.0/CIFS File Sharing Support Description : Support for the SMB 1.0/CIFS file sharing protocol, and the Computer Browser protocol. RestartRequired : Possible State : Enabled CustomProperties : ServerComponent\Description : Support for the SMB 1.0/CIFS file sharing protocol, and the Computer Browser protocol. ServerComponent\DisplayName : SMB 1.0/CIFS File Sharing Support ServerComponent\Id : 487 ServerComponent\Type : Feature ServerComponent\UniqueName : FS-SMB1 ServerComponent\Deploys\Update\Name : SMB1Protocol
Now try to access windows 2003 sharing folder & hopefully it will work fine.
Disable SMB v1 in Windows
Open powershell cmd, and issue
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB1 -Type DWORD -Value 0 –Force
Disable SMB1 using Windows registry
You can also tweak the Windows Registry to disable SMB1.
Run regedit and navigate to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
In the right side, the DWORD SMB1 should not be present or should have a value of 0.
The values for enabling and disabling it are as follows:
0 = Disabled
1 = Enabled
Regard’s
Syed Jahanzaib
Thank you so much i were facing this issue now i will try this Step
Once Again Thank you.
Regards
Iqbal Jan Umrani
LikeLike
Comment by Iqbal Umrani — February 6, 2019 @ 2:37 PM