Did you have a Windows 10 update recently and all of a sudden, your computer becomes slow-as-a-slug to restart? When you look at the event logs, you have an error with this description: “The NetTcpActivator service depends on the NetTcpPortSharing service which failed to start because of blah blah blah”. When you have this error, your computer seems to take forever to load and everything becomes sluggish. In this article, we’ll get to the bottom of this problem so that you can enjoy all the goodies Win10 offers.
An Analysis Of The Error
If you aren’t a tech guy, you wouldn’t find out what makes your computer slow. You immediately downgrade to Windows 7 and deduce that the update was a bad idea. However, it’s not the end of the story. Let’s dissect the error, so we can establish an effective solution.
From the error message, it suggests that the nettcpactivator service is one of the dependencies of the nettcpportsharing service. This simply means that if the latter stops, the former won’t function properly. Though this error isn’t critical, it has a bad impact on the performance of your computer. Worst, a certain percentage of the people who have this trouble get a black screen without any indication of waking up, which results in a forced shutdown.
As mentioned, some users have experienced this problem after they have updated their operating system to Windows 10. Yet, others may have this issue at random if they connect their computers to an internet connection (even though they have been using the same internet connection for quite some time). The root cause of the issue is hard to single out, but there are theories we see that might explain this random behavior.
Causes Of The Error: Possibilities
The primary suspect of the “NetTcpActivator service depends on the NetTcpPortSharing service…” error is a Windows bug. If this occurs after you have an OS update or you have installed a new app, chances are, the communication between apps becomes problematic. What does it have to do with communication, you may ask?
The nettcpportsharing service is a Windows service that allows the sharing of TCP ports across multiple applications and processes. This accepts net.tcp:// connections on behalf of the worker processes that’ll link them to certain applications. When a particular port is open, this particular Windows service checks the message stream, extracts its destination, and routes it to the application that needs it. Therefore, if the nettcpportsharing service takes longer to process, as a dependency, the nettcpactivator service will be in trouble.
This explains, as well, why certain users don’t have this problem when they don’t connect their computers to their internet connection.
How To Resolve The Error
This article goes to all Windows users out there, from the geeks to the noobs. The following are the workarounds that have been proven to solve this problem. Of course, going back to the previous version of Windows solves this problem at once, but let’s not consider it as an option, just yet.
Check And Optimize Your Drive
Before panicking, the first thing that you must do when your system starts to slow down, as a general rule, is to check the drive. Maybe you’re running out of space, hence, you must optimize your drive.
- Step 1. Click Start Menu and search for Defragment. Click the Defragment and Optimize Drives app.
- Step 2. Select the drive you want to optimize.
- Step 3. Hit Optimize button.
Just wait for the process to finish and see if it has solved your problem. Doing this can alleviate not only this issue but some other random problems, as well.
Check Net.Tcp Port Sharing Service in Services.msc
If you are uncertain about the error, go to Services and check the Net.Tcp Port Sharing.
- Step 1. Click Start Menu and search for Services. Click the Services app.
- Step 2. Look for the NetTcpPortSharing services in the list.
- Step 3. Check if this service is Disabled (default).
Alternatively, you can use this path:
- Step 1. Go to Control Panel>Programs>Programs and Features>Turn Windows features on and off. This will send you to a popup window.
- Step 2. Tick off .NET Framework 4.8 Advance Services (or above),
- Step 3. Make sure that the WCF Services, the TCP Port Sharing and TCP Activation are unticked, too.
Manually Enable/Disable Services
This is kind of tricky, especially since you have several services running on your computer. Yet, this is especially helpful if you don’t know what program gives you the headache.
- Step 1. Go to Services by searching it in the Start Menu.
- Step 2. One by one, try to disable services that you think shouldn’t be running. (Of course, you have to be very careful not to terminate services that are critical to your computer.)
- Step 3. Right-click on an item and select Properties. A popup window will display.
- Step 4. Find the Startup Type and dropdown and select Disabled.
- Step 5. Restart your computer and see if the problem persists. (Now, you can enable the services that didn’t stimulate the error to occur).
- Step 6. Do Steps 2-5 until you can clearly pinpoint what services trigger the problem.
- Step 7. If disabling it won’t cripple the functionality and performance of your computer, then, do so.
Reset TCP/IP for Issues Related to Internet Connection
Do you have this problem when you connect to the internet? You might want to reset your TCP.
- Step 1. Launch the command prompt as an admin.
- Step 2. Enter the command: “netsh int ip reset c:\resetlog.txt”. For a much easier process without defining the path, just use this command: “netsh int ip reset”.
- Step 3. Restart your computer.
Upon running the reset command, you are overwriting the following:
If a TCP reset is needed, you shouldn’t find the error, “nettcpactivator service depends on the nettcpportsharing” in the Windows logs anymore.
Frequently Asked Questions
1/ Is the error with NetTcpActivator service common?
Since it’s a communication issue, it could be triggered by the latest app you installed, the recent iteration of the Windows 10 that you have, or even the faulty cables and modems of your internet.
2/ Is it necessary to enable Net.Tcp Port Sharing Service?
No. If you have successfully configured your system (or completely installed your update), this Windows service is disabled by default for security purposes.