Sys-Admin Forum

Windows быстро отключить File and Printer Sharing for Microsoft Networks

Посмотреть, что включено / отключено можно при помощи команды:

Get-NetAdapterBinding

Результат

Name                           DisplayName                                        ComponentID          Enabled
----                           -----------                                        -----------          -------
Ethernet                       Microsoft LLDP Protocol Driver                     ms_lldp              True
Ethernet                       Microsoft Network Adapter Multiplexor Protocol     ms_implat            False
Ethernet                       Link-Layer Topology Discovery Mapper I/O Driver    ms_lltdio            True
Ethernet                       Internet Protocol Version 6 (TCP/IPv6)             ms_tcpip6            False
Ethernet                       Internet Protocol Version 4 (TCP/IPv4)             ms_tcpip             True
Ethernet                       Client for Microsoft Networks                      ms_msclient          True
Ethernet                       File and Printer Sharing for Microsoft Networks    ms_server            True
Ethernet                       Link-Layer Topology Discovery Responder            ms_rspndr            True
Ethernet                       QoS Packet Scheduler                               ms_pacer             True

Отключаем:

Disable-NetAdapterBinding –InterfaceAlias “Ethernet” –ComponentID ms_server

Снова смотрим:

PS C:\Windows\system32> Get-NetAdapterBinding

Name                           DisplayName                                        ComponentID          Enabled
----                           -----------                                        -----------          -------
...
Ethernet                       File and Printer Sharing for Microsoft Networks    ms_server            False
...