Hello,
There are two main reasons why the taskbar is not hidden. First, that could be a problem with Windows Explorer. Second, maybe an application called the MustBeSeen system flag . Try at least the two options below and see if it makes any difference:
Restart Windows Explorer
Sometimes, Windows Explorer has problems. This makes the taskbar not hidden in Remote Desktop sessions. To solve that, you need to restart Windows Explorer.
-> Right-click on the taskbar and select the Task Manager option.
-> In Task Manager , go to the Processes tab , find and select the Windows Explorer process , and then click the Restart button.
To be sure, restart the Remote Desktop session. After rebooting, see if the taskbar is automatically hidden.
And next try deleting the system flag MustBeSeen:
Most users have some applications running on the taskbar. You can see them on the right side of the taskbar, right next to the clock. These applications run in the background and provide some kind of functionality that needs your attention they will activate the system flag "MustBeSeen". If this flag is active, the taskbar will not be hidden. In general, antivirus programs, backups, cloud storage and notification-heavy programs will call this flag quite often.
Because the application that calls the MustBeSeen flag is preventing the taskbar from automatically hiding, you need to find that application and see why it needs user attention. When you resolve the issue, the MustBeSeen flag will be removed.
If you cannot find the app, close all the apps on the taskbar one by one and see if that fixes the problem. In general, always close any unwanted applications while you are remotely accessing another computer.
--If the reply is helpful, please Upvote and Accept as answer--