Skip to content

Instantly share code, notes, and snippets.

@noflcl
Last active January 19, 2025 15:10
Show Gist options
  • Select an option

  • Save noflcl/5a830d3276a9f3b6a7f8bf375f9ef854 to your computer and use it in GitHub Desktop.

Select an option

Save noflcl/5a830d3276a9f3b6a7f8bf375f9ef854 to your computer and use it in GitHub Desktop.
Two files required to force Windows 11 to install Professional

Lenovo embedded a PreAuthroized OS License for Windows Home edition inside the BIOS. Windows11 tries really hard to force Home edition within a fresh install. How do you bypass this?

Create Windows11 USB, mount and place the following two files under the sources folder inside the root of the live USB.

Note: If creating ei.cfg within notepad, Save-as and "Filetype" set to All Files so the text file saves as a proper .cfg

Otherwise notepad will set the header to plaintext and the installer won't recognize it.

ei.cfg

[EditionID]
Pro
[Channel]
_Default
[VL]
0

This is a Default Vendor Key for Windows11 Pro, you will need to activate a valid key once installed. Theres a list of known keys you can search online

PID.txt

[PID]
value=VK7JG-NPHTM-C97JM-9MPGT-3V66T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment