{"id":8794,"date":"2019-04-22T16:06:14","date_gmt":"2019-04-22T10:36:14","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=8794"},"modified":"2023-08-08T19:55:03","modified_gmt":"2023-08-08T14:25:03","slug":"clear-windows-10-clipboard-history-shortcut","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/clear-windows-10-clipboard-history-shortcut\/","title":{"rendered":"How to Clear Windows 10 Clipboard History Using Shortcut"},"content":{"rendered":"<p>The new Windows 10 Clipboard lets you save multiple items in the clipboard so that you can use it later. You can also pin the required items in the Clipboard history panel so that they&#8217;re not discarded by the system, or accidentally deleted by the user.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8796\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/w10-clipboard-history.png\" alt=\"clipboard history winkey + v\" width=\"332\" height=\"454\" \/><\/p>\n<p>You may every now and then want to clear the clipboard to remove any sensitive information like password etc., from the history. This article explains how to create a desktop shortcut to clear the Windows 10 new clipboard history automatically.<!--more--><\/p>\n<h2>Clear Windows 10 clipboard history using shortcut<\/h2>\n<h3>Using GUI<\/h3>\n<p>To clear the clipboard history via the graphical user interface:<\/p>\n<ul>\n<li>Press <kbd>WinKey<\/kbd> + <kbd>V<\/kbd> and click the ellipsis icon (denoted by three dots), and click <strong>Clear all<\/strong><br \/>\n(or)<\/li>\n<li>Click Start \u2192 Settings \u2192 System \u2192 Clipboard \u2192 <strong>Clear<br \/>\n<\/strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8797\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/w10-clipboard-history-settings.png\" alt=\"clipboard user service name - clear history - settings\" width=\"607\" height=\"675\" \/><\/li>\n<\/ul>\n<p>This removes the clipboard history in the local computer as well as in your Microsoft cloud account.<\/p>\n<p>You&#8217;ll see the message &#8220;Your clipboard is empty&#8221; when you press <kbd>WinKey<\/kbd> + <kbd>V<\/kbd>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-24230\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/clipboard-is-empty-win-v.png\" alt=\"clipboard is empty win v\" width=\"300\" height=\"396\" \/><\/p>\n<p><strong>Note:<\/strong> The pinned clipboard items, if any, are retained though.<\/p>\n<p>To accomplish this using a shortcut or command-line, all you need to do is restart the <strong>Clipboard User Service<\/strong>.<\/p>\n<h3>Using Batch file<\/h3>\n<ol>\n<li>Open Notepad and paste these lines:\n<pre><code>cmd.exe \/c \"echo off | clip\"\r\nwmic service where \"name like '%%cbdhsvc_%%'\" call stopservice\r\nwmic service where \"name like '%%cbdhsvc_%%'\" call startservice<\/code><\/pre>\n<\/li>\n<li>Save the file as <code>clear_clipboard.bat<\/code><\/li>\n<li>When you want to clear the clipboard history, right-click on the batch file and click <strong>Run as administrator<\/strong>.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8795\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/bat-file-run-as-admin.png\" alt=\"batch file run as administrator\" width=\"698\" height=\"268\" \/><\/li>\n<\/ol>\n<div class=\"rp\"><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/run-bat-files-invisibly-without-displaying-command-prompt\/\">How to run .BAT files invisibly, without displaying the Command Prompt window<\/a><\/div>\n<hr \/>\n<h3>Another Command-line Method<\/h3>\n<p>Find the short name of the Clipboard User Service using Services MMC.<\/p>\n<ol>\n<li>Launch the Services MMC (<code>services.msc<\/code>)<\/li>\n<li>Locate <strong>Clipboard User Service<\/strong> from the list<\/li>\n<li>Double-click Clipboard User Service and note down the service name.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8799\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/clipboard-service-name-1.png\" alt=\"clipboard user service name - services mmc\" width=\"406\" height=\"468\" \/><br \/>\nThe service name contains a random string which <strong>varies from one Windows 10 computer to the other<\/strong>. In my system, the service (short) name is <code>cbdhsvc_5d696<\/code><\/li>\n<\/ol>\n<p>Alternately, you can use the Command Prompt to find out the Clipboard User Service&#8217;s service name.<\/p>\n<ol>\n<li>Open a Command Prompt window.<\/li>\n<li>Type the following command and press OK.\n<pre>sc query | findstr \/i \"cbdhsvc\"<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8798\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/clipboard-service-name-cmd-prompt.png\" alt=\"clipboard user service name - cmd prompt\" width=\"701\" height=\"148\" \/><\/li>\n<\/ol>\n<p>That shows the info you need.<\/p>\n<ol>\n<li>Open Notepad and paste these lines:\n<pre>cmd.exe \/c \"echo off | clip\"\r\nnet stop cbdhsvc_5d696\r\nnet start cbdhsvc_5d696<\/pre>\n<p><em>Of course, you&#8217;ll have to replace <code>cbdhsvc_5d696<\/code> with the actual name of the Clipboard User Service as in your system.<\/em><\/li>\n<li>Save the file as <code>clear_clipboard.bat<\/code><\/li>\n<li>When you want to clear the clipboard history, right-click on the batch file and click <strong>Run as administrator<\/strong>.<\/li>\n<\/ol>\n<p>That&#8217;s it! Restarting the Clipboard User Service should have erased the Clipboard history. Open the clipboard history panel to check it out. The Pinned items in the clipboard will remain though.<\/p>\n<div class=\"qt\">\n<h4>Clipboard history Bonus Tips<\/h4>\n<p><strong>Auto-paste to editor from the Clipboard history panel:<\/strong><\/p>\n<p>To open the Windows 10 new Clipboard history panel, you use the <kbd>WinKey<\/kbd> + <kbd>V<\/kbd> keyboard shortcut. When an item in the history list is clicked it&#8217;s copied to the clipboard automatically. Normally, many users simply use the clipboard history to copy an item from the history to the clipboard. Not many users know that the clipboard history panel also has the capacity to paste text to your active window as well.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8800\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/notepad-clipboard-history.png\" alt=\"clipboard history auto-paste to text editor\" width=\"643\" height=\"517\" \/><\/p>\n<p>If you have a text editor or Word processor open and active, press the <kbd>WinKey<\/kbd> + <kbd>V<\/kbd> button and select an item from the history. The item is automatically pasted to your editor window exactly at the <strong>current cursor position<\/strong>. It thus saves you one keystroke &#8212; i.e., you don&#8217;t need to click on the Paste button or press <kbd>Ctrl<\/kbd> + <kbd>V<\/kbd> on your editor.<\/p>\n<p>The auto-paste feature works in the Run dialog as well.<\/p>\n<p><strong>Clear the legacy Clipboard history &#8211; for all versions of Windows:<\/strong><\/p>\n<p>To clear the legacy clipboard history in any version of Windows, create a desktop shortcut to the following command:<\/p>\n<pre>cmd.exe \/c \"echo off | clip\"<\/pre>\n<p>The above command clears the current clipboard memory, and works in all versions of Windows, including Windows 10. However, in Windows 10, the command doesn&#8217;t erase the new Clipboard history data. It just clears the currently selected item from the memory.<\/p>\n<\/div>\n<p><strong>Editor&#8217;s note:<\/strong> I&#8217;ve not tested the behavior with the clipboard cloud sync (&#8220;Sync across devices&#8221;) option enabled. So, I&#8217;m not sure if the batch file also clears the clipboard history in the cloud or not. If you want to clear the history from the cloud (in addition), it&#8217;s better to use the Settings UI.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The new Windows 10 Clipboard lets you save multiple items in the clipboard so that you can use it later. You can also pin the required items in the Clipboard history panel so that they&#8217;re not discarded by the system, or accidentally deleted by the user. You may every now and then want to clear &#8230; <a title=\"How to Clear Windows 10 Clipboard History Using Shortcut\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/clear-windows-10-clipboard-history-shortcut\/\" aria-label=\"Read more about How to Clear Windows 10 Clipboard History Using Shortcut\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8],"tags":[490],"class_list":["post-8794","post","type-post","status-publish","format-standard","hentry","category-windows-10","tag-services"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":18617,"url":"https:\/\/www.winhelponline.com\/blog\/open-file-folder-path-clipboard-using-shortcut\/","url_meta":{"origin":8794,"position":0},"title":"How to Open File or Folder Path from the Clipboard Using Shortcut","author":"Ramesh","date":"September 15, 2020","format":false,"excerpt":"Sometimes we may need to copy a file or folder path from your email or chat window to the clipboard, and open the file or folder manually. Most people open the file or folder by launching the Run dialog, pasting the path from the Clipboard, and clicking OK. If your\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"copy path to clipboard to Run dialog","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/09\/copy-path-clipboard-run-dialog.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1411,"url":"https:\/\/www.winhelponline.com\/blog\/regjump-quickly-jump-registry-path-clipboard\/","url_meta":{"origin":8794,"position":1},"title":"Jump to a Registry Key (Stored in Clipboard) Directly Using RegJump","author":"Ramesh","date":"January 6, 2016","format":false,"excerpt":"RegJump is a super tool from Windows Sysinternals that exists for a very long time, launches the Registry Editor automatically and jumps to the specified registry path. The registry path needs to be mentioned as a command-line parameter for RegJump. To make Registry Editor open the HKEY_LOCAL_MACHINE\\Software\\Microsoft branch directly, you'd\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/regjump2.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":231,"url":"https:\/\/www.winhelponline.com\/blog\/copy-target-url-context-menu-option-for-internet-shortcut-url-files\/","url_meta":{"origin":8794,"position":2},"title":"How to Copy Address of a Internet Shortcut (.URL) via Right-click Menu","author":"Ramesh","date":"April 26, 2008","format":false,"excerpt":"The Copy as Path command in the right-click menu is an extremely useful one to quickly copy the full path of a file or folder to clipboard. Similarly, for internet shortcut (.url) files, here is a script that lets you copy the web address (URL) of a internet shortcut, via\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"add \"copy target url\" context menu option for internet shortcuts","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2008\/04\/copytargeturl.gif?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":386,"url":"https:\/\/www.winhelponline.com\/blog\/copy-text-file-contents-to-clipboard-using-context-menu\/","url_meta":{"origin":8794,"position":3},"title":"Copy Text file Contents to Clipboard via Right-Click Menu","author":"Ramesh","date":"July 25, 2008","format":false,"excerpt":"To copy the contents of a text-based file, you open the file in an editor such as Notepad, use Select All and then copy the contents to the clipboard. How about accomplishing it using a command in the right-click menu? Add \"Copy to Clipboard\" to the Context Menu Start the\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/copyclip.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1266,"url":"https:\/\/www.winhelponline.com\/blog\/copy-process-details-clipboard-windows-8-taskmgr\/","url_meta":{"origin":8794,"position":4},"title":"Copy Process Details in Windows Task Manager to the Clipboard","author":"Ramesh","date":"October 30, 2013","format":false,"excerpt":"The Windows 8 Task Manager has several new features and improvements. Of which, one of the nice additions to the Windows 8 Task Manager is that you can copy process details to the clipboard by pressing CTRL + C. This is one of the little new, but overlooked additions in\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/archived2\/w8-proc-details-1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":4395,"url":"https:\/\/www.winhelponline.com\/blog\/copy-command-prompt-output-clipboard-save-file\/","url_meta":{"origin":8794,"position":5},"title":"How to Copy Command Prompt Output Text to Clipboard or File","author":"Ramesh","date":"October 23, 2016","format":false,"excerpt":"Windows Command-line tools are great for troubleshooting, as well as automation. But, if you're stumped when a tech support guy on the phone asks you to run a built-in console command and copy the output displayed for diagnosing a problem, these Command Prompt basics will come in handy. This post\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"Command Prompt window","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/10\/command-prompt-header.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/10\/command-prompt-header.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/10\/command-prompt-header.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/8794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=8794"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/8794\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=8794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=8794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=8794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}