1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Battle with the sysprep.inf. How do I disable NetBios over TCP/IP please.

Discussion in 'Windows XP' started by clivebuckwheat, Oct 11, 2008.

Thread Status:
Not open for further replies.
Advertisement
  1. clivebuckwheat

    clivebuckwheat Thread Starter

    Joined:
    Jun 25, 2006
    Messages:
    34
    Hi



    I am trying to disable NetBios over tcp /ip using the sysprep.inf, it's not working, can someone take a look and tell me what I am doing wrong?. I have tried NetBiosOtions=0, and NetBiosOtions=2 and it stays at Default.



    [Unattended]
    OemSkipEula=Yes
    TargetPath=\WINDOWS
    DriverSigningPolicy=Ignore
    UpdateInstalledDrivers=Yes
    UpdateServerProfileDirectory=1

    [GuiUnattended]
    OEMSkipRegional=1
    OemSkipWelcome=1
    TimeZone=35

    AdminPassword=XXXXX

    [GuiRunOnce]
    Command0="C:\WINDOWS\DNS Registration.VBS"

    [Networking]
    InstallDefaultComponents=Yes

    [UserData]
    FullName=xxxxxxxXXXXXXXXXXXXXXXXXX
    OrgName=XXXXXXXXXXXXXXXXXXXXXXXXXXX
    ProductID=XXXXXXXXXXXXXXXXXXXXXXXXX

    ComputerName=*

    [Display]
    BitsPerPel=32
    Xresolution=1024
    YResolution=768
    Vrefresh=75
    AutoConfirm=1

    [Identification]
    JoinWorkgroup=WORKGROUP

    [NetProtocols]
    MS_TCPIP = params.MS_TCPIP

    [NetAdapters]
    Adapter1 = params.MS_TCPIP.Adapter1

    [params.MS_TCPIP]
    DNSSuffixSearchOrder=X.X
    EnableLMHosts=Yes
    AdapterSections=params.MS_TCPIP.Adapter1

    [params.MS_TCPIP.Adapter1]
    SpecificTo=Adapter1
    NetBIOSOptions=2
    DHCP=Yes
    DNSDomain=X.X
    EnableAdapterDomainNameRegistration=Yes
    DisableDynamicUpdate=No


    [sysprepcleanup]
     
  2. bbearren

    bbearren

    Joined:
    Jul 14, 2006
    Messages:
    3,775
    May I ask why you want to disable the protocol?
     
  3. clivebuckwheat

    clivebuckwheat Thread Starter

    Joined:
    Jun 25, 2006
    Messages:
    34
    Because my boss told me I had too
     
  4. TheOutcaste

    TheOutcaste

    Joined:
    Aug 7, 2007
    Messages:
    9,028
    I'm not very familiar with sysprep, but found the following that may be of use.

    Looks like sysprep ignores network settings by default
    Statically-entered TCP/IP settings are not present after Sysprep

    Rather than use the netset utility, I found this VBS script you can call from sysprep.inf.
    I think you just need to add cscript.exe path\DisableNetBios.vbs in the [GuiRunOnce] section to call the script, but as I said, I'm not that familiar with sysprep



    HTH

    Jerry
     
  5. clivebuckwheat

    clivebuckwheat Thread Starter

    Joined:
    Jun 25, 2006
    Messages:
    34
    Thanks

    The script is good BUT i would like something silent, you get confirmation messages with this one.
     
  6. TheOutcaste

    TheOutcaste

    Joined:
    Aug 7, 2007
    Messages:
    9,028
    Just delete the echo line:
    WScript.Echo objNicConfig.Description & _
    ": successfully set NetBIOS over TCP/IP to " & SET_NETBIOS

    No more confirmation.

    Jerry
     
  7. clivebuckwheat

    clivebuckwheat Thread Starter

    Joined:
    Jun 25, 2006
    Messages:
    34
    Thank you SIR!!(y)
     
  8. TheOutcaste

    TheOutcaste

    Joined:
    Aug 7, 2007
    Messages:
    9,028
    You're Welcome!

    If your issue has been resolved you (and ONLY you) can mark this thread Solved by using the Mark Solved button at the Top Left of this thread (above the first post) :)

    [​IMG]

    Jerry
     
  9. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/758126

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice