You can use Internet Recovery to create a macOS bootable installer on Windows 11, you will use a tool that downloads a small recovery environment directly from Apple's servers. This method does not require a full macOS installer file, making it a reliable way to create a macOS bootable installer on Windows 11 for device repair.
Follow these steps to create a macOS bootable installer on Windows 11:
1.Format your USB drive as FAT32. You can right-click it in File Explorer and select "Format...".
2.Find the macrecovery folder. Unzip the OpenCorePkg you downloaded, and navigate to Utilities\macrecovery.
3.Open Command Prompt there. Click in the folder's address bar, type cmd, and hit Enter. This opens a terminal right where you need it.
4.Download the Recovery Image. Now, paste the command for the version of macOS you want. For example, to get the latest version, use this command:
bash
py macrecovery.py -b Mac-937A206F2EE63C01 -m 00000000000000000 download
5.Copy to USB. Once it's done, create a new folder on your FAT32 USB drive named com.apple.recovery.boot. Copy those two downloaded files into it.
Your USB drive is now ready. You can plug it into the Mac you wish to repair, turn it on while holding the Option (⌥) key, and select the USB drive to start the Internet Recovery process. The installer will then download the full macOS from Apple's servers during installation .