Checks for SMB1.0, disables it, enables Workstation service with dependencies. Restart after. And yes it is “BOWSER” not “BROWSER”.
sc query mrxsmb10 | find “STATE” | find “RUNNING”
if not %errorlevel% == 0 goto END
sc.exe config lanmanworkstation depend= bowser/mrxsmb20/nsi
sc.exe config mrxsmb10 start= disabled
:END