GAME CRASHING

anytime between trying to join a match to 25 - 30 mins into a match the game freezes and says connection lost when i get out of game and check network connection it has been disabled i now have to fully power off the pc and not just reboot or it gives me windows pin login errors
I have reininstalled windows several times i have tried both W10 and W11 same issue with both I have unistalled the game several times and deleted the AoE4 folder from one drive then reinstalled it no luck there either I also have tried DDU my dispaly drivers and even tried both a 6700XT and 3060ti same issue both cards using the latest drivers available I cant take a screen shot as it frozen up if someone can help I would be very happy all windows updates are done and microsoft store updates aswell please help this is driving me nuts