To disable Windows 10 tray icons, right-click on the Taskbar and select Taskbar settings. In the menu on the left, select the “Taskbar” tab.
If you want to remove the AnyDesk icon from the notification area, scroll down to “Notification area”, click on “Select which icons appear on the taskbar.”
Turn off the Anydesk switch.
Now its icon in the notification area will be hidden. To see it again, you need to click on the arrow in the lower right corner of the screen.
Using the described method, you can hide both shortcuts of any other programs.
If the shortcuts on the taskbar are distracting, go to the Taskbar settings again and turn on the “Automatically hide the taskbar in desktop mode” switch.
Now the taskbar will be displayed only when you hover over the bottom edge of the screen.