Hi,
I understand how frustrating it must be when your taskbar keeps freezing and restarting, especially since you haven't made any recent changes to your system. Try the solutions below and see if they help resolve the issue:
Re-register all Windows apps
- On your keyboard, press Ctrl + Shift + Esc
- Click on File and choose "Run new task"
- Type: powershell. Make sure to put a check on the "Create this task with administrative privileges" box
- Copy and paste the command below then press Enter.
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Get-AppxPackage Microsoft.Windows.ShellExperienceHost | foreach {Add-AppxPackage -register "$($_.InstallLocation)\appxmanifest.xml" -DisableDevelopmentMode}
Note: Please ignore any red errors and tet the process complete and then restart your PC.
Run SFC and DISM to fix corrupted system files. https://support.microsoft.com/windows/using-system-file-checker-in-windows-365e0031-36b1-6031-f804-8fd86e0ef4ca
Restart your computer.
Perform a clean boot to check for interference causing the issue. https://support.microsoft.com/topic/how-to-perform-a-clean-boot-in-windows-da2f9573-6eec-00ad-2f8a-a97a1807f3dd
If the problem goes away after a clean boot, it suggests a conflict with a third-party program. Start by enabling the programs you disabled one by one to identify the culprit.