@mikeyboyaz2002 wrote:
I have tried it in both modes and it is doing it in both. I have shut down all available background programs including my antivirus and malware programs and it still does the same thing.
What's happening here is while the game is running, Windows is letting another application or process take "focus" priority, which then causes the game to minimize. Switching between Fullscreen/Windowed/Windowed Fullscreen usually resolves the rare minimizing issues, so this is an odd one.
You say you've closed background applications, but have you gone through a full clean boot yet? There's a specific Microsoft process for clean boots or selective startups here.