VBS startup script does not apply on Domain Controller

Sylvain MALAGRE 21 Reputation points
2020-09-30T08:51:39.657+00:00

Hi guys,

I want to run a vbs script on my 2016 DCs that will disable the Netbios protocol on ALL the network interfaces. I found this one on Internet :

29363-disable-netbios.txt

When I run it manually from a cmd prompt it works great but when I deploy it via GPO (Computer / Policies / Windows Settings / Scripts) it makes any change in the NICs properties.

The script is located in the policy :
\domain.net\SysVol\domain.net\Policies{0BFC6AE9-5025-46ED-A3DA-0612C565239C}\Machine\Scripts\Startup\Disable_Netbios.vbs

If you have ideas ...

Thank you :-)

Windows for business Windows Client for IT Pros Directory services Active Directory
Windows for business Windows Client for IT Pros User experience Other
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Anonymous
    2020-09-30T13:12:47.44+00:00

    Another way to do it.
    http://woshub.com/how-to-disable-netbios-over-tcpip-and-llmnr-using-gpo/

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

  2. Sylvain MALAGRE 21 Reputation points
    2020-09-30T13:33:38.73+00:00

    Hi Patrick,

    I tried with this website method but it did not work ...

    0 comments No comments

  3. Anonymous
    2020-09-30T13:36:58.887+00:00

    Another one to try;
    https://support.microsoft.com/en-us/help/313314/how-to-disable-netbios-over-tcp-ip-by-using-dhcp-server-options

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

  4. Vicky Wang 2,736 Reputation points
    2020-10-01T08:58:53.593+00:00

    Hi,
    Thank you for posting in our forum, this article is for your reference
    reference:https://kb.stonegroup.co.uk/index.php?View=entry&EntryID=320
    Hope this information can help you
    Best wishes
    Vicky

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.