Jump to content

DineshBhat

Member
  • Posts

    13
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    India

Posts posted by DineshBhat

  1. Hi,

    I knew on how to do it manually (by navigating to Control Panel). But I am looking for a way to enable the same using command line options. In other way, I want to write a batch script which does this thing for me.

    Appreciate your help on this.

    Thanks,

    Dinesh

  2. Hi,

    Thanks alot for the information. I am still wondering the command line options to enable NFS service from Control Panel (which is discussed in the link provided by you).

    Appreciate your help on that.

    ---- Dinesh

  3. Hi,

    Here is what I wanted to do:

    1. Setup WOL (Wake On Lan) and let the device to boot through PXE.

    I have done a setup for WOL and PXE also. But the struggling part for me is, "Editing the boot order" after waking up the device(using WOL). I want the device to boot through PXE only once (each time when woke up from WOL).

    Can any one help me on this?

    Thanks,

    Dinesh Bhat

  4. Hi,

    Thanks alot for your dedicated valuable time for me. I have used the XML file attached (by you) and got to see the problem solved.... :) .... And Now I know the mistake in my code (XML).

    I have missed (deleted) the line. I have deleted the line by having an assumption that, the code written <InstallTo> </InstallTo> takes care of identifying the necessary settings.


    <InstallToAvailablePartition>false</InstallToAvailablePartition>

    and this made me struggle like this :( ....

    I would like to thank all the people who helped me to get ride of this issue.

    -- Dinesh

  5. Hi Thanks to all for your valid inputs. Still I am unable to overcome the issue. After making all the suggested changes, I am seeing an error: "Windows could not parse the unattended answer file for pass [Windows PE]". The answer file is invalid.

    Here is my new answer file:



    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" 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>0409:00000409</InputLocale>
    <UserLocale>en-US</UserLocale>
    <UILanguage>en-US</UILanguage>
    <SystemLocale>en-US</SystemLocale>
    </component>
    <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <UserData>
    <Organization>TEST</Organization>
    <FullName>test</FullName>
    <AcceptEula>true</AcceptEula>
    </UserData>
    <DiskConfiguration>
    <WillShowUI>onerror</WillShowUI>
    <Disk wcm:action="add">
    <DiskID>0</DiskID>
    <WillWipeDisk>true</WillWipeDisk>
    <CreatePartitions>
    <CreatePartition>
    <Order>1</Order>
    <Type>Primary</Type>
    <Size>100</Size>
    </CreatePartition>
    <CreatePartition>
    <Order>2</Order>
    <Type>Primary</Type>
    <Extend>true</Extend>
    </CreatePartition>
    </CreatePartitions>
    <ModifyPartitions>
    <ModifyPartition wcm:action="add">
    <Active>true</Active>
    <Format>NTFS</Format>
    <Label>system</Label>
    <Order>1</Order>
    <PartitionID>1</PartitionID>
    </ModifyPartition>
    <ModifyPartition wcm:action="add">
    <Format>NTFS</Format>
    <Label>Main</Label>
    <Letter>C</Letter>
    <Order>2</Order>
    <PartitionID>2</PartitionID>
    </ModifyPartition>
    </ModifyPartitions>
    </Disk>
    </DiskConfiguration>
    <ImageInstall>
    <OSImage>
    <InstallFrom>
    <MetaData wcm:action="add">
    <Key>/IMAGE/NAME</Key>
    <Value>Windows 7 ENTERPRISE</Value>
    </MetaData>
    </InstallFrom>
    <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>2</PartitionID>
    </InstallTo>
    <WillShowUI>OnError</WillShowUI>
    </OSImage>
    </ImageInstall>
    </component>
    </settings>
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <AutoLogon>
    <Password>
    <Value>c</Value>
    </Password>
    <Enabled>true</Enabled>
    <LogonCount>1</LogonCount>
    <Username>Administrator</Username>
    </AutoLogon>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <SkipUserOOBE>false</SkipUserOOBE>
    </OOBE>
    <UserAccounts>
    <AdministratorPassword>
    <Value>c</Value>
    </AdministratorPassword>
    </UserAccounts>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>test</ComputerName>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:C:/win7/sources/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

    NOTE:

    The answer file passes the validation phase if, I remove the code mentioned between <DiskConfiguration>. But the code between <DiskConfiguration> is very much required for me to have Windows installed by creating a partition.

    Please help me....

  6. Thanks for the suggestion. This time I have removed the Size tag in the above mentioned answer file. But this time once again stuck at the same stage :( ...

    Here is what I am currently doing:

    1. Launching vLite tool.

    2. Selecting the directory having the Windows 7 OS files.

    3. Provided all the necessary details for computername etc... and opted for rebuilding the components.

    4. Once rebuilding the component finished, I am replacing the answer file generated (by vLite) with the one I have customized.

    5. Created the ISO file.

    Problem faced:

    1. Booting from ISO is successful.

    2. Page asking for "Install Now" pops up and waits for user input. I have manually selected the option "Install Now" and before loading the EULA, it prompted me an error: Windows setup encountered an internal error while loading or searching for an answer file.

    NOTE:

    I am trying to install the Windows 7 on bare metal hard disk.

  7. Hi, I have made the suggested changes and still unable to solve the problem. Please help me in getting me know on the wrong part that I am doing.

    Here is my XML:


    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="windowsPE">
    <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" 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>0409:00000409</InputLocale>
    <UserLocale>en-IN</UserLocale>
    <UILanguage>en-US</UILanguage>
    <SystemLocale>en-IN</SystemLocale>
    </component>
    <component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <UserData>
    <Organization>test</Organization>
    <FullName>XC-Win7</FullName>
    <AcceptEula>true</AcceptEula>
    </UserData>
    <DiskConfiguration>
    <WillShowUI>onerror</WillShowUI>
    <Disk wcm:action="add">
    <DiskID>0</DiskID
    <WillWipeDisk>true</WillWipeDisk>
    <CreatePartitions>
    <CreatePartition>
    <Order>1</Order>
    <Type>Primary</Type>
    <Size>100</Size>
    </CreatePartition>
    <CreatePartition>
    <Order>2</Order>
    <Type>Primary</Type>
    <Size>30000</Size>
    <Extend>true</Extend>
    </CreatePartition>
    </CreatePartitions>
    <ModifyPartitions>
    <ModifyPartition wcm:action="add">
    <Active>true</Active>
    <Format>NTFS</Format>
    <Label>system</Label>
    <Order>1</Order>
    <PartitionID>1</PartitionID>
    </ModifyPartition>
    <ModifyPartition wcm:action="add">
    <Active>true</Active>
    <Format>NTFS</Format>
    <Label>Main</Label>
    <Letter>C</Letter>
    <Order>2</Order>
    <PartitionID>2</PartitionID>
    </ModifyPartition>
    </ModifyPartitions>
    </Disk>
    </DiskConfiguration>
    <ImageInstall>
    <OSImage>
    <InstallFrom>
    <MetaData wcm:action="add">
    <Key>/IMAGE/NAME</Key>
    <Value>Windows 7 ENTERPRISE</Value>
    </MetaData>
    </InstallFrom>
    <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>2</PartitionID>
    </InstallTo>
    <WillShowUI>OnError</WillShowUI>
    </OSImage>
    </ImageInstall>
    </component>
    </settings>
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <AutoLogon>
    <Password>
    <Value>test</Value>
    </Password>
    <Enabled>true</Enabled>
    <LogonCount>1</LogonCount>
    <Username>Administrator</Username>
    </AutoLogon>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <SkipMachineOOBE>true</SkipMachineOOBE>
    <SkipUserOOBE>false</SkipUserOOBE>
    </OOBE>
    <UserAccounts>
    <AdministratorPassword>
    <Value>test</Value>
    </AdministratorPassword>
    </UserAccounts>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" 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>XC-Win7</ComputerName>
    </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:E:/Office Docs/auto_Install_ISO/Win7-unattended/win7/sources/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>

  8. Hi urie, thanks alot for the information.

    I think now I am understanding the wrong part that I am doing. While using vLite tool, I am rebuilding the components after entering all the necessary details (computer name, product key etc...). This process generating an answer file (default one). This time, I have manually replaced the answer file generated by vLite with the one having the below suggested changes and I have created the ISO. But when I have booted the machine with the ISO generated, I am seeing a error message "Windows setup encountered an internal error while loading or searching for answer file" and the installation aborted.

    Now I dont know the problem is because of manual replacement of answer file or the problem is with answer file :( ... Please help me....

  9. Hi,

    I am Dinesh and new to this unattended installation of Windows. I have used vLite tool to get a new Windows 7 iso for unattended install. I have tried installing Windows 7 OS using the the ISO created from vLite. But it is prompting me to select the disk for installation. I want to automate this even. I have tried setting <InstallToAvailablePartition> tag in the Autounattend.xml file to True. But this time I got to see a error: "Failed to pick up the default partition.." and installation aborted. Can any one help me to overcome this?

    Thanks,

    Dinesh

×
×
  • Create New...