What working folder is used when running an app from the start menu?

I’m using a Kerberos client in Windows 11 that has some unusual behavior. I have to run the client directly from its folder (either in file explorer or cmd) or it will fail to authenticate with the server when I try to get a ticket. Running it from the start menu also causes it to fail. I’m guessing the client finds the wrong certificates or PKCS11 library if it’s not in the right folder, but that’s not really my question. My question is, when you run a program from the start menu, what directory is used as the “working folder”? I would have thought it would be the same directory as the exectuable, but it doesn’t appear to be so. Also, is there a way to set the working folder so I can get the Kerberos client to work from the start menu?