miliuco Posted May 31, 2021 Share Posted May 31, 2021 (edited) 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 Edited June 3, 2021 by miliuco 3 1 Link to comment Share on other sites More sharing options...
miliuco Posted May 31, 2021 Author Share Posted May 31, 2021 (edited) Thank you @Allan you are always aware of what happens in the forum Edited August 9, 2021 by miliuco 1 Link to comment Share on other sites More sharing options...
Allan Posted May 31, 2021 Share Posted May 31, 2021 Oh yes, your guides/tricks are really helpful. 🤜🏽🤛 Keep doing this amazing job 😉 4 Link to comment Share on other sites More sharing options...
draylax Posted August 9, 2021 Share Posted August 9, 2021 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: OpenCore Configurator custom entry for Windows in Misc> Entries: PlistEdit Scan Policy: OpenCore Configurator Scan Policy: Link to comment Share on other sites More sharing options...
Anto65 Posted August 9, 2021 Share Posted August 9, 2021 (edited) 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 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 August 9, 2021 by antuneddu 1 Link to comment Share on other sites More sharing options...
miliuco Posted August 9, 2021 Author Share Posted August 9, 2021 @drayon Try ScanPolicy=0 and comment. [HOW TO] Custom entry in OpenCore to boot Windows Link to comment Share on other sites More sharing options...
draylax Posted August 10, 2021 Share Posted August 10, 2021 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 More sharing options...
miliuco Posted August 10, 2021 Author Share Posted August 10, 2021 Enjoy your hackintosh! Link to comment Share on other sites More sharing options...
Recommended Posts