Window 7 - Unattend.xml has product key - STILL prompts during OOBE!!?
-
Thursday, October 04, 2012 4:33 PM
I have create a Windows 7 Home Premium master image using a the official Microsoft Authorized refurbisher installation disc. I am trying to create the answer file that will contain the product key so that the end user will not have to manually enter it during the OOBE welcome. Using the Windows System Image Manager I created a new answer file from scratch. I've tried three configurations of the answer file:
1st attempt. Adding Microsoft-Windows-Setup\UserData\ProductKey and entering the product key there and setting WillShowUI to 'never'
2nd attempt. Adding Microsoft-Windows-Shell_Setup\ and entering the product key into the 'product key' field
3rd attempt. I had both options 1 & 2 added in the same answer file
Regardless, everything it boots to OOBE I am still prompted for the product key
I've move the Sysrep folder to C:\sysrep and place the unattend.xml file into this folder.
I'm am running sysrep with from the command prompt with this:
C:\sysprep\sysprep /oobe /shutdown /unattend:C:\sysprep\unattend.xml
Any idea as to why it is still prompting for the product key and or how I can get this to work?
Thanks
Here is my uattend.xml
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<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">
<OEMInformation>
<Manufacturer>Test Company</Manufacturer>
<Model>Test Model</Model>
<SupportHours>Test Hours</SupportHours>
<SupportPhone>1-800-555-5555</SupportPhone>
<SupportURL>www.work.com</SupportURL>
</OEMInformation>
<ProductKey>12345-12345-12345-12345-12345</ProductKey>
</component>
</settings>
<settings pass="windowsPE">
<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>
<ProductKey>
<Key>12345-12345-12345-12345-12345</Key>
<WillShowUI>Never</WillShowUI>
</ProductKey>
</UserData>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:c:/documents%20and%20settings/owner/desktop/install.wim#Windows 7 HOMEPREMIUM" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
- Edited by computeroverhauls Thursday, October 04, 2012 6:04 PM
- Changed Type Kim ZhouModerator Thursday, October 11, 2012 3:40 AM
All Replies
-
Thursday, October 04, 2012 5:28 PMYou are really sure you are using the right key?
-
Thursday, October 04, 2012 6:16 PM
Yes, I confirmed the product key in unattend.xml is correct. Once it boots to the desktop I copied and pasted the key into the Windows Activation to confirm it was correct and it activated successfully.
BTW, we are NOT using a volume license key. Each computer is has its own retail key or register refurbisher key.
- Edited by computeroverhauls Thursday, October 04, 2012 6:32 PM
-
Monday, October 08, 2012 9:09 AMModerator

