在本文中,我们将向您展示在Windows 10 任务(Windows 10 Taskbar)栏中隐藏或取消隐藏时钟和日期(hide or unhide the clock and date)的方法。默认情况下,任务栏(Taskbar)显示日期和时间。悬停鼠标光标时,它还会显示日期。通过单击它,您可以访问Windows日历。除此之外,您可以通过右键单击它来轻松调整日期和时间,而无需从“开始(Start)”菜单中打开“设置”(Settings)应用程序。
有时,我们需要在Taskbar中隐藏日期和时间。例如,在录制视频、进行演示等时。您可以直接从设置中隐藏任务栏中的日期和时间。但是,如果您想从任务栏中(Taskbar)永久隐藏时钟和日期,以便没有用户可以取消隐藏,您必须在Windows 注册表(Windows Registry)和组策略(Group Policy)设置中进行更改。
(Hide Clock)从 Windows 10 任务栏中隐藏时钟和日期(Date)
使用本地组策略编辑器
由于Windows 10 家庭版(Home Edition)没有本地组策略编辑器(Local Group Policy Editor),因此如果您使用的是家庭版(Home Edition),则可以跳过此方法。
下面列出了使用 gpedit从任务(Taskbar)栏中隐藏时钟和日期的步骤:
- 按键盘上的Win + R键以启动“运行”(Run)对话框。现在,输入
gpedit.msc
它并单击确定。 - 在组策略编辑器(Group Policy Editor)中,双击用户配置(User Configuration)将其展开。
- 现在,展开管理模板(Administrative Templates)并选择开始菜单和任务栏(Start Menu and Taskbar)。
- 在右侧可用列表中搜索“从系统通知区域中删除时钟”。(Remove clock from the system notification area)
- 双击它并单击已启用(Enabled)单选按钮。
- 首先单击应用(Apply),然后单击确定。这将保存设置。
这将从任务栏(Taskbar)隐藏时钟和日期。如果您没有看到任何更改,请重新启动计算机。
要将时钟和日期返回到任务栏(Taskbar),请重复上面列出的前 5 个步骤,然后选择已禁用(Disabled)或未配置(Not Configured)。
阅读(Read): 如何自动隐藏任务栏(How to Auto-Hide the Taskbar)。
使用注册表编辑器
在继续之前,我们建议您导出注册表(export the Registry),以便在发生任何错误时可以恢复它。
通过以下步骤从任务栏中(Taskbar)永久隐藏时钟和日期。请仔细遵循所有说明,因为注册表中的任何错误都可能导致您的系统出现严重问题。
首先(First),您必须启动“运行”(Run)对话框。现在,输入regedit
它并单击确定。这将打开注册表编辑器(Registry Editor)。如果您收到UAC提示,请单击Yes。
现在,导航到以下路径:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
展开Policies键并查看它是否包含Explorer子键。如果缺少子项,则必须创建它。为此,请右键单击Explorer键并选择“ New > Key ”。将此新创建的密钥命名为Explorer。
选择资源管理器(Explorer)键。右键单击右侧窗格并选择“New > DWORD (32-bit) Value”。将此值命名为HideClock。
默认情况下,HideClock的值数据设置为0。要隐藏时钟和时间,您必须将数值数据从 0 更改为 1。为此,双击它并在数值数据(Value data)框中将 0 替换为 1。
单击确定以保存所有更改。
关闭注册表编辑器。
阅读(Read): 如何(How to Hide Taskbar in Windows 10)使用热键在 Windows 10 中隐藏任务栏。
更改不会立即生效。您必须重新启动计算机。重新启动设备后,您会看到时钟和时间已从任务栏中(Taskbar)消失。
您将无法从“设置”更改它,因为与“(Settings)时钟(Clock)”相邻的拨动开关显示为灰色。
如果您想恢复更改,您必须在数值(Value)数据框中将 1 替换为 0(参见上面的步骤 7)。或者,您也可以删除HideClock值。完成后,重新启动您的设备。
就是这样。
阅读下一篇(Read next):如何在 Windows 10 中隐藏任务栏时钟的议程。
How to hide Clock and Date from Taskbar in Windows 10
In this article, we will show you the methods to hide or unhide the clock and date from Windows 10 Taskbar. By default, the Taskbar displays the date and time. On hovering the mouse cursor, it also displays the day. By clicking on it, you can access the Windows calendar. Apart from this, you can easily adjust the date and time by right-clicking on it without opening the Settings app from the Start menu.
Sometimes, we need to hide the date and time from the Taskbar. For example, when recording a video, giving a presentation, etc. You can hide the date and time from Taskbar directly from the Settings. But if you want to hide the clock and date permanently from the Taskbar so that no user can unhide it, you have to make changes in the Windows Registry and Group Policy settings.
Hide Clock and Date from Windows 10 Taskbar
Using the Local Group Policy Editor
Because Windows 10 Home Edition does not have the Local Group Policy Editor, you can skip this method if you are using the Home Edition.
The steps to hide clock and date from Taskbar using gpedit are listed below:
- Press Win + R keys on your keyboard to launch the Run dialog box. Now, type
gpedit.msc
in it and click OK. - In the Group Policy Editor, double-click on the User Configuration to expand it.
- Now, expand Administrative Templates and select Start Menu and Taskbar.
- Search for “Remove clock from the system notification area” in the list available on the right side.
- Double-click on it and click on the Enabled radio button.
- First click Apply and then Ok. This will save the setting.
This will hide the clock and date from the Taskbar. If you do not see any changes, restart your computer.
To bring the clock and date back to the Taskbar, repeat the first 5 steps listed above and select either Disabled or Not Configured.
Read: How to Auto-Hide the Taskbar.
Using the Registry Editor
Before you proceed, we recommend you export the Registry so that you can restore it in case any error occurs.
Go through the following steps to hide the clock and date from the Taskbar permanently. Please follow all the instructions carefully, as any error in the registry can cause serious problems in your system.
First of all, you have to launch the Run dialog box. Now, type regedit
in it and click OK. This will open the Registry Editor. If you get the UAC prompt, click Yes.
Now, navigate to the following path:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
Expand the Policies key and see whether it contains the Explorer subkey or not. If the subkey is missing, you have to create it. To do so, right-click on the Explorer key and select “New > Key.” Name this newly created key as Explorer.
Select the Explorer key. Right-click on the right pane and select “New > DWORD (32-bit) Value.” Name this value as HideClock.
By default, the value data of HideClock is set to 0. To hide the clock and time, you have to change the value data from 0 to 1. For this, double-click on it and replace 0 with 1 in the Value data box.
Click OK to save all the changes.
Close the Registry Editor.
Read: How to Hide Taskbar in Windows 10 with a hotkey.
The changes will not take effect immediately. You have to restart your computer. After restarting your device, you will see that the clock and time have disappeared from the Taskbar.
You will not be able to change it from the Settings, as the toggle switch adjacent to the Clock is grayed out.
If you want to ever revert the changes, you have to replace 1 with 0 in the Value data box (see step 7 above). Alternatively, you can also delete the HideClock value. When you are done, restart your device.
That’s it.
Read next: How to hide Agenda from Taskbar Clock in Windows 10.