개발자료/개발 환경 설정
Windows10 에서 Samba 접속 불가 해결
배경남
2018. 1. 28. 11:25
Windows 10에서 Linux서버의 samba 폴더 탐지 불가. (경로를 찾지 못하는 현상)
samba 버젼은 4.x인 경우 Windows 10 에서 미지원하기 때문
- Windows Powershell(관리자) 실행
방법: Windows + x > a - 아래 명령어 수행
powershell.exe -Executionpolicy Bypass -command "Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB2 -Type DWORD -Value 0 -Force"
powershell.exe -Executionpolicy Bypass -command "sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi"
powershell.exe -Executionpolicy Bypass -command "sc.exe config mrxsmb20 start= disabled" - PC 재부팅
참고사이트
- https://support.microsoft.com/en-us/help/2696547/how-to-detect-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-and
- https://serverfault.com/questions/720332/cannot-connect-to-linux-samba-share-from-windows-10