Weird issues after upgrading to Windows 11

I recently upgraded to Windows 11 and I have noticed some problems that I didn’t have before.

Firstly, Xbox and Powershell automatically start after logging in. I have tried disabling them in startup app settings but the option seems to be greyed out/blocked. I have also tried using Task Manager to disable them but Task Manager is reporting that the apps are already disabled.

Secondly, my Ethernet seems to disconnect from the internet after about 3 to 7 minutes. Replugging the cable fixes the problem for another 3 to 7 minutes after which it disconnects again. Wi-Fi is working fine.

I did not have any of these issues prior to upgrading from Windows 10 to Windows 11 and I have noticed these issues immediately after upgrading. I still have the option to revert back to Windows 10 as I have not yet deleted the old installation files.

Edit: Powershell doesn’t run a script. Powershell simply starts and opens in terminal mode without any script running.