Windows 10 built-in support for virtual desktop is Task View. By default, the Task View icon is shown on the Taskbar for quick access to desktop switching and management (adding or removal). But if you are not using virtual desktop, Task View button is useless.
Here’s how to hide and remove the Task View button on the Windows 10’s Taskbar:
Right click on any empty space or the Task View button itself on the Taskbar, and then deselect the Show Task View button.
That’s it. To re-enable and show or unhide the Task View button, just reselect the same “Show Task View button” option.
If you have to modify the setting manually in registry, browse to the following registry key:
Look for a DWORD value named ShowTaskViewButton. By default, the value data is “1” for showing the Task View button on the Taskbar. Change it to 0 to hide it from Taskbar.