Skip to content

Commit 21c64bf

Browse files
authored
Update smb_control.bat
1 parent cc18422 commit 21c64bf

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

smb_control.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ if /i "%1"=="start" (
1717
sc start LanmanServer
1818
echo Services started.
1919
) else if /i "%1"=="stop" (
20+
echo Setting LanmanServer to disabled...
21+
sc config LanmanServer start= disabled
22+
2023
echo Stopping services...
2124
sc stop LanmanServer
2225
sc stop srv2

0 commit comments

Comments
 (0)