TCP/IP NetBIOS Helper (LmHosts) Service Defaults in Windows XP

Enables support for NetBIOS over TCP/IP (NetBT) service and NetBIOS name resolution.

Default Settings

Startup type:Automatic
Display name:TCP/IP NetBIOS Helper
Service name:LmHosts
Service type:share
Error control:normal
Object:NT AUTHORITY\LocalService
Path:%SystemRoot%\system32\svchost.exe -k LocalService
Registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LmHosts

Default Behavior

TCP/IP NetBIOS Helper is a Win32 service. In Windows XP it is starting automatically along with the operating system. Then the TCP/IP NetBIOS Helper service is running as NT AUTHORITY\LocalService in a shared process of svchost.exe. Other services and drivers are allowed to run in the same process. If the TCP/IP NetBIOS Helper fails to start, the technical information about the error is added to the Event Log. Windows XP startup should proceed, but a message box should be displayed informing the user that the LmHosts service has failed to start.


TCP/IP NetBIOS Helper depends on the following system components:

Restore Default Startup Configuration for TCP/IP NetBIOS Helper

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

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

3. Run the saved file.

4. Restart the computer.

The LmHosts service is using the lmhsvc.dll file that is located in the %WinDir%\System32 folder. If the file is changed, damaged or deleted, you can restore its original version from Windows XP installation media.