- @echo off
- :Win7网络发现依赖的服务:
- :Dnscache DNS Client
- :SSDPSRV SSDP Discovery
- :PlugPlay Plug and Play
- :FDResPub Function Discovery Resource Publication 功能发现资源发布
-
- sc query SSDPSRV|findstr /i "SSDPSRV state"
- sc query Dnscache|findstr /i "Dnscache state"
- sc query PlugPlay|findstr /i "PlugPlay state"
- sc query FDResPub|findstr /i "FDResPub state"
-
- sc config SSDPSRV start= AUTO
- sc config Dnscache start= AUTO
- sc config PlugPlay start= AUTO
- sc config FDResPub start= AUTO
-
- sc start SSDPSRV
- sc start Dnscache
- sc start PlugPlay
- sc start FDResPub
复制代码
|