Net.Tcp Port Sharing Service (NetTcpPortSharing) Defaults in Windows 7

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\Framework\v3.0\Windows Communication Foundation\SMSvcHost.exe
Registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetTcpPortSharing
  • SeCreateGlobalPrivilege

Default Behavior

Net.Tcp Port Sharing Service is a Win32 service. In Windows 7 it is disabled and therefore it isn't starting. When the Net.Tcp Port Sharing Service is started, it is running as NT AUTHORITY\LocalService in a shared process of SMSvcHost.exe. Other system components, such as drivers and services, may run in the same process. If Net.Tcp Port Sharing Service fails to start, Windows 7 attempts to write the failure details into Event Log. Then Windows 7 startup should proceed and the user should be notified that the NetTcpPortSharing service is not running because of the error.

Restore Default Startup Configuration for Net.Tcp Port Sharing Service

1. Select your Windows 7 edition and service pack, and then click Download.

2. Save the Win7_NetTcpPortSharing_Service_Startup.cmd file to a local storage device.

3. Run the saved file as an administrator.

4. Restart the computer.

The NetTcpPortSharing service is using the SMSvcHost.exe file that is located in the %WinDir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation folder. If the file is changed, damaged or deleted, you can restore its original version from Windows 7 installation media.