解决 internet connection sharing 启动不了

1、恢复默认服务

@echo 恢复windows7系统默认服务
@pause
sc config AeLookupSvc start= DEMAND
sc config ALG start= DEMAND
sc config AppIDSvc start= DEMAND
sc config Appinfo start= DEMAND
sc config AppMgmt start= DEMAND
sc config AudioEndpointBuilder start= AUTO
sc config Audiosrv start= AUTO
sc config AxInstSV start= DEMAND
sc config BDESVC start= DEMAND
sc config BFE start= AUTO
sc config BITS start= AUTO
sc config Browser start= DEMAND
sc config bthserv start= DEMAND
sc config CertPropSvc start= DEMAND
sc config clr_optimization_v2.0.50727_32 start= AUTO
sc config COMSysApp start= DEMAND
sc config CryptSvc start= AUTO
sc config CscService start= AUTO
sc config DcomLaunch start= AUTO
sc config defragsvc start= DEMAND
sc config Dhcp start= AUTO
sc config Dnscache start= AUTO
sc config dot3svc start= DEMAND
sc config DPS start= AUTO
sc config EapHost start= DEMAND
sc config EFS start= DEMAND
sc config ehRecvr start= DEMAND
sc config ehSched start= DEMAND
sc config eventlog start= AUTO
sc config EventSystem start= AUTO
sc config Fax start= DEMAND
sc config fdPHost start= DEMAND
sc config FDResPub start= AUTO
sc config FontCache start= DEMAND
sc config FontCache3.0.0.0 start= DEMAND
sc config gpsvc start= AUTO
sc config hidserv start= DEMAND
sc config hkmsvc start= DEMAND
sc config HomeGroupListener start= DEMAND
sc config HomeGroupProvider start= DEMAND
sc config idsvc start= DEMAND
sc config IKEEXT start= DEMAND
sc config IPBusEnum start= DEMAND
sc config iphlpsvc start= AUTO
sc config KeyIso start= DEMAND
sc config KtmRm start= DEMAND
sc config LanmanServer start= AUTO
sc config LanmanWorkstation start= AUTO
sc config lltdsvc start= DEMAND
sc config lmhosts start= AUTO
sc config Mcx2Svc start= DISABLED
sc config MMCSS start= AUTO
sc config MpsSvc start= AUTO
sc config MSDTC start= DEMAND
sc config MSiSCSI start= DEMAND
sc config msiserver start= DEMAND
sc config napagent start= DEMAND
sc config Netlogon start= DEMAND
sc config Netman start= DEMAND
sc config netprofm start= DEMAND
sc config NetTcpPortSharing start= DISABLED
sc config NlaSvc start= AUTO
sc config nsi start= AUTO
sc config p2pimsvc start= DEMAND
sc config p2psvc start= DEMAND
sc config PcaSvc start= DEMAND
sc config PeerDistSvc start= DEMAND
sc config pla start= DEMAND
sc config PlugPlay start= AUTO
sc config PNRPAutoReg start= DEMAND
sc config PNRPsvc start= DEMAND
sc config PolicyAgent start= DEMAND
sc config Power start= AUTO
sc config ProfSvc start= AUTO
sc config ProtectedStorage start= DEMAND
sc config QWAVE start= DEMAND
sc config RasAuto start= DEMAND
sc config RasMan start= DEMAND
sc config RemoteAccess start= DISABLED
sc config RemoteRegistry start= DEMAND
sc config RpcEptMapper start= AUTO
sc config RpcLocator start= DEMAND
sc config RpcSs start= AUTO
sc config SamSs start= AUTO
sc config SCardSvr start= DEMAND
sc config Schedule start= AUTO
sc config SCPolicySvc start= DEMAND
sc config SDRSVC start= DEMAND
sc config seclogon start= DEMAND
sc config SENS start= AUTO
sc config SensrSvc start= DEMAND
sc config SessionEnv start= DEMAND
sc config SharedAccess start= DISABLED
sc config ShellHWDetection start= AUTO
sc config SNMPTRAP start= DEMAND
sc config Spooler start= AUTO
sc config sppsvc start= AUTO
sc config sppuinotify start= DEMAND
sc config SSDPSRV start= DEMAND
sc config SstpSvc start= DEMAND
sc config StiSvc start= DEMAND
sc config swprv start= DEMAND
sc config SysMain start= AUTO
sc config TabletInputService start= DEMAND
sc config TapiSrv start= DEMAND
sc config TBS start= DEMAND
sc config TermService start= DEMAND
sc config Themes start= AUTO
sc config THREADORDER start= DEMAND
sc config TrkWks start= AUTO
sc config TrustedInstaller start= DEMAND
sc config UI0Detect start= DEMAND
sc config UmRdpService start= DEMAND
sc config upnphost start= DEMAND
sc config UxSms start= AUTO
sc config VaultSvc start= DEMAND
sc config vds start= DEMAND
sc config VSS start= DEMAND
sc config W32Time start= DISABLED
sc config wbengine start= DEMAND
sc config WbioSrvc start= DEMAND
sc config wcncsvc start= DEMAND
sc config WcsPlugInService start= DEMAND
sc config WdiServiceHost start= DEMAND
sc config WdiSystemHost start= DEMAND
sc config WebClient start= DEMAND
sc config Wecsvc start= DEMAND
sc config wercplsupport start= DEMAND
sc config WerSvc start= DEMAND
sc config WinDefend start= AUTO
sc config WinHttpAutoProxySvc start= DEMAND
sc config Winmgmt start= AUTO
sc config WinRM start= DEMAND
sc config Wlansvc start= DEMAND
sc config wmiApSrv start= DEMAND
sc config WMPNetworkSvc start= DEMAND
sc config WPCSvc start= DEMAND
sc config WPDBusEnum start= DEMAND
sc config wscsvc start= AUTO
sc config WSearch start= DISABLED
sc config wuauserv start= AUTO
sc config wudfsvc start= DEMAND
sc config WwanSvc start= DEMAND

2、导入注册表

Windows Registry Editor Version 5.00

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

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess]

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

"DependOnService"=hex(7):4e,00,65,00,74,00,6d,00,61,00,6e,00,00,00,57,00,69,00,
  6e,00,4d,00,67,00,6d,00,74,00,00,00,00,00

"Description"="Provides network address translation, addressing, name resolution and/or intrusion prevention services

for a home or small office network."

"DisplayName"="Windows Firewall/Internet Connection Sharing (ICS)"

"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

"ObjectName"="LocalSystem"

"Start"=dword:00000002

"Type"=dword:00000020

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch]

"Epoch"=dword:00002cd0

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

"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,
  69,00,70,00,6e,00,61,00,74,00,68,00,6c,00,70,00,2e,00,64,00,6c,00,6c,00,00,
  00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\AuthorizedApp

lications]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\AuthorizedApp

lications\List]

"%windir%\\system32\\sessmgr.exe"="%windir%\\system32\\sessmgr.exe:*:enabled:@xpsp2res.dll,-22019"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedA

pplications]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\AuthorizedA

pplications\List]

"%windir%\\system32\\sessmgr.exe"="%windir%\\system32\\sessmgr.exe:*:enabled:@xpsp2res.dll,-22019"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Setup]

"ServiceUpgrade"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Setup\InterfacesUnfirewalledAtUpdate]

"All"=dword:00000001

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

"0"="Root\\LEGACY_SHAREDACCESS\\0000"

"Count"=dword:00000001

"NextInstance"=dword:00000001

3、

Rundll32 setupapi,InstallHinfSection Ndi-Steelhead 132 %windir%\inf\netrass.inf 回车

------>netsh firewall reset 回车------->firewall.cpl回车。

时间: 2025-01-15 19:39:11

解决 internet connection sharing 启动不了的相关文章

internet connection sharing has been disabled by the network administrator

Start > Run > gpedit.msc Locate; Computer Configuration/Administrative Templates/Network/Network Connections Disable the following policies; Prohibit installation and configuration of Network Bridge on your DNS domain network Prohibit use of Interne

解决live CD方式启动Ubuntu系统不能启动openssh-server服务

当直接从Live CD镜像(例如从U盘)启动Ubuntu系统时,如果想要安装sshd服务,那么需要安装openssh-server软件包,如果用apt-get install的方式安装不了就换用aptitude安装,安装成功后却发现启动不了ssh服务,如下所示: 问题展现: Preconfiguring packages ... Selecting previously unselected package openssh-server. (Reading database ... 154905

如何解决linux下apache启动时httpd: apr_sockaddr_info_get() failed for 报错

今天在家里的RHLE5.5上安装apache的时候,先用user1用户./configure命令配置,然后才用root用户make && make install,结果apache起来的时候就报如下错误: httpd: apr_sockaddr_info_get() failed for bogon httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 fo

解决在Fragment中启动Activity时传递请求码的问题

解决在Fragment中启动Activity时传递请求码的问题: 首先需要指出的是Fragment有startActivityForResult方法,而Activity中也有startActivityForResult方法:两者的区别是: Fragment中的startActivityForResult方法: FragmentActivity中的startActivityForResult方法: 从官方的解释中可以看出Fragment中的startActivityForResult方法是调用的是

解决:Visual Studio 启动就报错退出

Please open an administrative CMD window and navigate to C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE and run these commands: 1.devenv.exe /safemode 2.devenv.exe /resetskippkgs 3.devenv.exe /installvstemplates 4.devenv.exe /resetse

解决Apache2.2不能启动,原因80端口被system pid 4占用

Apache2.2的安装与配置.安装完成后,输入127.0.0.1:80,打开失败,发现是80端口被禁用,首先排除IIS服务端口是否为80,此服务没被启动(本人为手动),还有迅雷等,一些软件也有可能会占用80端口.最后在命令行运行netstat -ano ,发现80端口果真被占用.发现占用的pid是4,名字是System.解决方法为:1.在运行窗口打开注册表,输入regedit2.依次打开如下:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\service

解决MyEclipse下Tomcat启动变慢的方法

 最近感觉用myeclipse启动tomcat的时间越来越长..不但启动慢并且启动后打开的页面也慢,经过查找找到以下解决办法.. 1.由于Tomcat是服务器,部署好的工程就会一直驻留到服务器里,每次启动都会把部署到服务器里的工程全部启动,工程多了自然启动时间就慢,所以可以把以前的删除:tomcat安装目录D:\Tomcat\apache-tomcat-7.0.37\webapps在   webapps目录下把会看到以前的工程都删除了. 2.可能是因为eclipse和tomcat的交互而产生

多学一点(十三)——解决Linux kdump服务启动失败

kdump 是 Linux Kernel 崩溃时的转储机制,简单理解就是在系统启动过程中如果 Kernel 因为某些原因崩溃了,kdump 就会负责记录日志以便排查原因.在 CentOS 6 等 Linux 发行版中,即便采用最小化安装, kdump 也会作为服务安装到系统中,此时可能因为我们对 Linux分配的内存的限制导致 kdump 服务开机启动失败,如图 1 所示: 图-1 kdump启动失败 解决 kdump 启动失败其实很简单,只要修改 grub.conf 文件,改变crashker

解决Linux下MySQL启动错误Starting MySQL.Manager of pid-file quit without updating file.[FAILED]

刚装完MySQL,启动时报如下错误: Starting MySQL.Manager of pid-file quit without updating file.[FAILED] 依次尝试了从谷歌找到的各种方法,发现只要执行如下MySQL初始化命令即可解决: /usr/local/mysql/bin/mysql_install_db --user=mysql 下面附上从谷歌找到的解决此问题的方法集锦,也许每个人遇到的问题的原因会不一样,经供参考: 一.查看报错日志 报错日志是我们解决问题的方向灯