It is required to deploy Windows 7 or higher to multiple machines with Static IP addresses. How to do this via OSIM?
Client Automation - All versions
OSIM automates the unattended installation but this is still the standard Microsoft unattended install and is therefore possible to do anything Microsoft supports.
In order to configure this successfully a full understanding of the xml Microsoft unattended setup file that Windows uses is required.
This is fully documented in the Windows Automated Installation Kit (WAIK) (Windows 7) or the Windows Assessment and Deployment Kit (ADK) (windows 8 or higher) documentation from Microsoft.
See the example below for basic instructions on defining static IP into the XML file.
Consider the requirements:
IP address required = 192.168.1.25
Subnet mask = 255.255.255.0
Gateway = 192.168.1.108
DNS Domain = forward.inc.local
DNS servers = 192.168.1.1, 192.168.1.2
These requirements require work in 2 components of the specialize phase of the install
Microsoft-Windows-TCPIP
and
Microsoft-Windows-DNS-Client
to add these into an image you use the "Windows System Image Manager (SIM)" installed with the WAIK or ADK
Note the addition of the routing prefix length /24 this is instead of subnet mask. See MS documentation in WAIK or ADK for further detail.
This would work fine for a single PC but is not very useful for OSIM deployments; OSIM uses parameters in order that it is possible define the values in the OSIM GUI when scheduling the OS deployment. These Parameters must be defined within the image.
First ascertain which values need to be parameters
In the requirements the values that need to be defined per machine are IP address and Gateway. However it is a good idea to allow the choice of DHCP or Static IP in the image.
Adding the Parameters to the XML
Follow the procedure above with the following differences
Updating the Image registration in the MDB to provide these new parameters in the UI
In Windows Explorer navigate to
...Program Files\CA\DSM\Server\SDBS\var\managedpc\images\<ImageName>
Open the file default.ini
in the section [Default] add the lines
DhcpEnabled=TRUE IpAddress= Gateway= scroll to bottom of file and add [DhcpEnabled] Type=MapList MaxLength=5 Trans=yes Comment=Select if the target will use DHCP or static IP address item=TRUE "DHCP" item=FALSE "Static IP" [IpAddress] Type=Text MaxLength=18 Trans=yes Comment=Enter the IpAddress and routing prefix length eg 192.168.1.25/24. Only required if you have configured for static IP. [Gateway] Type=Text MaxLength=18 Trans=yes Comment=Enter the IpAddress of the network gateway. Only required if you have configured for static IP.
save the file and now run the update osimage wizard
Run the Wizard