I've sysprep'd my Windows7 Pro image and uploaded to K2000. Whenever I deploy the image, no matter what I put into the UNATTEND.XML, the product key wizard screen pops up on first boot.

I've tried activating later, using MAK & KMS keys, and a KMS server with no joy. Is there a way of skipping this wizard?
5 Comments   [ + ] Show Comments

Comments

  • Is the OS installed from a Volume License Media, or is it from OEM media?
  • I'm using Volume Licence Media
  • Was that unattended.xml generated from the Quest's Sysprep Creator tool?

    Could you paste the full answer file? (edit sensitive data please).
  • The unattend.xml was generated by Quest sysprep creator 4.1.0.1

    <?xml version="1.0" encoding="UTF-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="generalize">
    <component name="Microsoft-Windows-Security-SPP" 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">
    <SkipRearm>0</SkipRearm>
    </component>
    <component name="Microsoft-Windows-PnpSysprep" 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">
    <PersistAllDeviceInstalls>false</PersistAllDeviceInstalls>
    <DoNotCleanUpNonPresentDevices>false</DoNotCleanUpNonPresentDevices>
    </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">
    <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
    <RegisteredOrganization>XXXXX</RegisteredOrganization>
    <RegisteredOwner>XXXXX</RegisteredOwner>
    </component>
    </settings>
    <settings pass="specialize">
    <component name="Microsoft-Windows-Security-SPP-UX" 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">
    <SkipAutoActivation>true</SkipAutoActivation>
    </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>*</ComputerName>
    <CopyProfile>false</CopyProfile>
    <TimeZone>GMT Standard Time</TimeZone>
    <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
    <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
    <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
    </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>
    <JoinWorkgroup>WORKGROUP</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">
    <RunSynchronous>
    <RunSynchronousCommand wcm:action="add">
    <Order>1</Order>
    <Path>net user Administrator /active:yes</Path>
    <WillReboot>Never</WillReboot>
    </RunSynchronousCommand>
    </RunSynchronous>
    </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-GB</InputLocale>
    <SystemLocale>en-GB</SystemLocale>
    <UserLocale>en-GB</UserLocale>
    <UILanguage>en-US</UILanguage>
    <UILanguageFallback>en-US</UILanguageFallback>
    </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">
    <AutoLogon>
    <Password>
    <Value>XXXXXXXXX</Value>
    <PlainText>true</PlainText>
    </Password>
    <LogonCount>1</LogonCount>
    <Enabled>true</Enabled>
    <Username>Administrator</Username>
    </AutoLogon>
    <FirstLogonCommands>
    <SynchronousCommand wcm:action="add">
    <Description>Windows License Key</Description>
    <Order>1</Order>
    <CommandLine>cscript %SystemRoot%\system32\slmgr.vbs -skms SERVER_NAME_GOES_HERE.COM</CommandLine>
    <RequiresUserInput>false</RequiresUserInput>
    </SynchronousCommand>
    <SynchronousCommand wcm:action="add">
    <Description>Activate Windows</Description>
    <Order>2</Order>
    <CommandLine>cscript %SystemRoot%\system32\slmgr.vbs /ato</CommandLine>
    <RequiresUserInput>false</RequiresUserInput>
    </SynchronousCommand>
    <SynchronousCommand wcm:action="add">
    <Description>Control Panel Icon Size</Description>
    <Order>3</Order>
    <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v AllItemsIconView /t REG_DWORD /d 0 /f</CommandLine>
    <RequiresUserInput>false</RequiresUserInput>
    </SynchronousCommand>
    <SynchronousCommand wcm:action="add">
    <Description>Control Panel View</Description>
    <Order>4</Order>
    <CommandLine>reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel" /v StartupPage /t REG_DWORD /d 1 /f</CommandLine>
    <RequiresUserInput>false</RequiresUserInput>
    </SynchronousCommand>
    </FirstLogonCommands>
    <OOBE>
    <HideEULAPage>true</HideEULAPage>
    <NetworkLocation>Work</NetworkLocation>
    <ProtectYourPC>1</ProtectYourPC>
    <HideWirelessSetupInOOBE>false</HideWirelessSetupInOOBE>
    </OOBE>
    <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
    <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>
    <UserAccounts>
    <AdministratorPassword>
    <Value>XXXXXXXX</Value>
    <PlainText>true</PlainText>
    </AdministratorPassword>
    <LocalAccounts>
    <LocalAccount wcm:action="add">
    <Password>
    <Value>XXXXXXXXXX</Value>
    <PlainText>true</PlainText>
    </Password>
    <Description>Local Administrator</Description>
    <DisplayName>Administrator</DisplayName>
    <Group>Administrators</Group>
    <Name>Administrator</Name>
    </LocalAccount>
    </LocalAccounts>
    </UserAccounts>
    <WindowsFeatures>
    <ShowMediaCenter>false</ShowMediaCenter>
    <ShowInternetExplorer>true</ShowInternetExplorer>
    </WindowsFeatures>
    <RegisteredOrganization>XXXXX</RegisteredOrganization>
    <RegisteredOwner>XXXXX</RegisteredOwner>
    <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
    </component>
    </settings>
    </unattend>
  • this:
    <SynchronousCommand wcm:action="add">
    <Description>Windows License Key</Description>
    <Order>1</Order>
    <CommandLine>cscript %SystemRoot%\system32\slmgr.vbs -skms SERVER_NAME_GOES_HERE.COM</CommandLine>
    <RequiresUserInput>false</RequiresUserInput>
    </SynchronousCommand>

    actually is the licensing part but it's wrong!

    windows wants <productkey>pkey</productkey> for the license key in unattend.xml

    neither sysprep tool or k2000 wizard (scripting install) set this correctly in unattend.xml
    • This content is currently hidden from public view.
      Reason: Removed by member request
      For more information, visit our FAQ's.
Please log in to comment

There are no answers at this time

Answers

Answer this question or Comment on this question for clarity