I recently installed Dynamics GP 2018 R2 on my laptop. The install went smoothly and GP works fine.
But I noticed something odd, and annoying. Every time I launched GP 2018 R2, the application window would open maximized. Before the login prompt appeared, the GP application window would fill the screen. I thought maybe it launched in full screen on the first launch, but then once I resized the window and restarted, it would remember the window size settings.
But that didn't work. I resized the GP application window, closed it, then relaunched it. Nope--it would relaunch in full screen again. I tried Run As Administrator to see if that made a difference. Nope. It would always launch maximized.
This was noticeable because I have never seen this behavior in GP before.
So where would this behavior be controlled? Very likely in the Dex.ini file, of course.
Sure enough, as soon as I scanned the Dex.ini file, I saw the setting.
The likely culprit: WindowMax=TRUE.
I've never noticed this setting, and didn't know it existed until today. So I changed the setting to FALSE and restarted GP.
Presto, Dynamics GP launched with a non-maximized window, just like normal. Problem solved.
Just to make sure I wasn't imagining things, I checked my GP 2018 install, and I see that the Dex.ini has the WindowMax setting, but the default value is FALSE. I checked a GP 2016 install, and the default value is also FALSE.
I'm not sure if the default value for GP 2018 R2 is WindowMax=TRUE, or if that flag is only set to true when you choose to install the Web Client components.
But if you see this behavior, and you want to change it, now you know!
Steve Endow is a Microsoft MVP in Los Angeles. He is the owner of Precipio Services, which provides Dynamics GP integrations, customizations, and automation solutions.