Jump to content

unattanded creator - serial keys


hornet512
 Share

Recommended Posts

I have an AIO win7 DVD. I would like to create an Autounattend.xml file a serial key entered.

Which serial key should I use? or what is the solution?

The DVD has 9 images. Imagine I used win7 ultimate serial key. And want to install home premium. I have to use the autounattend.xml file with ultimate serial in it because one DVD has one autounattend.xml file.

I am afraid you will say that "just don't thick serial option" :(

Link to comment
Share on other sites

I have an AIO win7 DVD. I would like to create an Autounattend.xml file a serial key entered.

Which serial key should I use? or what is the solution?

The DVD has 9 images. Imagine I used win7 ultimate serial key. And want to install home premium. I have to use the autounattend.xml file with ultimate serial in it because one DVD has one autounattend.xml file.

I am afraid you will say that "just don't thick serial option" :(

You can try SetProductkey.cmd as bilbaro said! :icon_cool:

I made this batch file to do the work easier!!

The default keys will be injected inside the images you want...BUT only ONE valid key matches your Windows 7 copy to activate this one.

You don't need to enter the product key inside your Autounattend.xml file because the key(s) will be integrated inside the image(s).

You can also inject the valid product key matching your Windows 7 Ultimate, but if you try to install Windows 7 Home Premium you can't use the valid key for Windows 7 Ultimate!!

The default keys are used for silent installation, BUT each Windows 7 version need a different valid key.

Enjoy. :rolleyes:

Help about Autounattend.xml file for AIO:

http://www.msfn.org/...post__p__964301

*Edit: New link to DL:


http://www.mediafire.com/?uss84mzbqo91q

Edited by myselfidem
Link to comment
Share on other sites

You can try SetProductkey.cmd as bilbaro said! :icon_cool:

I made this batch file to do the work easier!!

Thank you for setproductkey. It is very hard work with 495 lines :type:

I have injected valid keys to the images as a test.

Although I have read your posts, I am not sure about image indexes!

imagex says only total count. not seperate index.

index 1 --> home premium

index 2 --> professional

index 3 --> ultimate

Are these constant?

What about other 2 images ?

Edited by hornet512
Link to comment
Share on other sites

Thanks :)

But take care: you was reading an example given to a member to remove 2 unwanted images with a batch file:

Windows 7 Starter x86 and Windows 7 HomeBasic x86.

Of course after removing these 2 images, only 3 images are available!


http://www.msfn.org/board/topic/144434-ask-for-key-first-or-skip-key-entry/page__view__findpost__p__928625

Available images inside install.wim :

Windows 7 x86:

Windows 7 STARTER index: 1

Windows 7 HOMEBASIC index: 2

Windows 7 HOMEPREMIUM index: 3

Windows 7 PROFESSIONAL index: 4

Windows 7 ULTIMATE index: 5

Windows 7 x64:

Windows 7 HOMEBASIC index: 1

Windows 7 HOMEPREMIUM index: 2

Windows 7 PROFESSIONAL index: 3

Windows 7 ULTIMATE index: 4

And if you have made an Windows 7 AIO 32-bit and 64-bit with all images inside ONE install.wim image, you could have:

Windows 7 STARTER (x86) index: 1

Windows 7 HOMEBASIC (x86) index: 2

Windows 7 HOMEPREMIUM (x86) index: 3

Windows 7 PROFESSIONAL (x86) index: 4

Windows 7 ULTIMATE (x86) index: 5

Windows 7 HOMEBASIC (x64) index: 6

Windows 7 HOMEPREMIUM (x64) index: 7

Windows 7 PROFESSIONAL (x64) index: 8

Windows 7 ULTIMATE (x64) index: 9

If some images are removed the index order and number aren't the same!

Edited by myselfidem
Link to comment
Share on other sites

You can use Dism.exe to watch the index number and the image name, WAIK 3.0 for Windows 7 must be installed:

WimInfo.cmd


@echo off
echo.
"C:\Program Files\Windows AIK\Tools\Servicing\Dism.exe" /Get-WimInfo /WimFile:"C:\Win7\sources\install.wim"
pause

Change the path to your install.wim location! :rolleyes:

*Edit: to create SetProductKey.cmd I found help here:

http://www.win-lite....wim-integrator/

Edited by myselfidem
Link to comment
Share on other sites

I have injected productkeys to my all AIO win7 images with your SetPruductKey.cmd and tested virtually. All images work fine: no more productkey asking. (actually except my poor win7 starter because there isn't starter in setproductkey.cmd) :) Thanks Myselfidem.

I will tell Legolash to steal your codes and apply to w7toolkit LOL

Edited by hornet512
Link to comment
Share on other sites

I used setproduckey updated on 2 november 2011 to insert trial serial keys to my all 9 images including my poor starter :)

tested all images virtually. yes, It lasted some time :) Inserting trialkeys works fine.

I need some help:

All x86 images ask only username and password while installing as I would like to. That's ok.

All x64 images ask username and two more option! 1-security question(update-ask-don't update) 2-network location(home-work-other) :(

I have only one autounattend.xml file on the dvd root.

My win7dvd isn't untouched. joined, updated and ie9.

Regards.

Link to comment
Share on other sites

About Autounattend.xml for Windows 7 AIO x86 x64 with keys already integrated.

Here is an example that you can adapt to your needs with your personnal values!


<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" 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">
<SetupUILanguage>
<UILanguage>fr-FR</UILanguage>
</SetupUILanguage>
<InputLocale>100c:0000100c</InputLocale>
<SystemLocale>fr-CH</SystemLocale>
<UILanguage>fr-FR</UILanguage>
<UserLocale>fr-CH</UserLocale>
</component>
<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>fr-FR</UILanguage>
</SetupUILanguage>
<InputLocale>100c:0000100c</InputLocale>
<SystemLocale>fr-CH</SystemLocale>
<UILanguage>fr-FR</UILanguage>
<UserLocale>fr-CH</UserLocale>
</component>
<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">
<Diagnostics>
<OptIn>false</OptIn>
</Diagnostics>
<DiskConfiguration>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>
<Display>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>1024</VerticalResolution>
<RefreshRate>60</RefreshRate>
</Display>
<DynamicUpdate>
<Enable>false</Enable>
<WillShowUI>OnError</WillShowUI>
</DynamicUpdate>
<ImageInstall>
<OSImage>
<WillShowUI>Always</WillShowUI>
</OSImage>
</ImageInstall>
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>Full Name</FullName>
<Organization>company</Organization>
</UserData>
<EnableFirewall>true</EnableFirewall>
</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">
<Diagnostics>
<OptIn>false</OptIn>
</Diagnostics>
<DiskConfiguration>
<WillShowUI>Always</WillShowUI>
</DiskConfiguration>
<Display>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>1024</VerticalResolution>
<RefreshRate>60</RefreshRate>
</Display>
<DynamicUpdate>
<Enable>false</Enable>
<WillShowUI>OnError</WillShowUI>
</DynamicUpdate>
<ImageInstall>
<OSImage>
<WillShowUI>Always</WillShowUI>
</OSImage>
</ImageInstall>
<UserData>
<AcceptEula>true</AcceptEula>
<FullName>Full Name</FullName>
<Organization>company</Organization>
</UserData>
<EnableFirewall>true</EnableFirewall>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-SPP-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
<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="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">
<ComputerName>Se7en_AIO</ComputerName>
<TimeZone>W. Europe Standard Time</TimeZone>
</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>Se7en_AIO</ComputerName>
<TimeZone>W. Europe Standard Time</TimeZone>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" 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">
<DisableOOBAccelerators>true</DisableOOBAccelerators>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<EnableLinksBar>false</EnableLinksBar>
<FilterLevel>High</FilterLevel>
<Home_Page>www.google.fr</Home_Page>
<BlockPopups>yes</BlockPopups>
<SuggestedSitesEnabled>false</SuggestedSitesEnabled>
<PlaySound>false</PlaySound>
<ShowInformationBar>true</ShowInformationBar>
<ShowMenuBar>true</ShowMenuBar>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" 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">
<DisableOOBAccelerators>true</DisableOOBAccelerators>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<EnableLinksBar>false</EnableLinksBar>
<FilterLevel>High</FilterLevel>
<Home_Page>www.google.fr</Home_Page>
<BlockPopups>yes</BlockPopups>
<SuggestedSitesEnabled>false</SuggestedSitesEnabled>
<PlaySound>false</PlaySound>
<ShowInformationBar>true</ShowInformationBar>
<ShowMenuBar>true</ShowMenuBar>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" 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">
<InputLocale>100c:0000100c</InputLocale>
<UserLocale>fr-CH</UserLocale>
<UILanguage>fr-FR</UILanguage>
</component>
<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>100c:0000100c</InputLocale>
<UserLocale>fr-CH</UserLocale>
<UILanguage>fr-FR</UILanguage>
</component>
<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">
<RegisteredOrganization>Se7en_UA</RegisteredOrganization>
<RegisteredOwner>Full Name</RegisteredOwner>
<TimeZone>W. Europe Standard Time</TimeZone>
<AutoLogon>
<Enabled>true</Enabled>
<LogonCount>9999999</LogonCount>
<Username>myselfidem</Username>
<Password>
<Value>xxxxxxxx</Value>
<PlainText>false</PlainText>
</Password>
</AutoLogon>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<Description>Password never expires</Description>
<CommandLine>cmd /C wmic useraccount where "name='myselfidem'" set PasswordExpires=FALSE</CommandLine>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
<Display>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>1024</VerticalResolution>
<RefreshRate>60</RefreshRate>
</Display>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>xxxxxxxx</Value>
<PlainText>false</PlainText>
</Password>
<DisplayName>myselfidem</DisplayName>
<Name>myselfidem</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<VisualEffects>
<FontSmoothing>ClearType</FontSmoothing>
</VisualEffects>
</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">
<RegisteredOrganization>Se7en_UA</RegisteredOrganization>
<RegisteredOwner>Full Name</RegisteredOwner>
<TimeZone>W. Europe Standard Time</TimeZone>
<AutoLogon>
<Enabled>true</Enabled>
<LogonCount>9999999</LogonCount>
<Username>myselfidem</Username>
<Password>
<Value>xxxxxxxx</Value>
<PlainText>false</PlainText>
</Password>
</AutoLogon>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<Description>Password never expires</Description>
<CommandLine>cmd /C wmic useraccount where "name='myselfidem'" set PasswordExpires=FALSE</CommandLine>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
<Display>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
<HorizontalResolution>1280</HorizontalResolution>
<VerticalResolution>1024</VerticalResolution>
<RefreshRate>60</RefreshRate>
</Display>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>xxxxxxxx</Value>
<PlainText>false</PlainText>
</Password>
<DisplayName>myselfidem</DisplayName>
<Name>myselfidem</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<VisualEffects>
<FontSmoothing>ClearType</FontSmoothing>
</VisualEffects>
</component>
</settings>
</unattend>

You can chek your file with WSIM, to see if errors...But you don't need to validate the file!

*Edit: with this example the installation is fully unattended, exept asking for Disk comfiguration and OS to Install!

Edited by myselfidem
Link to comment
Share on other sites

First it's needed to take care when you add comments inside your xml file: <!--Customized by ...2011-->

Here is your Autounattend.xml file with some values needed and you must change to your needs for x86 and amd64:


<SetupUILanguage>
<UILanguage>fr-FR</UILanguage>
</SetupUILanguage>
<InputLocale>100c:0000100c</InputLocale>
<SystemLocale>fr-CH</SystemLocale>
<UILanguage>fr-FR</UILanguage>
<UserLocale>fr-CH</UserLocale>

Changed also: <component name="Microsoft-Windows-Security-Licensing-SLC-UX"... (not available for Windows 7)!!

The correct value is: <component name="Microsoft-Windows-Security-SPP-UX"...

The dialog boxes displayed will be: Disk Configuration, OS to Install, Uername, Password

I hope that can help you!

Autounattend.xml

Edited by myselfidem
Link to comment
Share on other sites

"The correct value is: <component name="Microsoft-Windows-Security-SPP-UX"..."

I will test that. In fact w7t 1.3.0.59 unattended creator made these values.

"The dialog boxes displayed will be: Disk Configuration, OS to Install, Uername, Password"

And security and network location are being displayed in x64 setups. x86 is ok.

Thank's anyway. I think I should use the dvd without solving the problem.

That's not very important issue.

Regards.

Link to comment
Share on other sites

It seems you have customized first your Windows 7 DVD with RT Se7en Lite!

*Edit: Or you have used incorrect values inside your customized Autounattend.xml file!

Please, let me know if you have already errors with amd64 silent installation!!!

Edited by myselfidem
Link to comment
Share on other sites

It seems you have customized first your Windows 7 DVD with RT Se7en Lite!

I don't use RTseven lite. The original sources may use it. But I don't think so.

I should dowload latest untouched MSDN win7 dvds and do everything myself :type: :unsure:

regards

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...