net.tcp Listener Adapter and net.tcp Port Sharing Service not starting on reboot

Question

I am using the net.tcp protocol for various web services. When I reboot my Windows 7 Ultimate (64-bit) macbook pro, the service never restarts automatically, even though that is how they are set:

enter image description here

The only relevant events I can see are in the System Event Log:

Error 6/9/2011 19:47 Service Control Manager 7001 None
The Net.Tcp Listener Adapter service depends on the Net.Tcp Port Sharing Service service > which failed to start because of the following error:
The service did not respond to the start or control request in a timely fashion.”

Error 6/9/2011 19:47 Service Control Manager 7000 None
The Net.Tcp Port Sharing Service service failed to start due to the following error:
The service did not respond to the start or control request in a timely fashion.”

Error 6/9/2011 19:47 Service Control Manager 7009 None
A timeout was reached (30000 milliseconds) while waiting for the Net.Tcp Port Sharing Service service to connect.

This post suggests that it’s something else blocking the port (in the post it’s SCCM 2007 R3 Client which I don’t use).

What else could be the problem? If it’s something else blocking the port, how do I figure out what? When I manually start the services, they start correctly.


Dependencies are:

Net.Tcp Port Sharing Service

enter image description here

Net.Tcp Listener Adapter

enter image description here


Still no luck, but I think the problem might be that my network connection takes too long to come up. I put in a custom view of the event log, and found these items:

enter image description here

The first in the series says:

A timeout was reached (30000 milliseconds) while waiting for the Net.Tcp Port Sharing Service service to connect.

Asked by Peter K.

Answer

You could try to turn off IPv6 as first step.

Other repair commands that you can try are :

netsh int ip reset c:\resetlog.txt   (reset TCP/IP stack)
netsh winsock reset c:\winsock.txt   (reset winsock)
netsh int ipv4 reset reset.log       (reset IPv4 TCP/IP stack)

See also reset Internet Protocol (TCP/IP) that provides a fix-me.

Before starting, better create a system restore point, just in case.

Answered by harrymc