Jump to content

sysprep.inf


Recommended Posts

In our domain, the network people have decided that certain network settings must be configured. I use Symantec Ghost and Sysprep to create images. Unfortunatly, Sysprep wipes out the required network settings. Can anyone help me discover the registry keys to acheive the following? Or, it seems that I should be able to configure these in the sysprep.inf file, but I don't know how.

The settings:

1. The properties under the Local Area Connection should have the "Client for Microsoft Networks" box *unchecked*. (Question about this- what does unchecking this box do?)

2. Our domain must be listed on the DNS tab under TCP/IP Properties > Advanced > DNS

3. On this same tab, the "Register this connection's addresses in DNS" box must be *unchecked*.

We do a lot of ghosting and I really need to automate these settings or they will be forgotten.

I'v tried to isolate the settings using Regsnap, but there are to many differences and I don't know which ones apply to MY settings. :(

Thanks

Link to comment
Share on other sites


You could always set the network settings from a batch file using the NETSH.exe enviroment.

On a a machine with the network settings configured use this command:

netsh.exe int ip dump > c:\ipsettings.txt

That will create the netsh script that you run on the freshly imaged machine

netsh.exe exec ipsettings.txt

If you are using static IP address's you will want to edit the ipsettings.txt file and change the ip settings.

Hope that helps.

Link to comment
Share on other sites

Here ya go bud...

To get network client put the following in sysprep.inf file

[NetClients]

MS_MSClient=params.MS_MSClient

and under your network settings you want the following

[params.MS_TCPIP.Adapter01]

DisableDynamicUpdate = YES

DNSDomain = fabrikam.com

DNSServerSearchOrder = server1.fabrikam.com, fabrikam.com

Link to comment
Share on other sites

bad boy jumping on a thread!

any ways you can rename the NIC card with a vbscript and WMI using "Win32_NetworkAdapter"

[Networking]

Supports the same settings as unattend.txt

Sample

This sample demonstrates one use of the [MS_TCPIP parameters] section of Unattend.txt or sysprep.inf

[MS_TCPIP parameters]

DeadGWDetectDefault = No

DNSDomain = fabrikam.com

DNSSuffixSearchOrder = server1.fabrikam.com, fabrikam.com

DontAddDefaultGatewayDefault = No

EnableICMPRedirect = No

EnableLMHosts = Yes

EnableSecurity = No

ScopeID = REDMOND

SyncDomainWithMembership = 1

UseDomainNameDevolution = No

[params.MS_TCPIP.Adapter01]

SpecificTo = Adapter01

DisableDynamicUpdate = No

EnableAdapterDomainNameRegistration = No

DefaultGateway = 193.1.1.1

DHCP = Yes

DHCPClassId = abc

DNSDomain = fabrikam.com

DNSServerSearchOrder = server1.fabrikam.com, fabrikam.com

IPAddress = 193.1.1.33,193.1.1.34

NetBIOSOptions = 1

SubnetMask = 193.1.1.255

WINS = Yes

WINSServerList = 193.1.1.95,193.1.1.97

amazing what you can find in the ref.chm file in the deploy.cab on your xp cd in the tools folder!!

link to tools download M$ XP DEPLOY TOOLS

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