Jump to content

Reinstall netbios


nuri

Recommended Posts

  • 8 months later...

I would also be very interested to get the answer about how to reinstall "TCP/IP NetBIOS Helper" service in XP, if too agressively removed with NLite....

Is it just an .inf file like "nettcpip.inf" to reinstall ? Does not seem to be sufficient......

Thanks for your clever ideas.

Edited by diorser
Link to comment
Share on other sites

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LmHosts]

"Type"=dword:00000020

"Start"=dword:00000002

"ErrorControl"=dword:00000001

"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\

74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\

00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\

6b,00,20,00,4c,00,6f,00,63,00,61,00,6c,00,53,00,65,00,72,00,76,00,69,00,63,\

00,65,00,00,00

"DisplayName"="TCP/IP NetBIOS Helper"

"Group"="TDI"

"DependOnService"=hex(7):4e,00,65,00,74,00,42,00,54,00,00,00,41,00,66,00,64,00,\

00,00,00,00

"DependOnGroup"=hex(7):00,00

"ObjectName"="NT AUTHORITY\\LocalService"

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

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LmHosts\Parameters]

"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\

00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\

6c,00,6d,00,68,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LmHosts\Security]

"Security"=hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\

00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\

00,00,02,00,60,00,04,00,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,\

05,0b,00,00,00,00,00,18,00,9d,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,\

23,02,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,20,\

02,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,05,12,00,00,00,01,01,\

00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LmHosts\Enum]

"0"="Root\\LEGACY_LMHOSTS\\0000"

"Count"=dword:00000001

"NextInstance"=dword:00000001

--------------------------------------------------------------------------------------------------

Copy the above into a blank text file, save and exit, and then rename the extension to .reg. Right-click on the file and select "Merge". Power cycle your PC to complete installation of the LmHosts Service (TCP/IP NetBIOS Helper).

Notes: This only installs the service into CurrentControlSet. If you run into problems, hit F8 after power cycling your PC and select the option "Last known settings that worked". This installs the service into registry only, you need to verify that lmhsvc.dll is in your system32 directory and that the IPSEC Service is installed and not disabled(set it to manual or auto). Most of you removed this service after hearing about security vulnerabilities relating to the NetBIOS. There are many secure solutions available that do not remove the service or its functionality. Please take a moment to read the following article at Wikipedia.org/NetBIOS.

I only hope you do not act this recklessly in other areas of your life, such as attempting to tweak your car's performance by removing parts you think it doesn't really need. :P

LmHosts.reg

Edited by IndustrialAeon
Link to comment
Share on other sites

Thank you for this detailed answer.

With a given network configuration using an internet box (ADSL+VoIP), it seems that "TCP/IP NetBIOS Helper" service is really necessary to make the connection.

As it is not on my machine @home, I have to manage the update by phone+mail (not the easiest way).

After analysis of nettcpip.inf, I exactly reach the point you propose:

=> extract the LmHosts reg key from a working machine, and add it, as well as lmhsvc.dll in system32.

The service is now visible but gives error 1083 when activated.

I found it could be related to BITS service key (transfert background service), add the BITS reg key the same way as LmHosts key, but following error is 126.

I am on the way to recreate a new NLite build, but of course would have been faster to just add what is missing especially when managed by phone and mail !

If you know how to workaround next error 126, you're welcome !

Edited by diorser
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...