/build/static/layout/Breadcrumb_cap_w.png

Sysprep - Skip the Product Key Wizard

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
  • Is the OS installed from a Volume License Media, or is it from OEM media? - cserrins 3 years ago
  • I'm using Volume Licence Media - Azza 3 years ago
  • Was that unattended.xml generated from the Quest's Sysprep Creator tool?

    Could you paste the full answer file? (edit sensitive data please). - Channeler 3 years ago
  • 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> - Azza 3 years ago
  • 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 - n1md4 3 years ago

Answers (0)

Be the first to answer this question

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ