Net.Tcp Port Sharing Service (NetTcpPortSharing) Defaults in Windows 11
Provides ability to share TCP ports over the net.tcp protocol.
Default Settings
| Startup type: | Disabled |
| Display name: | Net.Tcp Port Sharing Service |
| Service name: | NetTcpPortSharing |
| Service type: | share |
| Error control: | normal |
| Object: | NT AUTHORITY\LocalService |
| Path: | %SystemRoot%\Microsoft.NET\Framework64\v4.0.30319\SMSvcHost.exe |
| Registry key: | HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetTcpPortSharing |
| Privileges: |
|
Default Behavior
Net.Tcp Port Sharing Service is a Win32 service. In Windows 11 it is disabled. When the Net.Tcp Port Sharing Service is started, it logs on as NT AUTHORITY\LocalService and running in a shared process of SMSvcHost.exe. If Net.Tcp Port Sharing Service fails to start, the failure details will be recorded into Event Log. Then Windows 11 should boot up and notify the user about the NetTcpPortSharing service startup failure.
Restore Default Startup Configuration of Net.Tcp Port Sharing Service
1. Run the Command Prompt as an administrator.
2. Copy the commands below, paste them into the command window and press ENTER:
sc stop NetTcpPortSharing
sc config NetTcpPortSharing start= disabled
3. Close the command window and restart the computer.
The NetTcpPortSharing service is using the SMSvcHost.exe file that is located in the C:\Windows\Microsoft.NET\Framework64\v4.0.30319 directory. If the file is removed or corrupted, read this article to restore its original version from Windows 11 installation media.