Восстановить - рабочая станция

Чтобы быстрее и продуктивнее управлять параметрами, необходимо отдельно создать нужные файлы.

В дальнейшем вам придется не один раз управлять параметрами зависимых служб.

winXP

Создайте файл lanmanworkstation-winXP.bat

sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi

sc.exe config mrxsmb start= disabled

pause

LanmanServer-winXP-SBM2.bat

reg.exe add "HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters" /v "SMB2" /t REG_DWORD /d "1" /f
pause

win7, 8.1, 10

Создайте файлы lanmanworkstation-win7-10.bat

sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi

sc.exe config mrxsmb10 start= disabled

sc.exe config mrxsmb20 start= disabled

pause

 LanmanServer-win7-10-SBM2.bat

reg.exe add "HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters" /v "SMB2" /t REG_DWORD /d "1" /f
pause

Примечание:

Для Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows 8 и Windows Server 2012

Подраздел реестра:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Запись реестра: SMB2
REG_DWORD: 0 = отключено
REG_DWORD: 1 = включено
По умолчанию: 1 = Включен (не создан раздел реестра)

При включении или отключении SMB-протокола 2-й версии в Windows 8 или Windows Server 2012 также происходит включение или отключение протокола SMB версии 3. Это связано с использованием общего стека для этих протоколов.

SMB версии 1 на SMB-клиенте
Обнаружение: sc.exe query lanmanworkstation
Отключение: sc.exe config lanmanworkstation depend= bowser/mrxsmb20/nsi
sc.exe config mrxsmb10 start= disabled
Включение: sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
sc.exe config mrxsmb10 start= auto

 

SMB версий 2 и 3 на SMB-клиенте
Обнаружение: sc.exe query lanmanworkstation
Отключение: sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi
sc.exe config mrxsmb20 start= disabled
Включение: sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi
sc.exe config mrxsmb20 start= auto

 

Служба browser (обозреватель или браузер компьютеров)

Создайте reg-файлы:

  • browser-winXP.reg
  • Windows Registry Editor Version 5.00
     

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Browser]

    "Type"=dword:00000020

    "Start"=dword:00000002

    "ErrorControl"=dword:00000001

    "ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\

    74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\

    00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\

    6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00

    "DisplayName"="Обозреватель компьютеров"

    "DependOnService"=hex(7):4c,00,61,00,6e,00,6d,00,61,00,6e,00,57,00,6f,00,72,00,\

    6b,00,73,00,74,00,61,00,74,00,69,00,6f,00,6e,00,00,00,4c,00,61,00,6e,00,6d,\

    00,61,00,6e,00,53,00,65,00,72,00,76,00,65,00,72,00,00,00,00,00

    "DependOnGroup"=hex(7):00,00

    "ObjectName"="LocalSystem"

    "Description"="Обслуживает список компьютеров в сети и выдает его программам по запросу. Если служба остановлена, список не будет создан или обновлен. Если данная служба неразрешена, не удастся запустить любые явно зависимые службы."

     

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Browser\Parameters]

    "IsDomainMaster"="FALSE"

    "MaintainServerList"="Auto"

    "ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\

    00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\

    62,00,72,00,6f,00,77,00,73,00,65,00,72,00,2e,00,64,00,6c,00,6c,00,00,00

     

    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\Browser\Security]

    "Security"=-

  • browser-win7-10.reg
  • Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser]

    "ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\

    74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\

    00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\

    6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00

    "Start"=dword:00000002

    "DisplayName"="@%systemroot%\\system32\\browser.dll,-100"

    "ErrorControl"=dword:00000001

    "Group"="NetworkProvider"

    "Type"=dword:00000020

    "Description"="@%systemroot%\\system32\\browser.dll,-101"

    "DependOnService"=hex(7):4c,00,61,00,6e,00,6d,00,61,00,6e,00,57,00,6f,00,72,00,\

    6b,00,73,00,74,00,61,00,74,00,69,00,6f,00,6e,00,00,00,4c,00,61,00,6e,00,6d,\

    00,61,00,6e,00,53,00,65,00,72,00,76,00,65,00,72,00,00,00,00,00

    "ObjectName"="LocalSystem"

    "FailureActions"=hex:00,00,00,00,01,00,00,00,01,00,00,00,03,00,00,00,14,00,00,\

    00,01,00,00,00,e0,93,04,00,01,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00

     

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser\Parameters]

    "MaintainServerList"="Auto"

    "ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\

    00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\

    62,00,72,00,6f,00,77,00,73,00,65,00,72,00,2e,00,64,00,6c,00,6c,00,00,00

    "ServiceDllUnloadOnStop"=dword:00000001

     

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser\TriggerInfo]

     

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser\TriggerInfo\0]

    "Type"=dword:00000004

    "Action"=dword:00000001

    "GUID"=hex:07,9e,56,b7,21,84,e0,4e,ad,10,86,91,5a,fd,ad,09

    "Data0"=hex:31,00,33,00,39,00,00,00,54,00,43,00,50,00,00,00,53,00,79,00,73,00,\

    74,00,65,00,6d,00,00,00,00,00

    "DataType0"=dword:00000002

    "Data1"=hex:31,00,33,00,37,00,00,00,55,00,44,00,50,00,00,00,53,00,79,00,73,00,\

    74,00,65,00,6d,00,00,00,00,00

    "DataType1"=dword:00000002

    "Data2"=hex:31,00,33,00,38,00,00,00,55,00,44,00,50,00,00,00,53,00,79,00,73,00,\

    74,00,65,00,6d,00,00,00,00,00

    "DataType2"=dword:00000002

     

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser\TriggerInfo\1]

    "Type"=dword:00000004

    "Action"=dword:00000002

    "GUID"=hex:38,ed,44,a1,12,8e,e4,4d,9d,96,e6,47,40,b1,a5,24

    "Data0"=hex:31,00,33,00,39,00,00,00,54,00,43,00,50,00,00,00,53,00,79,00,73,00,\

    74,00,65,00,6d,00,00,00,00,00

    "DataType0"=dword:00000002

    "Data1"=hex:31,00,33,00,37,00,00,00,55,00,44,00,50,00,00,00,53,00,79,00,73,00,\

    74,00,65,00,6d,00,00,00,00,00

    "DataType1"=dword:00000002

    "Data2"=hex:31,00,33,00,38,00,00,00,55,00,44,00,50,00,00,00,53,00,79,00,73,00,\

    74,00,65,00,6d,00,00,00,00,00

    "DataType2"=dword:00000002

     

    Служба lanmanworkstation

     

  • lanmanworkstationXP.reg
  •  

    Windows Registry Editor Version 5.00

     

    [-HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation]

     

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation]

    "Type"=dword:00000020

    "Start"=dword:00000002

    "ErrorControl"=dword:00000001

    "ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\

    74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\

    00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\

    6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00

    "DisplayName"="Рабочая станция"

    "Group"="NetworkProvider"

    "ObjectName"="LocalSystem"

    "Description"="Обеспечивает поддержку сетевых подключений и связь. Если служба остановлена, программа, данные подключения будут недоступны. Если данная служба неразрешена, не удастся запустить любые явно зависимые службы."

     

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\Linkage]

    "Bind"=hex(7):5c,00,44,00,65,00,76,00,69,00,63,00,65,00,5c,00,4e,00,65,00,74,\

    00,62,00,69,00,6f,00,73,00,53,00,6d,00,62,00,00,00,5c,00,44,00,65,00,76,00,\

    69,00,63,00,65,00,5c,00,4e,00,65,00,74,00,42,00,54,00,5f,00,54,00,63,00,70,\

    00,69,00,70,00,5f,00,7b,00,39,00,33,00,41,00,46,00,35,00,42,00,37,00,35,00,\

    2d,00,41,00,42,00,37,00,43,00,2d,00,34,00,45,00,46,00,32,00,2d,00,41,00,34,\

    00,45,00,36,00,2d,00,41,00,39,00,33,00,45,00,42,00,39,00,38,00,33,00,35,00,\

    41,00,33,00,34,00,7d,00,00,00,5c,00,44,00,65,00,76,00,69,00,63,00,65,00,5c,\

    00,4e,00,65,00,74,00,42,00,54,00,5f,00,54,00,63,00,70,00,69,00,70,00,5f,00,\

    7b,00,38,00,45,00,46,00,35,00,37,00,43,00,39,00,32,00,2d,00,39,00,31,00,33,\

    00,44,00,2d,00,34,00,45,00,32,00,39,00,2d,00,38,00,37,00,42,00,33,00,2d,00,\

    44,00,36,00,42,00,38,00,45,00,36,00,31,00,38,00,39,00,41,00,42,00,35,00,7d,\

    00,00,00,5c,00,44,00,65,00,76,00,69,00,63,00,65,00,5c,00,4e,00,65,00,74,00,\

    42,00,54,00,5f,00,54,00,63,00,70,00,69,00,70,00,5f,00,7b,00,32,00,35,00,38,\

    00,37,00,32,00,31,00,33,00,34,00,2d,00,31,00,33,00,35,00,39,00,2d,00,34,00,\

    42,00,37,00,33,00,2d,00,42,00,38,00,35,00,45,00,2d,00,34,00,45,00,46,00,33,\

    00,39,00,44,00,33,00,36,00,46,00,34,00,39,00,31,00,7d,00,00,00,5c,00,44,00,\

    65,00,76,00,69,00,63,00,65,00,5c,00,4e,00,65,00,74,00,42,00,54,00,5f,00,54,\

    00,63,00,70,00,69,00,70,00,5f,00,7b,00,31,00,43,00,43,00,44,00,45,00,39,00,\

    31,00,39,00,2d,00,39,00,35,00,36,00,41,00,2d,00,34,00,30,00,46,00,34,00,2d,\

    00,38,00,36,00,38,00,41,00,2d,00,34,00,31,00,38,00,31,00,43,00,36,00,35,00,\

    33,00,38,00,35,00,37,00,38,00,7d,00,00,00,5c,00,44,00,65,00,76,00,69,00,63,\

    00,65,00,5c,00,4e,00,65,00,74,00,42,00,54,00,5f,00,54,00,63,00,70,00,69,00,\

    70,00,5f,00,7b,00,38,00,30,00,43,00,33,00,44,00,37,00,30,00,32,00,2d,00,36,\

    00,41,00,34,00,46,00,2d,00,34,00,31,00,46,00,34,00,2d,00,38,00,42,00,45,00,\

    33,00,2d,00,43,00,30,00,31,00,43,00,38,00,37,00,31,00,37,00,43,00,39,00,34,\

    00,46,00,7d,00,00,00,00,00

    "Route"=hex(7):22,00,4e,00,65,00,74,00,62,00,69,00,6f,00,73,00,53,00,6d,00,62,\

    00,22,00,00,00,22,00,4e,00,65,00,74,00,42,00,54,00,22,00,20,00,22,00,54,00,\

    63,00,70,00,69,00,70,00,22,00,20,00,22,00,7b,00,39,00,33,00,41,00,46,00,35,\

    00,42,00,37,00,35,00,2d,00,41,00,42,00,37,00,43,00,2d,00,34,00,45,00,46,00,\

    32,00,2d,00,41,00,34,00,45,00,36,00,2d,00,41,00,39,00,33,00,45,00,42,00,39,\

    00,38,00,33,00,35,00,41,00,33,00,34,00,7d,00,22,00,00,00,22,00,4e,00,65,00,\

    74,00,42,00,54,00,22,00,20,00,22,00,54,00,63,00,70,00,69,00,70,00,22,00,20,\

    00,22,00,7b,00,38,00,45,00,46,00,35,00,37,00,43,00,39,00,32,00,2d,00,39,00,\

    31,00,33,00,44,00,2d,00,34,00,45,00,32,00,39,00,2d,00,38,00,37,00,42,00,33,\

    00,2d,00,44,00,36,00,42,00,38,00,45,00,36,00,31,00,38,00,39,00,41,00,42,00,\

    35,00,7d,00,22,00,00,00,22,00,4e,00,65,00,74,00,42,00,54,00,22,00,20,00,22,\

    00,54,00,63,00,70,00,69,00,70,00,22,00,20,00,22,00,4e,00,64,00,69,00,73,00,\

    57,00,61,00,6e,00,49,00,70,00,22,00,00,00,00,00

    "Export"=hex(7):5c,00,44,00,65,00,76,00,69,00,63,00,65,00,5c,00,4c,00,61,00,6e,\

    00,6d,00,61,00,6e,00,57,00,6f,00,72,00,6b,00,73,00,74,00,61,00,74,00,69,00,\

    6f,00,6e,00,5f,00,4e,00,65,00,74,00,62,00,69,00,6f,00,73,00,53,00,6d,00,62,\

    00,00,00,5c,00,44,00,65,00,76,00,69,00,63,00,65,00,5c,00,4c,00,61,00,6e,00,\

    6d,00,61,00,6e,00,57,00,6f,00,72,00,6b,00,73,00,74,00,61,00,74,00,69,00,6f,\

    00,6e,00,5f,00,4e,00,65,00,74,00,42,00,54,00,5f,00,54,00,63,00,70,00,69,00,\

    70,00,5f,00,7b,00,39,00,33,00,41,00,46,00,35,00,42,00,37,00,35,00,2d,00,41,\

    00,42,00,37,00,43,00,2d,00,34,00,45,00,46,00,32,00,2d,00,41,00,34,00,45,00,\

    36,00,2d,00,41,00,39,00,33,00,45,00,42,00,39,00,38,00,33,00,35,00,41,00,33,\

    00,34,00,7d,00,00,00,5c,00,44,00,65,00,76,00,69,00,63,00,65,00,5c,00,4c,00,\

    61,00,6e,00,6d,00,61,00,6e,00,57,00,6f,00,72,00,6b,00,73,00,74,00,61,00,74,\

    00,69,00,6f,00,6e,00,5f,00,4e,00,65,00,74,00,42,00,54,00,5f,00,54,00,63,00,\

    70,00,69,00,70,00,5f,00,7b,00,38,00,45,00,46,00,35,00,37,00,43,00,39,00,32,\

    00,2d,00,39,00,31,00,33,00,44,00,2d,00,34,00,45,00,32,00,39,00,2d,00,38,00,\

    37,00,42,00,33,00,2d,00,44,00,36,00,42,00,38,00,45,00,36,00,31,00,38,00,39,\

    00,41,00,42,00,35,00,7d,00,00,00,5c,00,44,00,65,00,76,00,69,00,63,00,65,00,\

    5c,00,4c,00,61,00,6e,00,6d,00,61,00,6e,00,57,00,6f,00,72,00,6b,00,73,00,74,\

    00,61,00,74,00,69,00,6f,00,6e,00,5f,00,4e,00,65,00,74,00,42,00,54,00,5f,00,\

    54,00,63,00,70,00,69,00,70,00,5f,00,7b,00,32,00,35,00,38,00,37,00,32,00,31,\

    00,33,00,34,00,2d,00,31,00,33,00,35,00,39,00,2d,00,34,00,42,00,37,00,33,00,\

    2d,00,42,00,38,00,35,00,45,00,2d,00,34,00,45,00,46,00,33,00,39,00,44,00,33,\

    00,36,00,46,00,34,00,39,00,31,00,7d,00,00,00,5c,00,44,00,65,00,76,00,69,00,\

    63,00,65,00,5c,00,4c,00,61,00,6e,00,6d,00,61,00,6e,00,57,00,6f,00,72,00,6b,\

    00,73,00,74,00,61,00,74,00,69,00,6f,00,6e,00,5f,00,4e,00,65,00,74,00,42,00,\

    54,00,5f,00,54,00,63,00,70,00,69,00,70,00,5f,00,7b,00,31,00,43,00,43,00,44,\

    00,45,00,39,00,31,00,39,00,2d,00,39,00,35,00,36,00,41,00,2d,00,34,00,30,00,\

    46,00,34,00,2d,00,38,00,36,00,38,00,41,00,2d,00,34,00,31,00,38,00,31,00,43,\

    00,36,00,35,00,33,00,38,00,35,00,37,00,38,00,7d,00,00,00,5c,00,44,00,65,00,\

    76,00,69,00,63,00,65,00,5c,00,4c,00,61,00,6e,00,6d,00,61,00,6e,00,57,00,6f,\

    00,72,00,6b,00,73,00,74,00,61,00,74,00,69,00,6f,00,6e,00,5f,00,4e,00,65,00,\

    74,00,42,00,54,00,5f,00,54,00,63,00,70,00,69,00,70,00,5f,00,7b,00,38,00,30,\

    00,43,00,33,00,44,00,37,00,30,00,32,00,2d,00,36,00,41,00,34,00,46,00,2d,00,\

    34,00,31,00,46,00,34,00,2d,00,38,00,42,00,45,00,33,00,2d,00,43,00,30,00,31,\

    00,43,00,38,00,37,00,31,00,37,00,43,00,39,00,34,00,46,00,7d,00,00,00,00,00

     

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\NetworkProvider]

    "Name"="Microsoft Windows Network"

    "ProviderPath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\

    00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\

    6e,00,74,00,6c,00,61,00,6e,00,6d,00,61,00,6e,00,2e,00,64,00,6c,00,6c,00,00,\

    00

    "DeviceName"="\\Device\\LanmanRedirector"

     

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters]

    "enableplaintextpassword"=dword:00000000

    "enablesecuritysignature"=dword:00000001

    "requiresecuritysignature"=dword:00000000

    "ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\

    00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\

    77,00,6b,00,73,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,00

    "OtherDomains"=hex(7):00,00

     

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\Security]

    "Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\

    00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\

    00,00,02,00,60,00,04,00,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,\

    05,0b,00,00,00,00,00,18,00,9d,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,\

    23,02,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,20,\

    02,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,05,12,00,00,00,01,01,\

    00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

     

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanworkstation\Enum]

    "0"="Root\\LEGACY_LANMANWORKSTATION\\0000"

    "Count"=dword:00000001

    "NextInstance"=dword:00000001

    Восстановить - рабочая станция 2

    Категория: Службы и консоли | Добавил: masterov (27.10.2018) | Автор: Андрей Мастеров
    Просмотров: 33 | Рейтинг: 0.0/0
    Другие материалы по теме:
    Всего комментариев: 0
    avatar