\\192.168.88.143\ssd_server_1 user : storage pass : 1234abc user : karadev pass : samba and server pasword are same ;) // FORCE_RESET_SAMBA.bat save and // execute like administrator @echo off title HARD RESET WINDOWS SMB set SERVER=192.168.88.143 set SHARE=SSD_SERVER_1 echo ========================================== echo HARD RESET WINDOWS SMB echo ========================================== echo. echo [1] Kill Windows Explorer... taskkill /f /im explorer.exe >nul 2>&1 echo. echo [2] Delete NET USE connections... net use * /delete /y echo. echo [3] Remove SMB mappings... powershell -NoProfile -Command "Get-SmbMapping -ErrorAction SilentlyContinue | Remove-SmbMapping -Force -UpdateProfile -ErrorAction SilentlyContinue" echo. echo [4] Remove saved credential... cmdkey /delete:%SERVER% 2>nul echo. echo [5] STOP Windows SMB client... net stop LanmanWorkstation /y timeout /t 2 /nobreak >nul echo. echo [6] START Windows SMB client again... net start LanmanWorkstation timeout /t 2 /nobreak >nul echo. echo [7] Start Explorer... start explorer.exe timeout /t 2 /nobreak >nul echo. echo ========================================== echo SMB CLIENT COMPLETELY RESET echo ========================================== echo. echo Now opening: echo \\%SERVER%\%SHARE% echo. start "" "\\%SERVER%\%SHARE%" pause