Windows 11 通过在其中央任务栏的左上角方便地显示信息,帮助您了解当地的最新天气状况。如果天气显示使任务栏混乱或分散您的注意力,您可以删除它。
如果您是Windows 11(Windows 11)的新手,本教程将引导您完成在电脑任务栏中显示或隐藏天气的步骤。

如何在Windows 11任务栏
上显示天气(Weather)
Windows 11 任务栏上的天气信息默认可见。它显示当前温度、天气的文本描述(例如晴天、阴天、刮风)和图标(根据天气而变化)。
显示天气信息的区域也兼作“小部件”(Widgets)按钮。将光标移到其上,小部件板应自动弹出以显示全尺寸的天气(Weather)小部件(提供天气预报)、其他小部件(体育(Sports)、交通(Traffic)、观察列表(Watchlist)等)以及新闻文章的片段。

如果任务栏上缺少天气,您可以通过以下步骤启用它:
- 右键单击(Right-click)“开始”(Start)按钮并选择“设置”(Settings)。

- 切换到个性化(Personalization)侧选项卡并选择任务栏(Taskbar)。

- 在任务栏项目下,启用(Taskbar)Widgets旁边的开关。

如果任务栏设置中的小部件开关不可用,可能是因为(Widgets)Windows Web Experience Pack安装损坏或丢失。使用Windows PowerShell删除、重新安装和重新注册它。
- 右键单击(Right-click)“开始”(Start)按钮并选择“终端”(Terminal) (管理员(Admin))。
- 在“用户帐户控制”(User Account Control)弹出窗口
中选择“是” 。(Yes)
- 依次运行以下命令:
- winget卸载“windows web体验包”
- winget安装“windows web体验包”
- 获取 AppXPackage *WebExperience* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -注册“$($_.InstallLocation)AppXManifest.xml”}
- 退出 Windows PowerShell。
- 打开“设置”(Settings)应用程序并转到Personalization > Taskbar > Taskbar项目”。Widgets开关现在应该是可见的。
如何自定义天气(Weather)以仅
显示图标(Icon)
与Windows 10 中的新闻和兴趣小部件(News and Interests widget in Windows 10)不同,您无法将Windows 11任务栏上的天气自定义为仅显示图标。但是,有一个解决方法,涉及将任务栏方向调整为左侧(adjusting the taskbar orientation to the left)。要做到这一点:
- 打开 Windows 设置应用程序。
- 转到Personalization > Taskbar并展开任务栏(Taskbar)行为。
- 将任务栏对齐设置为左侧。

天气信息现在应以图标形式显示在“开始(Start)”和“任务视图”(Task View)按钮的右侧。它仍然用作“小部件”(Widgets)按钮 - 将鼠标悬停在其上或选择它会打开小部件板。

如何禁用Windows 11任务栏
上的天气(Weather)
如果您不喜欢在Windows 11任务栏上看到天气信息,不断意外激活小部件板(只需将光标移到上方即可导致其弹出),或者发现里面的新闻分散注意力,您可以选择将其删除。就是这样:
- 右键单击(Right-click)“开始”(Start)按钮并选择“设置”(Settings)。
- 选择侧边栏上的个性化,然后选择(Personalization)任务栏(Taskbar)。
- 在任务栏项目下,禁用(Taskbar)Widgets旁边的开关。

如果您只想在小部件板中
隐藏天气卡,则必须:(Weather)
- 打开小部件板。
- 选择天气(Weather)卡右上角的“更多”图标(三个点)。
- 选择取消固定小部件。

如果您想稍后将天气(Weather)卡添加到小部件板,请选择右上角的加号图标,然后选择(Plus)天气(Weather)旁边的添加(Add)。
自定义您的Windows 11 任务栏(Taskbar)体验
Windows 11(Windows 11)任务栏提供了一种快速查看天气的方法,但信息区域打开分散注意力的小部件板可能会导致您失去焦点。幸运的是,操作系统可以让您轻松显示或隐藏天气,因此您可以决定是否保留它。
How to Show or Remove Weather on the Windows 11 Taskbar
Windows 11 hеlps you stay up-to-date aboυt the weather conditions in your local area by displaying the information conveniently on the left-hand сorner of itѕ centered taskbar. You can remove the wеather displаy if it clutters the taskbar or distracts you.
If you’re new to Windows 11, this tutorial will walk you through the steps to show or hide the weather from your PC’s taskbar.

How to Show Weather on the Windows 11 Taskbar
Windows 11’s weather information on the taskbar is visible by default. It reveals the current temperature, a text description of the weather (e.g., sunny, cloudy, windy), and an icon (which changes depending on the weather).
The area that displays the weather information also doubles up as the Widgets button. Move the cursor over it, and the widgets board should automatically pop out to reveal a full-sized Weather widget (which provides a weather forecast), other widgets (Sports, Traffic, Watchlist, etc.), and snippets from news articles.

If the weather is missing on the taskbar, you can enable it with the following steps:
- Right-click the Start button and select Settings.

- Switch to the Personalization side tab and choose Taskbar.

- Under Taskbar items, enable the switch next to Widgets.

If the Widgets switch is unavailable within the taskbar settings, it’s likely because of a corrupt or missing Windows Web Experience Pack installation. Use Windows PowerShell to remove, reinstall, and re-register it.
- Right-click the Start button and select Terminal (Admin).
- Select Yes on the User Account Control pop-up.
- Run the following commands one after the other:
- winget uninstall “windows web experience pack”
- winget install “windows web experience pack”
- Get-AppXPackage *WebExperience* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
- Exit Windows PowerShell.
- Open the Settings app and go to Personalization > Taskbar > Taskbar items. The Widgets switch should now be visible.
How to Customize Weather to Show Icon Only
Unlike the News and Interests widget in Windows 10, you cannot customize the weather on the Windows 11 taskbar to only show the icon. However, there is a workaround, and that involves adjusting the taskbar orientation to the left. To do that:
- Open the Windows Settings app.
- Go to Personalization > Taskbar and expand Taskbar behaviors.
- Set Taskbar alignment to the Left.

The weather information should now appear as an icon to the right of the Start and Task View buttons. It still works as the Widgets button—hovering over or selecting it opens the widgets board.

How to Disable Weather on the Windows 11 Taskbar
If you dislike seeing weather information on the Windows 11 taskbar, keep activating the widgets board accidentally (just moving the cursor over can cause it to pop out), or find the news inside distracting, you have the option to remove it. Here’s how:
- Right-click the Start button and select Settings.
- Select Personalization on the sidebar and choose the Taskbar.
- Under Taskbar items, disable the switch next to Widgets.

If you’re only looking to hide the Weather card within the widgets board, you must:
- Open the widgets board.
- Select the More icon (three dots) on the top right corner of the Weather card.
- Select Unpin widget.

If you want to add the Weather card to the widgets board later, select the Plus icon on the top-right corner and choose Add next to Weather.
Customize Your Windows 11 Taskbar Experience
The Windows 11 taskbar provides a quick way to view the weather, but the fact that the information area opens up the distracting widgets board can cause you to lose focus. Luckily, the operating system lets you easily show or hide the weather, so it’s up to you to decide if you want to keep it or not.