Ventoy Forums
Using ei.cfg with Windows 10/11 ISO using any plugin. - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy General Use (https://forums.ventoy.net/forumdisplay.php?fid=1)
+--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2)
+--- Thread: Using ei.cfg with Windows 10/11 ISO using any plugin. (/showthread.php?tid=1889)



Using ei.cfg with Windows 10/11 ISO using any plugin. - Krinal - 11-17-2021

Hello @longpanda @ventoy

First of all thank you so much for your awesome work.(Ventoy)

I have a question.

Can we inject ei.cfg file in Windows 10/11 setup using injection plugin.

I know how injection plugin works but  I'm not sure if windows setup is loaded from X: ?

So, will ei.cfg work if injected using injection plugin?

One more question out of curiosity, can grub2 be updated to new version in Ventoy?
Current is v2.04 which Ventoy use and latest is 2.06. So, can Ventoy adopt new version of grub2 or it is heavily modified that new version can't be adopted?


RE: Using ei.cfg with Windows 10/11 ISO using any plugin. - Krinal - 11-20-2021

@longpanda


RE: Using ei.cfg with Windows 10/11 ISO using any plugin. - nguyen ha thai trong - 11-20-2021

(11-17-2021, 01:59 PM)Krinal Wrote: Hello @longpanda @ventoy

First of all thank you so much for your awesome work.(Ventoy)

I have a question.

Can we inject ei.cfg file in Windows 10/11 setup using injection plugin.

I know how injection plugin works but  I'm not sure if windows setup is loaded from X: ?

So, will ei.cfg work if injected using injection plugin?

One more question out of curiosity, can grub2 be updated to new version in Ventoy?
Current is v2.04 which Ventoy use and latest is 2.06. So, can Ventoy adopt new version of grub2 or it is heavily modified that new version can't be adopted?
why don't you test your idea


RE: Using ei.cfg with Windows 10/11 ISO using any plugin. - Krinal - 11-20-2021

(11-20-2021, 01:42 PM)nguyen ha thai trong Wrote:
(11-17-2021, 01:59 PM)Krinal Wrote: Hello @longpanda @ventoy

First of all thank you so much for your awesome work.(Ventoy)

I have a question.

Can we inject ei.cfg file in Windows 10/11 setup using injection plugin.

I know how injection plugin works but  I'm not sure if windows setup is loaded from X: ?

So, will ei.cfg work if injected using injection plugin?

One more question out of curiosity, can grub2 be updated to new version in Ventoy?
Current is v2.04 which Ventoy use and latest is 2.06. So, can Ventoy adopt new version of grub2 or it is heavily modified that new version can't be adopted?
why don't you test your idea
Well, I use ei.cfg for laptop with OEM key in bios. Such laptop by default install windows 10 version according to their bios key and doesn't allow to manually choose version.(like home, pro etc.)
I would love to test but I don't have such OEM machine right now. That's why asking as a question.

Also I want to know from @longpanda that, is grub version updatable in Ventoy or heavily modified?


RE: Using ei.cfg with Windows 10/11 ISO using any plugin. - Steve2926 - 11-21-2021

You don't need an ei.cfg.
Just use an  XML file which has a blank <Key></Key> entry or specify a generic install key (e.g. for W269N-WFGWX-YVC9B-4J6C9-T83GX Win10 Pro).


Code:
<?xml version="1.0" encoding="utf-8" ?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<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>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key></Key>
</ProductKey>
</UserData>
</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">
<UserData>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key></Key>
</ProductKey>
</UserData>
</component>
</settings>
</unattend>



RE: Using ei.cfg with Windows 10/11 ISO using any plugin. - nguyen ha thai trong - 11-22-2021

(11-21-2021, 01:57 PM)Steve2926 Wrote: You don't need an ei.cfg.
Just use an  XML file which has a blank <Key></Key> entry or specify a generic install key (e.g. for W269N-WFGWX-YVC9B-4J6C9-T83GX Win10 Pro).


Code:
<?xml version="1.0" encoding="utf-8" ?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<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>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key></Key>
</ProductKey>
</UserData>
</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">
<UserData>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key></Key>
</ProductKey>
</UserData>
</component>
</settings>
</unattend>
Are you using Ventoy Auto Installation Plugin?


RE: Using ei.cfg with Windows 10/11 ISO using any plugin. - Steve2926 - 11-24-2021

I tested using grubfm and E2B but I don't see that it makes any difference?