When using the windows 7 style, it appears that the programs list is using c:\ProgramData\Microsoft\Windows\Start Menu\Programs and putting an entry in the list for each sub-directory. However, if there are no executable programs in those sub-directories, the menu entry should not exist. I have a few empty sub-directories in the Start Menu/Programs directory and those don't appear in the normal Windows Start menu list.
Is this the standard behavior? If so, is there an option to not show those entries?
Windows 10 Home 22H2