NetTcpPortSharing Cannot Start Error in Windows: How to Fix it

NetTcpPortSharing Cannot Start Error

Windows services are programs that run in the background while we use the operating system. They can be started manually, automatically or when an event occurs. One of them is the NetTcpPortSharing port sharing service In some situations, even if we have configured it to start automatically, it may not work. In this tutorial we are going to explain how to troubleshoot the Net.Tcp port sharing service cannot start on Windows.

In case you don’t know, the NetTcpPortSharing port sharing service is the one that allows several users to share TCP ports through the Net.Tcp protocol. It should be noted that, by default, the Net.Tcp port sharing service is disabled, so we must manually enable it the first time we use it.

What error shows NetTcpPortSharing cannot start

At some point some Windows users have had to deal with a problem with the port sharing service when NetTcpPortSharing cannot start. In this situation, they have received an error message of this type or similar to the one we put below.

In this message he explains that the NetTcpPortSharing service could not start due to an error. Specifically, the request for initiation or control has not been responded to properly. Also, when they have gone to the Windows event viewer they have not found any relevant fact that tells them why NetTcpPortSharing cannot start.

As for the solutions that we can implement to solve the problem are:

  • Put the NetTcpPortSharing Port Sharing Service on Automatic Start
  • Enable dependency on .NET Framework 3.5.
  • The Winsock reset.
  • Restore the system.

Next, we will explain how to perform each one properly.

Setting the NetTcpPortSharing service to autostart

Sometimes the NetTcpPortSharing port sharing service can get stuck in a state where it cannot be opened or closed. This causes NetTcpPortSharing to fail to start, and to solve it we are going to follow these steps:

  • We press the Windows + R key combination  to invoke the Run dialog box. We could also do it from the Windows Start Menu.
  • In Run , we type services.msc and press enter to open Services .
  • In the right part of the Services window, we have to locate the NetTcpPortSharing Port Sharing Service .
  • We double click on the entry to edit its properties.
  • We check that the option in the Startup type menu   in the service properties window is set to   Automatic .

This would be the service screen and in the red boxes are indicated where you have to make the changes.

The next thing we have to do is:

  1. Click on Apply and  OK to save the changes.
  2. We close Services.
  3. We restart the computer.

In the hypothetical case that the service is already set to automatic , then we click on the Stop button   in the Service Status section  and then we enable it by clicking on the Start button .

Enable dependency on .NET Framework 3.5

Another reason NetTcpPortSharing cannot be started may be related to Net Framework 3.5. In this case, to fix the problem we are going to follow this procedure:

  • Start Menu.
  • We write Run and hit enter.
  • In Run, we type appwiz.cpl  and  press enter.
  • Once inside Programs and features on the left side we click on  Activate or deactivate Windows features  .
  • In the pop-up window that appears, press the .NET Framework 3.5 box   and then click the + sign to expand the section.
  • Now, select the boxes Enabling HTTP Windows Communication Foundation   and   Activation not HTTP  Windows Communication Foundation  .
  • To finish we touch OK  to save the changes.

This is a screenshot where you can see the NET Framework 3.5 boxes that we have to activate:

If we see that both options are already set, we remove them to temporarily disable them and restart the computer. Then we come back here and activate them again. Finally, we restart again and check if it works correctly.

Reset Winsock

Resetting Winsock will help us resolve errors related to Transmission Control Protocol and Internet Protocols. To do this, we will go to the Start Menu , write Command Prompt and right-click on it, choosing to run as administrator .

symbol of the system

Then we put the following command and press enter:

netsh winsock resetIn this way, I will be resetting all the default values ​​of the local network, and you should no longer have problems with the NetTcpPortSharing error on Windows operating systems.

Restore the system

A system restore is basically the faithful mirroring of Windows files and other application files installed on your system at a specific time. If we have this option activated, it can be a good solution when NetTcpPortSharing cannot be started, since we would return to a time when it was working correctly.

For this, in the Start Menu   we write restoration . Then a screen like this will appear:

Then we click on system restore and then we choose the restore point that interests us the most. Finally, another option is to restore a backup that we have of the operating system in a previous state, in case you do not use the option to restore the system of Windows 10 itself, there are very advanced backup programs that will allow us to have a clone of our hard disk or SSD to later restore it whenever we want.

One of the most popular programs is Acronis True Image, a paid program that allows us to make very advanced backups and restoration, we can encrypt the backup, transfer the copy to a Samba server on the local network, to a server Local or remote FTP, and we can even use the Acronis cloud to host the backup on the Internet, so that we do not have to store it locally on an external hard drive.

With all these steps that we have explained to you, you should already have solved the error that came out in Windows 10 in the first moment.