Apply Network Settings in a task sequence – Part 2

Apply Network Settings in a task sequence – Part 2

Links: Part 1Part 2Part 3Part 4

OSDAdapter0EnableDHCP

Set this to True to enable Dynamic Host Configuration Protocol (DHCP) for the adapter (obtain an IP address automatically). Setting it to False will disable DHCP (Use the following IP address).

Result in Windows:

image

Task Sequence example:

OSDAdapter0EnableDHCP=False

image

OSDAdapter0IPAddressList

Comma-delimited list of IP addresses for the adapter. This property is ignored unless EnableDHCP is set to false. If you enter two subnet masks you must also enter two IP addresses.

OSDAdapter0IPAddressList and OSDAdapter0SubnetMask must therefor match in numbers if this is not the case you will get error 0x8000FFFF.

image

image

Result in Windows (one IP address and subnet mask used):

image

Task Sequence example (one IP address and subnet mask used):

OSDAdapter0IPAddressList=10.10.10.209

image

Result in Windows (two IP addresses and subnet masks used):

image

Task Sequence example (two IP addresses and subnet masks used):

OSDAdapter0IPAddressList=10.10.10.220,10.10.10.230

image

OSDAdapter0SubnetMask

Comma-delimited list of subnet masks. This property is ignored unless EnableDHCP is set to false. If you enter two IP addresses you must also enter two subnet masks.

OSDAdapter0IPAddressList and OSDAdapter0SubnetMask must therefor match in numbers.

Result in Windows (one subnet mask an IP address used) :

image

Task Sequence example (one subnet mask an IP address used):

OSDAdapter0SubnetMask=255.255.255.0

image

Result in Windows (two subnet masks and IP addresses used) :

image

Task Sequence example (two subnet masks and IP addresses used) :

OSDAdapter0SubnetMask=255.255.255.128,255.255.255.128

image

OSDAdapter0Gateways

Comma-delimited list of IP gateway addresses. This property is ignored unless EnableDHCP is set to false. I will ignore that we are able to add more than one gateway in this example.

Result in Windows:

image

Task Sequence example:

OSDAdapter0Gateways=10.10.10.1

image

 

Stay tuned for part 3.

+ posts

Table of Contents

Share this post
Search blog posts
Search
Authors
Modern Workplace consultant and a Microsoft MVP in Enterprise Mobility.

Modern Workplace consultant and a Microsoft MVP in Windows and Devices.

Infrastructure architect with focus on Modern Workplace and Microsoft 365 security.

Cloud & security specialist with focus on Microsoft backend products and cloud technologies.

Cloud & security specialist with focus on Microsoft 365.

Cloud & Security Specialist, with a passion for all things Cybersecurity

Cloud and infrastructure security specialist with background in networking.

Infrastructure architect with focus on design, implementation, migration and consolidation.

Infrastructure consultant with focus on cloud solutions in Office365 and Azure.

Modern workplace and infrastructure architect with a focus on Microsoft 365 and security.

follow us in feedly
Categories

Follow on SoMe