当您在计算机上剪切或复制某些(cut or copy something)内容时,它会自动复制到剪贴板,以便您可以将该项目的副本粘贴到其他地方。
除了粘贴多个文件的功能外,2018 年 10 月的 Windows 更新还带来了新的剪贴板体验。(October 2018 Windows Update)您还可以每次都固定要使用的项目,并通过云在设备之间同步您的剪辑。
另外,您可以跟踪复制到剪贴板的文本和图像,并访问剪贴板历史设置和界面。虽然访问剪贴板历史记录很好,但它可能会带来安全风险,尤其是当您与其他人共享设备时(share the device with other people)。
如果您想从列表中删除某些项目或完全删除历史记录,我们将引导您完成在Windows 10中清除剪贴板的步骤。
如何在 Windows 10 中清除剪贴板(How to Clear the Clipboard in Windows 10)
您可以使用不同的方法来清除当前存储在剪贴板中的数据,包括使用命令提示符(Command Prompt)、快捷方式和 Windows 10 设置。
如何使用命令提示符清除剪贴板(How to Clear the Clipboard Using Command Prompt)
这是在Windows 10(Windows 10)上清除剪贴板的快速方法。
- 为此,请在搜索框中键入CMD并选择(CMD )Run as administrator。
- 接下来,将下面的命令复制并粘贴到命令提示符(Command Prompt)窗口中,然后按Enter。
cmd /c “echo off | clip”
- 运行命令后关闭命令提示符(Command Prompt)窗口。
如何使用记事本中的快捷方式清除剪贴板(How to Clear the Clipboard Using Shortcuts in Notepad)
如果您在Windows 10上使用现代剪贴板,则可以使用快捷方式清除数据。
- 为此,请选择开始(Start)并搜索记事本(Notepad)。选择最上面的结果以打开记事本(Notepad)应用程序。
- 将这些命令复制并粘贴到记事本(Notepad)应用程序中:
%windir%\System32\cmd.exe /c “echo off | clip”
wmic service where “name like ‘%%cbdhsvc_%%'” call stopservice
wmic service where “name like ‘%%cbdhsvc_%%'” call startservice
- 接下来,选择File > Save As。
- 为文件指定一个扩展名为(name).bat 的名称,例如Clipboardclearer.bat,然后选择Save。
- 右键单击该文件,然后选择创建快捷方式(Create shortcut)。
- 接下来,右键单击您刚刚创建的快捷方式并选择Properties。
- 选择快捷方式(Shortcut )选项卡,然后选择更改图标(Change Icon)。
- 复制并粘贴下面的路径,然后按Enter。
%windir%\system32\imageres.dll
- 选择(Select)快捷方式的图标,然后选择OK > Apply。
如果需要,您可以在快捷键(Shortcut key)字段中录制键盘快捷键。例如,您可以使用CTRL+SHIFT+X或任何您想要使用击键组合清除剪贴板内容的组合。
- 接下来,选择高级(Advanced)。
- 选中以管理员身份运行(Run as Administrator)框。
- 选择OK > Apply并再次选择确定(OK)。
完成这些步骤后,调用键盘快捷方式或双击快捷方式文件以清除剪贴板历史记录。
注意(Note):如果您在Windows 10中使用快捷方式清除剪贴板,请确认快捷方式的提升,以便批处理脚本可以正确运行。
How to Clear the Clipboard in Windows 10 Using Windows Key + V
如果在记事本(Notepad)中创建快捷方式文件或键盘快捷方式(keyboard shortcut)听起来很乏味,您可以使用Windows Key + V快捷方式来清除计算机上的剪贴板。
- 为此,请按键盘上的Windows Key + V将出现一个小弹出窗口,其中包含您最近复制的项目。如果您看到的是打开(Turn on)选项,并且没有列出剪贴板条目,则您没有使用现代剪贴板体验。
- 选择屏幕右上角的省略号以打开菜单(menu)。
- 如果要清除一个条目,请选择删除(Delete)。如果要清除整个剪贴板历史记录,请选择全部清除(Clear all)。
注意(Note):每次重新启动 PC 时,剪贴板历史记录都会被清除,除了固定的项目。此外,剪贴板一次最多只能保存 25 个复制条目,因此旧条目会自动删除,以便为新条目腾出空间。
如何使用设置清除 Windows 10 中的剪贴板(How to Clear the Clipboard in Windows 10 Using Settings)
- 为此,请选择Start > Settings,然后选择系统(System)。
- 选择剪贴板(Clipboard)。
- 在清除剪贴板数据(Clear clipboard data)部分下选择清除。(Clear)
如何在旧版剪贴板体验中清除剪贴板(How to Clear the Clipboard in the Legacy Clipboard Experience)
如果您不使用现代剪贴板,则可以使用以下步骤清除剪贴板历史记录:
- 打开文件资源管理器(File Explorer )并转到桌面(Desktop)或文档(Documents)文件夹,无论您要在其中存储快捷方式。
- 选择主页(Home)选项卡,然后选择New item > Shortcut。或者,右键单击文件夹中的空白区域并选择New item > Shortcut。
- 将此命令复制并粘贴到位置字段中:
%windir%\System32\cmd.exe /c “echo off | clip”
注意(Note):如果您在公共机器上,则可以在命令提示符中运行该命令,而不是使用快捷方式来清除剪贴板。(Command Prompt)
- 选择下一步(Next)。
- 为快捷方式(ClipboardClearer)命名(name),例如ClipboardClearer ,然后选择Finish。
- 右键单击(Right-click)您创建的快捷方式,选择Properties > Shortcut选项卡,然后选择更改图标(Change Icon)。
- 复制并粘贴下面的路径,然后按Enter。
%windir%\system32\imageres.dll
为您的快捷方式选择(Select)一个图标,然后选择OK > Apply。如果要使用击键组合清除剪贴板,可以在快捷(Shortcut)键字段中添加键盘快捷键。完成后,剪贴板历史记录将被删除。
注意(Note):在旧版体验和现代体验中清除剪贴板所采取的步骤之间的区别在于,在旧版剪贴板中,剪贴板中的所有内容都将被删除。使用现代剪贴板,您还必须清除存储在单独位置的剪贴板历史记录。
如何通过禁用剪贴板历史记录来清除 Windows 10 中的剪贴板(How to Clear the Clipboard in Windows 10 by Disabling Clipboard History)
如果您不希望剪贴板历史记录可供其他用户使用或查看,您可以禁用或关闭剪贴板历史记录。
- 为此,请选择Start > Settings > System,然后转到剪贴板(Clipboard)。
- 转到剪贴板历史记录(Clipboard history)选项并将开关切换到Off。
如果您尝试按Windows Key + V,将出现一个小弹出窗口,通知您剪贴板历史记录无法显示,因为该功能已禁用。这使您可以自由复制和粘贴,而不必担心其他人会看到您的数据。
要再次启用剪贴板历史记录,请按Windows Key + V并选择打开(Turn On)。
清空剪贴板(Empty Your Clipboard)
虽然使用复制、剪切和粘贴功能既方便又省时,但有时也需要清除剪贴板。由于显而易见的原因,它不仅有利于隐私,而且还避免了剪贴板已满时出现的错误。
您(Were)是否能够清除计算机上的剪贴板?在评论中与我们分享。
How to Clear the Clipboard in Windows 10
When you cut or copy something on your computer, it’s automatically copied to the clipboard so that you can paste a copy of the item elsewhere.
The October 2018 Windows Update came with a new clipboard experience in addition to the ability to paste multiple files. You can also pin the items you want to use every time, and sync your clips across devices via the cloud.
Plus, you can track the text and images copied to the clipboard, and access the clipboard history settings and interface. While it’s good to have access to the clipboard history, it can turn out to be a security risk especially if you share the device with other people.
If you want to remove some items from your list or delete the history altogether, we’ll walk you through the steps to clear the clipboard in Windows 10.
How to Clear the Clipboard in Windows 10
There are different methods you can use to clear the data currently stored in the clipboard including using Command Prompt, shortcuts, and Windows 10 Settings.
How to Clear the Clipboard Using Command Prompt
This is a quick way of clearing the clipboard on Windows 10.
- To do this, type CMD in the search box and select Run as administrator.
- Next, copy and paste the command below into the Command Prompt window, and press Enter.
cmd /c “echo off | clip”
- Close the Command Prompt window after running the command.
How to Clear the Clipboard Using Shortcuts in Notepad
If you’re using the modern clipboard on Windows 10, you can clear the data with a shortcut.
- To do this, select Start and search for Notepad. Pick the top result to open the Notepad app.
- Copy and paste these commands to the Notepad app:
%windir%\System32\cmd.exe /c “echo off | clip”
wmic service where “name like ‘%%cbdhsvc_%%'” call stopservice
wmic service where “name like ‘%%cbdhsvc_%%'” call startservice
- Next, select File > Save As.
- Give the file a name with the .bat extension, for example Clipboardclearer.bat, and then select Save.
- Right-click the file and then select Create shortcut.
- Next, right-click the shortcut you’ve just created and select Properties.
- Select the Shortcut tab and then select Change Icon.
- Copy and paste the path below and press Enter.
%windir%\system32\imageres.dll
- Select an icon for the shortcut, and then select OK > Apply.
If you want, you can record a keyboard shortcut in the Shortcut key field. For example, you can use CTRL+SHIFT+X or any combination you want to clear clipboard content using a keystroke combination.
- Next, select Advanced.
- Check the Run as Administrator box.
- Select OK > Apply and select OK again.
Once you’re done with these steps, invoke the keyboard shortcut or double-click the shortcut file to clear the clipboard history.
Note: If you use a shortcut to clear the clipboard in Windows 10, confirm the elevation of the shortcut so that the batch script can run correctly.
How to Clear the Clipboard in Windows 10 Using Windows Key + V
If creating a shortcut file or keyboard shortcut in Notepad sounds tedious, you can use the Windows Key + V shortcut to clear the clipboard on your computer.
- To do this, press Windows Key + V on your keyboard. A small popup window will appear containing the recent items you have copied. If you see a Turn on option instead, and there’s no clipboard entry listed, you’re not using the modern clipboard experience.
- Select the ellipses at the top right side of the screen to open the menu.
- If you want to clear one entry, select Delete. If you want to clear the entire clipboard history, select Clear all.
Note: Each time you restart your PC, the clipboard history is cleared except for pinned items. Also, the clipboard can only hold up to 25 copied entries at a go, so older entries are automatically removed to make room for new ones.
How to Clear the Clipboard in Windows 10 Using Settings
- To do this, select Start > Settings and select System.
- Select Clipboard.
- Select Clear under the Clear clipboard data section.
How to Clear the Clipboard in the Legacy Clipboard Experience
If you’re not using the modern clipboard, you can clear the clipboard history using these steps:
- Open File Explorer and go to the Desktop or Documents folder, whichever you want to store the shortcut in.
- Select the Home tab and then select New item > Shortcut. Alternatively, right-click on an empty space in the folder and select New item > Shortcut.
- Copy and paste this command in the location field:
%windir%\System32\cmd.exe /c “echo off | clip”
Note: You can run the command in Command Prompt if you’re on a public machine, instead of using a shortcut to clear the clipboard.
- Select Next.
- Give a name for the shortcut, for example ClipboardClearer, and select Finish.
- Right-click the shortcut you created, select Properties > Shortcut tab and then select Change Icon.
- Copy and paste the path below and then press Enter.
%windir%\system32\imageres.dll
Select an icon for your shortcut, and then select OK > Apply. You can add a keyboard shortcut in the Shortcut key field if you want to clear the clipboard using a keystroke combination. Once you’re done, the clipboard history will be deleted.
Note: The difference between the steps taken to clear the clipboard in the legacy and modern experiences is that in the legacy clipboard, all the content in the clipboard is deleted. With the modern clipboard, you have to also clear the clipboard history, which is stored in a separate location.
How to Clear the Clipboard in Windows 10 by Disabling Clipboard History
If you don’t want the clipboard history to be available or seen by other users, you can disable or turn off the clipboard history.
- To do this, select Start > Settings > System and go to Clipboard.
- Go to the Clipboard history option and toggle the switch to Off.
If you try to press Windows Key + V, a little popup window will appear notifying you that the clipboard history cannot be displayed because the feature is disabled. This allows you to copy and paste freely without worrying about others seeing your data.
To enable the clipboard history again, press Windows Key + V and select Turn On.
Empty Your Clipboard
While it’s convenient and time-saving to use the copy, cut, and paste functions, it’s also necessary to clear the clipboard once in a while. Not only is it good for privacy for obvious reasons, but also avoids errors that arise when the clipboard is full.
Were you able to clear the clipboard on your computer? Share with us in the comments.