Unattended setup to disable 1 of 2 netw. connections
Hey Guys, For a part of a project of mine I need to modify the unattended setup file so that it disables one of my network connections.I am deploying windows 2008 r2 32bit onto physical Proliant machines.I dont have any info on how to build an unattended answer file.Could somebody provide some useful advice.I spend 2 hrs looking for info with no clue what should be done.I know how to disable a NIC via devcon.exe. but thats once I am into windows.Do you think this can be of any use?Could you please provide info on how to build an unattended setup answer file and the whole process(for windows server 2008 r2 32 & 64 bit)?? <?xml version="1.0" encoding="utf-8"?> <!-- Project : --> <!-- Author : --> <!-- Date: 30/09/2008 --> <!-- Version : 1.8 --> <!-- Description: Windows 2008 64 bits R2 unattented install --> <!-- FB:12-Jan-10: 1.8: fix diskpart issue --> <!-- Version Author Date description --> <unattend xmlns="urn:schemas-microsoft-com:unattend"> <servicing></servicing> <settings pass="windowsPE"> <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ImageInstall> <OSImage> <WillShowUI>OnError</WillShowUI> <InstallFrom> <MetaData wcm:action="add"> <Key>/image/index</Key> <Value>3</Value> </MetaData> </InstallFrom> <InstallToAvailablePartition>false</InstallToAvailablePartition> <InstallTo> <DiskID>0</DiskID> <PartitionID>2</PartitionID> </InstallTo> </OSImage> </ImageInstall> <UserData> <ProductKey> <WillShowUI>OnError</WillShowUI> <Key>489J6-VHDMP-X63PK-3K798-CPX3Y</Key> </ProductKey> <AcceptEula>true</AcceptEula> <Organization>Ericsson</Organization> <FullName>Ericsson</FullName> </UserData> <DiskConfiguration> <Disk wcm:action="add"> <CreatePartitions> <CreatePartition wcm:action="add"> <Order>1</Order> <Size>1500</Size> <Type>Primary</Type> </CreatePartition> <CreatePartition wcm:action="add"> <Order>2</Order> <Size>10000</Size> <Type>Primary</Type> </CreatePartition> </CreatePartitions> <DiskID>0</DiskID> <WillWipeDisk>true</WillWipeDisk> <ModifyPartitions> <ModifyPartition wcm:action="add"> <Active>true</Active> <Extend>false</Extend> <Format>NTFS</Format> <Letter>V</Letter> <Order>1</Order> <PartitionID>1</PartitionID> </ModifyPartition> <ModifyPartition wcm:action="add"> <Active>true</Active> <Extend>true</Extend> <Format>NTFS</Format> <Letter>C</Letter> <Order>2</Order> <PartitionID>2</PartitionID> </ModifyPartition> </ModifyPartitions> </Disk> </DiskConfiguration> </component> <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SetupUILanguage> <UILanguage>en-US</UILanguage> </SetupUILanguage> <InputLocale>en-US</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Reseal> <Mode>OOBE</Mode> </Reseal> </component> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TimeZone>W. Europe Standard Time</TimeZone> <UserAccounts> <AdministratorPassword> <Value>VABoAGUAbwBuAGUAMQAyAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value> <PlainText>false</PlainText> </AdministratorPassword> </UserAccounts> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <fDenyTSConnections>false</fDenyTSConnections> </component> <component name="Networking-MPSSVC-Svc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DomainProfile_EnableFirewall>false</DomainProfile_EnableFirewall> <PrivateProfile_EnableFirewall>false</PrivateProfile_EnableFirewall> <PublicProfile_EnableFirewall>false</PublicProfile_EnableFirewall> </component> <component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Identification> <Credentials> <Username>Administrator</Username> <Password>Password</Password> </Credentials> <JoinWorkgroup>HPWISE</JoinWorkgroup> </Identification> </component> <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ExtendOSPartition> <Extend>true</Extend> </ExtendOSPartition> </component> <component name="Microsoft-Windows-ServerManager-SvrMgrNc" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon> </component> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ComputerName>Prehpwise</ComputerName> <TimeZone>W. Europe Standard Time</TimeZone> <Themes> <DefaultThemesOff>true</DefaultThemesOff> </Themes> <Display> <ColorDepth>16</ColorDepth> <HorizontalResolution>800</HorizontalResolution> <RefreshRate>60</RefreshRate> <VerticalResolution>600</VerticalResolution> </Display> <AutoLogon> <Password> <Value>VABoAGUAbwBuAGUAMQAyAFAAYQBzAHMAdwBvAHIAZAA=</Value> <PlainText>false</PlainText> </Password> <Enabled>true</Enabled> <LogonCount>1</LogonCount> <Username>Administrator</Username> </AutoLogon> </component> <component name="Microsoft-Windows-NetBT" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Interfaces> <Interface wcm:action="add"> <NameServerList> <IpAddress wcm:action="add" wcm:keyValue="1">someipaddress10.0.1.32</IpAddress> <IpAddress wcm:action="add" wcm:keyValue="2">someipaddress10.0.1.32</IpAddress> </NameServerList> <NetbiosOptions>1</NetbiosOptions> <Identifier>Local Area Connection</Identifier> </Interface> </Interfaces> </component> </settings> <cpi:offlineImage cpi:source="catalog:g:/r2/sources/install_windows server 2008 r2 serverenterprise.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> </unattend>
October 24th, 2011 8:18am

There are at least two ways: 1. Use HP solution Insight Rapid Deployment. If this is the case, then look into HP manuals on the HP web pages. "Insight" is usually part of the DVD/CD package, that comes with server. This isntallation is suitable, if you want use HP management pack. 2. For unattended vanilla plain Windows 2008 R2 you can use WAIK. http://www.microsoft.com/download/en/details.aspx?id=5753 and supplement for SP1 http://www.microsoft.com/download/en/details.aspx?id=5188 3. I am not sure if setup enumeration of interfaces corresponds to the physical one. I would enable both and disable port that I do not want use by netsh command... or simply test the installation with unattended setup file.
Free Windows Admin Tool Kit Click here and download it now
October 24th, 2011 9:27am

About #2 I am familiar with WAIK but I have only injected drivers into it. I have downloaded the product now. Can you give me a standard tutorial/guide for it so I can check how to create a new .wim image or perhaps disable the connection from this one. Also do you have a clue whether the interface can be disabled and how? I dont have a clue how HP IRD works.I dont know if I will have the possibility to test it out.
October 24th, 2011 9:48am

Hi, From the problem description, I understand that you would like to disable the NIC via the unattend.xml file. Based on my experience, there are no options related to disable the NIC. And from the original post, I noticed that you know how to disable a NIC via devcon.exe. So I think you could deploy the OS then use the command line tool to disable the NIC. Regards, JamesPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
October 26th, 2011 5:05am

Hi, From the problem description, I understand that you would like to disable the NIC via the unattend.xml file. Based on my experience, there are no options related to disable the NIC. And from the original post, I noticed that you know how to disable a NIC via devcon.exe. So I think you could deploy the OS then use the command line tool to disable the NIC. Regards, JamesPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
October 26th, 2011 12:03pm

Any Update? JamesPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
October 30th, 2011 8:58pm

No I cant seem to find a straight forward guide on how to do this.
November 2nd, 2011 9:43am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics