Hi, I'm Bernard, a fellow Windows user. I'm happy to help!
Since the issue only happens with the Taskbar, it seems that there is a corrupted system file on the Taskbar. In this case, kindly follow the steps below:
Method 1. Repair Taskbar and Built-in apps:
Press the Windows key + X, then select Terminal (Admin) or Windows PowerShell (Admin)
Copy, paste, and enter the command below:
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Then hit Enter. Once the process is done, restart the PC and check.
If the issue persists, I suggest doing an in-place upgrade, wherein it will update the device to the latest version and repair all issues without deleting any files.
Note: before doing this, make sure to create a restore point: https://support.microsoft.com/en-us/windows/system-protection-e9126e6e-fa64-4f5f-874d-9db90e57645a
- Go to this link: https://www.microsoft.com/en-us/software-download/windows10
- Select Download Now, and select Run. You need to be an administrator to run this tool.
- On the License terms page, if you accept the license terms, select Accept.
- On the What do you want to do? page, select Upgrade this PC now, and then select Next.
- After downloading and installing, it should fix the issue.
Reference: https://www.microsoft.com/en-us/software-download/windows10
Let me know how it goes, and I hope that helps.