Windows 7 und SMB 1.0

Anbei Batch-Datei, um unter Windows 7 SMB 1.0 auszuschalten:

smb1.bat                   aktuelle Konfiguration Smb1 und Smb2 anzeigen
smb1.bat off               Smb1 ausschalten (danach reboot erforderlich)
smb1.bat on                Smb1 anschalten  (danach reboot erforderlich)  

Smb1.bat:

@echo off

echo --- query --------------------------------------------------------------------
sc.exe qc    lanmanworkstation
sc.exe query mrxsmb10
sc.exe query mrxsmb20

if x%1==xoff goto off
if x%1==xon  goto on
goto end

:off
echo ------------------------------------------------------------------------------
echo --- smb1 abschalten (dann reboot) --------------------------------------------
sc.exe config lanmanworkstation depend= bowser/mrxsmb20/nsi
sc.exe config mrxsmb10 start= disabled
goto end

:on
echo ------------------------------------------------------------------------------
echo --- smb1 anschalten (dann reboot) --------------------------------------------
sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
sc.exe config mrxsmb10 start= auto
goto end

:end
1 „Gefällt mir“

Bis jetzt habe ich folgende Nachteile festgestellt:

  • Kein Zugriff mehr auf NAS meiner Fritzbox (3390) mit net use r: \192.178.1.1\fritz.nas
    (Zugriff nur noch z.B. mit WinSCP.exe möglich)
1 „Gefällt mir“