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

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

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]
 
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
 

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.
 
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
 
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) :)



Jerry
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

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 807,865 other people just like you!

Latest posts

Members online

Top