I am trying to run a .bat file to upgrade from 7pro to 7ent but does not work. i have followed the set up for upgrade to w10 and works fine.
i am using a .bat ( Setup.exe /auto upgrade /installfrom c:\windows7_media\sources\install.wim /dynamicupdate disable )
to call out the install.wim in windows 7 enterprise source files. but i get this error.
"An unkown command-line option [/auto] was specified"

any suggestions

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1
Hello Castane9,

To upgrade from 7 pro to 7 enterprise, you do not need the "/atuo" command at all. I have created a script that does the upgrade and works for us. I use the following:

 %systemdrive%\win7\setup.exe /unattended:C:\unattend.xml /noreboot

We use an unattended xml file. I copy this to the root C: drive.
Answered 05/27/2016 by: jboling
Yellow Belt

Please log in to comment
1
could you share the xml file so i can see what edits are being made.

thanks
Answered 05/27/2016 by: castane9
Senior White Belt

  • <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
    <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>(GMT-8:00) Pacific Time (US and Canada); Tijuana</TimeZone>
    </component>
    </settings>
    <settings pass="windowsPE">
    <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-AU</UserLocale>
    </component>
    <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">
    <UpgradeData>
    <Upgrade>true</Upgrade>
    <WillShowUI>Never</WillShowUI>
    </UpgradeData>
    <ImageInstall>
    <OSImage>
    <InstallTo>
    <DiskID>0</DiskID>
    <PartitionID>2</PartitionID>
    </InstallTo>
    </OSImage>
    </ImageInstall>
    <UserData>
    <ProductKey>
    <WillShowUI>OnError</WillShowUI>
    <Key></Key>
    </ProductKey>
    <AcceptEula>true</AcceptEula>
    </UserData>
    </component>
    </settings>
    <settings pass="oobeSystem">
    <component name="Microsoft-Windows-International-Core" 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">
    <InputLocale>en-US</InputLocale>
    <SystemLocale>en-US</SystemLocale>
    <UILanguage>en-US</UILanguage>
    <UserLocale>en-US</UserLocale>
    </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">
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Other</NetworkLocation>
    <ProtectYourPC>1</ProtectYourPC>
    </OOBE>
    </component>
    </settings>
    </unattend>
    • Thank you jboling

      just to clarify i copied the xml you posted and placed it in the c: drive is this a clean upgrade because i get an error " cannot upgrade from windows 7 pro to windows 7 ent. if we want to upgrade install the media cd and run upgrade option." will this xml do an in place upgrade without loosing any user settngs?

      thanks
Please log in to comment
Answer this question or Comment on this question for clarity