This article describes steps you can take to turn on or off a taskbar behavior that allows you to share any windows from the taskbar in Windows 11.
The new Windows 11 has the ability to quickly mute and unmute your active meeting calls right from the taskbar. Not only can users mute and unmute calls, but they can also quickly share the content from open app windows directly from the taskbar to their meeting calls too.
When you are on a meeting call through Microsoft Teams, simply hover over the apps running on your taskbar and you will see a new button that allows you to share your window with your meeting attendees. When you are done, hover over the window again and click Stop Sharing or choose another window and click Share this Window.
Below is how to turn on or off the feature in Windows 11.
Turn on share any window from the taskbar via the Settings app
As described above, users can quickly share the content from open app windows directly from the taskbar to their meeting calls.
Here’s how to enable or disable it.
First, open the Windows Settings app.
You can get to the Settings app by clicking on the Start menu button and selecting Settings. You can also press the keyboard shortcut (Windows key + I) to launch the Settings app.
When the Settings app opens, click the Personalization button on the left.

On the right, click the Taskbar tile to expand.

On the System -> Taskbar settings pane, select the Taskbar behavior tile to expand. On the expanded Taskbar behavior tile, check the box next to “Share any window from my taskbar” to enable.
To disable it, simply uncheck the box.

Close the Settings app.
Share any window from my taskbar via the registry
Alternatively, users can use the Windows registry editor to enable or disable sharing any windows from the taskbar in Windows 11.
First, open the Windows Registry, and navigate to the folder key path as listed below.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
If you don’t see the Advanced folder key, right-click on the Explorer parent key, then create the subkey (Advanced) folder.

On the right pane of the Advanced folder key, right-click and select New -> DWORD (32-bit) Value. Type a new key named TaskbarSn.
Double-click the new value name (TaskbarSn) and enter the Value data of 1 to turn on or enable “Share any window from my taskbar“.
A Value data of 0 will disable or turn it off.

You should see a similar pop-up when you want to share a window from the taskbar.

That should do it!
Reference:
Conclusion:
This post showed you how to enable or disable “Share any window from my taskbar” in Windows 11. If you find any error above or have something to add, please use the comment form below.