Jump to content

[HOW TO] Windows entry after macOS in OpenCore menu


miliuco
 Share

8 posts in this topic

Recommended Posts

Sometimes a user says he doesn't like the Windows icon to be seen before macOS in the picker. Although I have responded to this question on previous occasions, I am writing it here as a separate post in case it can help someone with this concern.

 

The Windows system that is automatically detected by OpenCore is displayed before the macOS icons in the OpenCore menu. This is by default (for now).

To correct this behavior you have to:

  • create a custom entry for Windows in Misc> Entries, this entry is shown behind macOS.
  • set the Misc> Security> ScanPolicy key to a value that scans APFS and HFS file systems but not NTFS or EFI. In this way, autodetected Windows stops showing up before macOS.

Example: ScanPolicy value to show APFS and HFS file systems and SATA, NVMe and USB devices:

0x00000001 - OC_SCAN_FILE_SYSTEM_LOCK.
0x00000002 - OC_SCAN_DEVICE_LOCK.
0x00000100 - OC_SCAN_ALLOW_FS_APFS.
0x00000200 - OC_SCAN_ALLOW_FS_HFS.
0x00010000 - OC_SCAN_ALLOW_DEVICE_SATA.
0x00080000 - OC_SCAN_ALLOW_DEVICE_NVME.
0x00200000 - OC_SCAN_ALLOW_DEVICE_USB.

1 + 2 + 100 + 200 + 10000 + 80000 + 200000 = 0x290303 hexadecimal (2687747 in decimal). In config.plist it would look like this:

			<key>ScanPolicy</key>
			<integer>2687747</integer>

More information: ScanPolicy: choose device types and operating systems to be scanned by OpenCore
 

Calculate the value of ScanPolicy: OpenCore ScanPolicy Generator

 

picker.thumb.png.ddcf94c5b52b76351bb62dca0bcfbad4.png

 

 

Edited by miliuco
  • Like 3
  • Thanks 1
Link to comment
Share on other sites

  • 2 months later...

Hi miliuco dude,

 

I tried this, but then Windows not listed at all in built in picker (no icons).

So is possible to show screenshot of both parameter entries in OpenCoreConfig Window and also PlistEdit file?

 

So here is mine looking like this in:

PlistEdit custom entry for Windows in Misc> Entries:

1354290776_ScreenShot2021-08-09at22_56_18.png.a10e1371520dafc44eefbc8938e83c0a.png

OpenCore Configurator custom entry for Windows in Misc> Entries:

1957732948_ScreenShot2021-08-09at22_57_28.thumb.png.44e6c5680171b79778ce3d091fff1f88.png

 

PlistEdit Scan Policy:

62705679_ScreenShot2021-08-09at22_56_46.thumb.png.aa2e8f96b50dd0e2f2991d512ded85c2.png

 

 

OpenCore Configurator Scan Policy:

1011406021_ScreenShot2021-08-09at22_57_33.thumb.png.8777592a82da227ddd0e329e9324f7e4.png

 

 

 

Link to comment
Share on other sites

 To create a custom entry for Windows in Misc you need to enter the entire path not just the name, you can find this through the shell

 

256184698_Schermata2021-08-09alle18_11_48.thumb.png.3ea366509db4743497d6f8cb64d5efa5.png

 

You can follow here https://medium.com/macoclock/guide-multiboot-dualboot-opencore-with-windows-macos-linux-kextcache-131e96784c3f    it starts from here : POST — INSTALLATION

 

or here https://drive.google.com/file/d/1Vhvpa_Ll5Jn1ULKYEEhbp0_hJYFk6kRu/view?usp=sharing  

Edited by antuneddu
  • Thanks 1
Link to comment
Share on other sites

Wow, okay, thanks guys. After reading some of those links, I decide i'll tolerate Windows being the top of the picker list. This all seems far too complicated and time consuming to remove a wart, not that time consuming and complicated is anything new about Microsoft Windows.

 

Cheers guys

Link to comment
Share on other sites

 Share

×
×
  • Create New...