The Net.Tcp port sharing service (NetTcpPortSharing) is available in all operating systems that support the .NET Framework 3.0. This service allows multiple user processes to share TCP ports through the net.tcp protocol. The Net.Tcp port forwarding service is disabled by default and must be enabled manually when first used.
Some users report that the Net.Tcp port sharing service does not start and the corresponding events cannot be found in the Windows Event Viewer. Event Description:
The NetTcpPortSharing service failed to start due to the following error: the service did not respond to a startup or management request in a timely manner.
Here are a few methods you can use to resolve the “Net.Tcp port sharing service could not start” issue. If the problem occurs, you can try the following solutions one by one. Check the details.
Restore the default startup type for the Net.Tcp port forwarding service
- Select your Windows 10 release and version and click the “Download” button below.
- Save the RestoreNetTcpPortSharingServiceWindows10.bat file to any folder on your hard drive.
- Right-click the downloaded command file and select Run as administrator.
- Reboot your computer to save your changes.
Note. Make sure the SMSvcHost.exe file exists in the folder% WinDir% \ Microsoft.NET \ Framework \ v4.0.30319. If this file is missing, you can try to restore it from your Windows 10 installation media.
How to enable the Net.TCP port forwarding service using MMC
From the Start menu, open the Services Management Console by opening a command line window and typing services.msc, or by running Run and typing services.msc in the Open field.
In the Name column of the services list, right-click the Net.Tcp port sharing service and choose Properties from the menu.
To enable the service to start manually, in the “Properties” window, select the “General” tab and select “Manual” in the “Startup type” field, then click “Apply”.
To start the service, click the “Start” button in the “Service Status” area. The status of the service should now show “Started”.
To return to the list of services, click OK and exit the MMC.
Activate / reactivate .NET Framework 3.5
In addition, according to some affected users, this problem may arise because the required dependency (.NET Framework 3.5, including .NET 2.0 and 3.0) is disabled or suspended until the system can no longer use it.
If any of the above scenarios are correct, you should be able to resolve the Net.Tcp port sharing service error by enabling or re-enabling .NET Framework 3.5 in the Windows Features screen and rebooting your computer.
This fix has been confirmed by many affected users who previously could not use the net.tcp protocol for various web services.
If you haven’t already tried this particular update, follow the instructions below to enable or disable the .NET Framework 3.5 dependency on the Windows Features screen and then enable it again:
- Press Windows Key + R to open the Run dialog box. Type appwiz.cpl in the text box and press Enter to open the Programs and Features menu.
- In the Programs and Features screen, click Enable or Disable Windows Features. When prompted in the User Account Control (UAC) screen, click Yes to allow administrator access.
- On the Windows Features screen, select the check box for .NET Framework 3.5 and check the boxes for “Activate HTTP for Windows Communication Foundation” and “Enable Windows Communication Foundation without using HTTP”.
- If the .NET Framework 3.5 is already enabled, temporarily disable it before you click “OK” and restart your computer. The next time you start up, return to this screen and enable .NET Framework 3.5 again to see if the problem is resolved.
- Click OK to start the changes and restart your computer.
- After the next startup is complete, check the Event Viewer again and see if you can find any new instances of the Net.Tcp port sharing service error.