ventoy / Ventoy

A new bootable USB solution.
https://www.ventoy.net
GNU General Public License v3.0
62.94k stars 4.1k forks source link

[issue]: Product Key not work #2424

Open resmartsrl opened 1 year ago

resmartsrl commented 1 year ago

Official FAQ

Ventoy Version

1.0.91

What about latest release

Yes. I have tried the latest release, but the bug still exist.

Try alternative boot mode

Yes. I have tried them, but the bug still exist.

BIOS Mode

UEFI Mode

Partition Style

GPT

Disk Capacity

32GB

Disk Manufacturer

Kingston

Image file checksum (if applicable)

None

Image file download link (if applicable)

No response

What happened?

A bug happened! Hi , I configured ventoy to auto-install windows 10, I had the iso made by the media creation tool. Installation starts but after a while it says it can't find the product key, even though unattendend.xml has been entered, and restarts the pc.

I am attaching both the configuration file and the screenshot of the error. THE PRODUCT KEY VOLUNTARILY HAS ONE LESS LETTER, NOT TO DISCLOSE IT TO ANYONE Thank you

<?xml version="1.0" encoding="utf-8"?>

it-it it-it it-it it-it it-it true 1 Primary true NTFS 1 1 0 true 1 /IMAGE/INDEX 0 1 true - - MyPC W. Europe Standard Time - true Work 3 true true true 2 admin true</PlainText> </Password> </AutoLogon> <UserAccounts> <AdministratorPassword> <Value>123456</Value> <PlainText>true</PlainText> </AdministratorPassword> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>public</Value> <PlainText>true</PlainText> </Password> <DisplayName>public</DisplayName> <Group>Administrators</Group> <Name>public</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <RegisteredOrganization>-</RegisteredOrganization> <RegisteredOwner>-</RegisteredOwner> </component> </settings> </unattend> <p><img referrerpolicy="no-referrer" src="https://github.com/ventoy/Ventoy/assets/135997275/670b1e2e-3fee-42a0-b006-6aa87f633e08" alt="IMG_20230608_174642" /></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/steve6375"><img src="https://avatars.githubusercontent.com/u/1469350?v=4" />steve6375</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>check the log files. After fail message, press SHIFT+F10 and get command shell Then use notepad to look at log and error files in X:\Windows\System32\Panther folder. e.g. setupact.log setupact.err etc.</p> <p>or do a dir *.log /s</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/resmartsrl"><img src="https://avatars.githubusercontent.com/u/135997275?v=4" />resmartsrl</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>Hi steve6375, Thanks for your reply but there is no panther folder in X:\windows\system32, so I can't see the log file.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/steve6375"><img src="https://avatars.githubusercontent.com/u/1469350?v=4" />steve6375</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>sorry, my bad, I meant \Windows\Panther</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/resmartsrl"><img src="https://avatars.githubusercontent.com/u/135997275?v=4" />resmartsrl</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p><a href="https://github.com/ventoy/Ventoy/files/11719634/setupact.log">setupact.log</a></p> <p>I attach the setupact.log file. I don't understand where is the error.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/steve6375"><img src="https://avatars.githubusercontent.com/u/1469350?v=4" />steve6375</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>Can you zip up and post the actual xml file (you can change one of the letters on the Product Key. For instance in your post you have</p> <pre><code> &lt;!-- &lt;ProductKey&gt; &lt;WillShowUI&gt;OnError&lt;/WillShowUI&gt; &lt;Key&gt;F6NQJ-PPCXY-Y2TH7-V6KKB-F9CK&lt;/Key&gt; &lt;/ProductKey&gt; --&gt; </code></pre> <p>what are the &lt;!-- and -- &gt; lines for ??? This is commenting out those lines ????</p> <p><a href="https://www.w3schools.com/xml/xml_syntax.asp">https://www.w3schools.com/xml/xml_syntax.asp</a></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/resmartsrl"><img src="https://avatars.githubusercontent.com/u/135997275?v=4" />resmartsrl</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>&lt;!!-- , --&gt; they are part of the original file that I downloaded from the ventoy site. I just changed it to the settings that worked for me.</p> <p><a href="https://github.com/ventoy/Ventoy/files/11721296/Windows_unattend.zip">Windows_unattend.zip</a></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/resmartsrl"><img src="https://avatars.githubusercontent.com/u/135997275?v=4" />resmartsrl</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>I tried to remove those characters you asked me what they were for and the installation went ahead. the new problem is that it can't partition the disk. The disk has no partitions created and is empty.</p> <p><a href="https://github.com/ventoy/Ventoy/files/11721496/setuperr.log">setuperr.log</a> <a href="https://github.com/ventoy/Ventoy/files/11721497/setupact.log">setupact.log</a></p> <p><img src="https://github.com/ventoy/Ventoy/assets/135997275/2f8a3322-eb3f-48d4-892d-2c70c3d8ab62" alt="IMG_20230612_123941" /></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/steve6375"><img src="https://avatars.githubusercontent.com/u/1469350?v=4" />steve6375</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>It looks like you have tried to set a partition as active. are you UEFI-booting or Legacy booting? if UEFI booting then you cannot set a partition as active</p> <p>If the XML file is intended for UEFI booting or Legacy booting? The disk xml will be different for both. Without knowing how you are booting and the contents of your XML file it is difficult to know.</p> <p>Also, it appears that your key is not recognised. Is it a valid key which matches the OS Edition in the ISO ?</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/resmartsrl"><img src="https://avatars.githubusercontent.com/u/135997275?v=4" />resmartsrl</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>uefi boot the xml I don't know which of the two it is configured for, I repeat it, I downloaded it from the site and there was only one. The product key is purchased regularly and is a Win10Pro, like the ISO.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/steve6375"><img src="https://avatars.githubusercontent.com/u/1469350?v=4" />steve6375</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>Try legacy booting to ventoy and then install Windows. You need to learn about XML files before you can use them! This is not a bug with Ventoy. On my <a href="https://easy2boot.xyz">easy2boot</a> site there are some pages and you can buy my eBooks which explain about XML files, etc. Also free Help Online chat. This Issues GitHub place is only for Ventoy bugs.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/steve6375"><img src="https://avatars.githubusercontent.com/u/1469350?v=4" />steve6375</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>P..S. You can use the WAFG site to generate an XML file <a href="https://www.windowsafg.com/">https://www.windowsafg.com/</a> Then Choose <strong>Desktop</strong> and then either <strong>Windows 10/11 MBR</strong> or <strong>UEFI</strong> depending on which way you want to boot Windows. With Windows, you can either MBR\Legacy boot using MBR partitioned disk or UEFI-boot using a GPT partitioned disk. You cannot mix the two.</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>