Jump to content

Avoid prompt for product key at OOBE


Recommended Posts


Add defualt productkey for that version in your autounattend will work..

Check the XML repository, a stickied thread here:)

Well thanks. But what is a "default product key"? I have to use it on many machines, each with its own product key...

Link to comment
Share on other sites

You can use the default product key for silent installation. There are located inside the product.ini file for each Windows version.

Choose the one you need!

Look: %DVD%\sources\product.ini

Really really thank you! :thumbup

Just a little problem: when Autounattend.xml is placed on the root of the dvd, setup stop at choose version (even if there is a ei.cfg) showing a blank line... :wacko:

Link to comment
Share on other sites

Check your Autounattend.xml file and use:

If needed change the value <Always> with <OnError>


<ImageInstall>
<OSImage>
<WillShowUI>OnError</WillShowUI>

However, could you attach your Autounattend.xml file, please (delete the valid key first)?

Edited by myselfidem
Link to comment
Share on other sites

You can add inside your Autounattend.xml:

<settings pass="windowsPE">


<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.microsoft.com/WMIConfig/2002/State[/url]" xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance"]http://www.w3.org/2001/XMLSchema-instance[/url]">
<ImageInstall>
<OSImage>
<WillShowUI>OnError</WillShowUI>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 HOMEPREMIUM</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>

Check your file with WSIM (Windows System Image Manager)

*Edit: You can also find help here:

http://www.msfn.org/board/topic/139572-ask-your-seven-xml-here/

Edited by myselfidem
Link to comment
Share on other sites

...

Ok this is working very well. What if I add another image to the existing .wim file? Can I add more metadata in Autoattend.xml and more default keys, letting people choose a certain version?

Edited by Gremo
Link to comment
Share on other sites

You can find help here about your question, I think. Read my post #28

All availables images are inside install.wim file!

You can use: imagex /info C:\%DVD_Folder%\sources\install.wim

http://www.msfn.org/...ry/page__st__20

I followed your post, now each edition has its key. Using the autounattend.xml in attachment all works quite fine. The only difference is, without the key in the xml, setup still ask for license agreement (just after disk partitioning).

autounattend.xml

Edited by Gremo
Link to comment
Share on other sites

I think this can be solved adding inside your Autounattend.xml file:

<component name="Microsoft-Windows-Setup" processorArchitecture="amd64"...

<UserData>

<AcceptEula>true</AcceptEula>

<FullName>EndUserName</FullName>

<Organization>Fabrikam</Organization>

<ProductKey>

<Key></Key>

<WillShowUI>OnError</WillShowUI>

</ProductKey>

</UserData>

Edited by myselfidem
Link to comment
Share on other sites

Ok this is working very well. What if I add another image to the existing .wim file? Can I add more metadata in Autoattend.xml and more default keys, letting people choose a certain version?

After many tests, I see this is possible to use an Autounattend.xml file without enter keys, but some dialog boxes will be displayed:

http://www.msfn.org/board/topic/151156-rt7lite-and-aio-x86-x64/page__pid__964713__st__20#entry964713

Maybe that can help you!

Link to comment
Share on other sites

Ok this is working very well. What if I add another image to the existing .wim file? Can I add more metadata in Autoattend.xml and more default keys, letting people choose a certain version?

After many tests, I see this is possible to use an Autounattend.xml file without enter keys, but some dialog boxes will be displayed:

http://www.msfn.org/..._20#entry964713

Maybe that can help you!

Wll I endend up setting default product keys and without using autounattend.xml. I still have to accept eula (right after the partition selection) and to specify languages and international settings at OOBE. Not a big problem, but i thank you for the product key tip (i dind't know it) :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...