Grub2 change with latest CentOS update

The previous article regarding configuring Grub 2 for Windows 10 no longer works with the latest CentOS updates.  Here is the newer one.

File to edit:
/etc/grub.d/40_custom

Content to add:
menuentry "Windows 10 (system) (on /dev/sda1)" --class windows --class os {
    insmod part_msdos
    insmod ntfs
    insmod ntldr
    set root='(hd0,msdos1)'
    ntldr ($root)/bootmgr
}

Command to rebuild menu:
grub2-mkconfig -o /boot/grub2/grub.cfg