This has been an ongoing issue, I have spoken to maybe a dozen people at Adobe support and I did all their trouble shooting and nothing worked. They ended up telling me to reformat my PC which I really don’t want to do.
I will explain what happens as it’s unusual.
My PC freezes completely, not just AE. Freezes for about 20 seconds and my monitor turns off and on. I here that windows connect sound. Then my composition area is white and AE is buggy so I need to restart after effects.
I receive no error message. I have no issues with any other apps just AE.
Usually the freeze is triggered when I click outside of AE or when I have Media encoder open and switch between apps by clicking the icons on the taskbar.
I had this happen too and beleive it is a Windows 11 issue to do with the a GPU conflict.
I found that removing the HDMI cable from the monitor and reconnecting it triggered the desktop open, but AE would then crash. At least I’m not forcing a restart on my PC anymore, but it’s still not great.