When I try to open an integrated app using a command line with sys_shell or sys_open I am getting a timeout error in the Event viewer (Win10Pro) and the QB error reported to the user is that there is more than one company file open (not true), then the app tells me to open a company file because there is none open (???)

Either app opens fine from a desktop shortcut. I have been searching online for some answer but most mention settings I can't find for the desktop QB or in Win10 Pro.
These scripts worked fine in an older version of QB with XP.