{"id":1869,"date":"2006-12-01T17:44:38","date_gmt":"2006-12-01T12:14:38","guid":{"rendered":"https:\/\/www.quickonlinetips.com\/archives\/2006\/12\/create-desktop-icon-for-one-click-window-xp-shutdown\/"},"modified":"2026-11-28T21:49:12","modified_gmt":"2026-11-28T16:19:12","slug":"create-desktop-icon-for-one-click-window-xp-shutdown","status":"publish","type":"post","link":"https:\/\/www.quickonlinetips.com\/archives\/2006\/12\/create-desktop-icon-for-one-click-window-xp-shutdown\/","title":{"rendered":"Create One Click Shutdown Button for Windows 11 &#038; 10"},"content":{"rendered":"<p>Want a <strong>one click shutdown button<\/strong> on your computer? In the Windows XP days, shutting down took three clicks: <em>Start &gt; Turn Off Computer &gt; Turn Off<\/em>. Windows 11 and Windows 10 aren&#8217;t much quicker. You can replace all of that with a desktop shortcut icon that shuts down your PC in a single click &#8211; no software or expert skills needed. This trick still works perfectly in 2026, and the same method gives you restart, sleep and lock buttons too.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-26610\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/shutdown-icon.png\" alt=\"one click shutdown button on windows desktop\" width=\"289\" height=\"348\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/shutdown-icon.png 289w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/shutdown-icon-249x300.png 249w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/shutdown-icon-41x50.png 41w\" sizes=\"(max-width: 289px) 100vw, 289px\" \/><\/p>\n<div class=\"quick-answer\" style=\"border-left: 4px solid #F28C1E; background: #f6f8fb; padding: 14px 18px; margin: 18px 0;\"><strong>Quick answer:<\/strong> Right-click the desktop, choose <em>New &gt; Shortcut<\/em>, type <code>shutdown \/s \/t 0<\/code>, click <em>Next<\/em>, name it &#8220;Shut Down&#8221; and click <em>Finish<\/em>. Double-click the icon to shut down instantly. Change its icon from <em>Properties &gt; Change Icon<\/em>, and pin it to the taskbar or Start for a true one-click button.<\/div>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_91 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6b0fe3a6e8d28\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #1a202c;color:#1a202c\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #1a202c;color:#1a202c\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6b0fe3a6e8d28\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/12\/create-desktop-icon-for-one-click-window-xp-shutdown\/#How_to_create_a_one_click_shutdown_button_in_Windows_11_and_10\" >How to create a one click shutdown button in Windows 11 and 10<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/12\/create-desktop-icon-for-one-click-window-xp-shutdown\/#Step_1_Create_a_new_shortcut\" >Step 1: Create a new shortcut<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/12\/create-desktop-icon-for-one-click-window-xp-shutdown\/#Step_2_Enter_the_shutdown_command\" >Step 2: Enter the shutdown command<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/12\/create-desktop-icon-for-one-click-window-xp-shutdown\/#Step_3_Give_it_a_power_button_icon\" >Step 3: Give it a power button icon<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/12\/create-desktop-icon-for-one-click-window-xp-shutdown\/#Step_4_Make_it_truly_one_click\" >Step 4: Make it truly one click<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/12\/create-desktop-icon-for-one-click-window-xp-shutdown\/#Step_5_optional_Add_a_keyboard_shortcut\" >Step 5 (optional): Add a keyboard shortcut<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/12\/create-desktop-icon-for-one-click-window-xp-shutdown\/#More_one-click_power_buttons\" >More one-click power buttons<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/12\/create-desktop-icon-for-one-click-window-xp-shutdown\/#Other_fast_ways_to_shut_down_Windows\" >Other fast ways to shut down Windows<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/12\/create-desktop-icon-for-one-click-window-xp-shutdown\/#Be_careful\" >Be careful<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/12\/create-desktop-icon-for-one-click-window-xp-shutdown\/#FAQ\" >FAQ<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/12\/create-desktop-icon-for-one-click-window-xp-shutdown\/#What_is_the_command_for_a_shutdown_shortcut_in_Windows_11\" >What is the command for a shutdown shortcut in Windows 11?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/12\/create-desktop-icon-for-one-click-window-xp-shutdown\/#How_do_I_make_the_shutdown_button_work_with_one_click\" >How do I make the shutdown button work with one click?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/12\/create-desktop-icon-for-one-click-window-xp-shutdown\/#Does_the_one_click_shutdown_button_still_work_in_Windows_10\" >Does the one click shutdown button still work in Windows 10?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/12\/create-desktop-icon-for-one-click-window-xp-shutdown\/#How_do_I_cancel_a_shutdown_started_by_the_shortcut\" >How do I cancel a shutdown started by the shortcut?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"How_to_create_a_one_click_shutdown_button_in_Windows_11_and_10\"><\/span>How to create a one click shutdown button in Windows 11 and 10<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Create_a_new_shortcut\"><\/span>Step 1: Create a new shortcut<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Right-click an empty area of the desktop and choose <em>New &gt; Shortcut<\/em>.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-26607\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/create-shortcut.png\" alt=\"create new shortcut on desktop\" width=\"441\" height=\"317\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/create-shortcut.png 441w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/create-shortcut-150x107.png 150w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/create-shortcut-300x215.png 300w\" sizes=\"(max-width: 441px) 100vw, 441px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Enter_the_shutdown_command\"><\/span>Step 2: Enter the shutdown command<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In the location box, type (or copy and paste) exactly:<\/p>\n<pre><code>shutdown \/s \/t 0<\/code><\/pre>\n<p><code>\/s<\/code> means shut down and <code>\/t 0<\/code> means wait zero seconds. (The older form <code>shutdown -s -t 0<\/code> from our original XP guide also still works.) Click <em>Next<\/em>, name the shortcut &#8220;Shut Down&#8221; and click <em>Finish<\/em>.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Give_it_a_power_button_icon\"><\/span>Step 3: Give it a power button icon<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Right-click the new shortcut and choose <em>Properties<\/em>. On the <em>Shortcut<\/em> tab, click <em>Change Icon<\/em>. If Windows says the file has no icons, click OK and it will show icons from <code>C:\\Windows\\System32\\shell32.dll<\/code>, which include a red power button.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-26609\" src=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/shutdown-properties.png\" alt=\"shutdown shortcut properties change icon\" width=\"370\" height=\"365\" srcset=\"https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/shutdown-properties.png 370w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/shutdown-properties-300x295.png 300w, https:\/\/www.quickonlinetips.com\/archives\/wp-content\/uploads\/shutdown-properties-50x50.png 50w\" sizes=\"(max-width: 370px) 100vw, 370px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Make_it_truly_one_click\"><\/span>Step 4: Make it truly one click<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Desktop icons need a double-click. For a single click, right-click the shortcut and choose <em>Pin to taskbar<\/em> or <em>Pin to Start<\/em> (on Windows 11, you may need <em>Show more options<\/em> first). Now one click on the taskbar icon shuts down your PC.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_5_optional_Add_a_keyboard_shortcut\"><\/span>Step 5 (optional): Add a keyboard shortcut<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In the shortcut&#8217;s <em>Properties<\/em>, click the <em>Shortcut key<\/em> box and press a combination such as <kbd>Ctrl+Alt+S<\/kbd>. Pressing it will shut down the computer from anywhere.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"More_one-click_power_buttons\"><\/span>More one-click power buttons<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Use the same steps with these commands to make other buttons. They&#8217;re built into Windows; see Microsoft&#8217;s <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows-server\/administration\/windows-commands\/shutdown\" target=\"_blank\" rel=\"noopener\">shutdown command reference<\/a> for all the options.<\/p>\n<table>\n<thead>\n<tr>\n<th>Button<\/th>\n<th>Command<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Shut down<\/td>\n<td><code>shutdown \/s \/t 0<\/code><\/td>\n<\/tr>\n<tr>\n<td>Restart<\/td>\n<td><code>shutdown \/r \/t 0<\/code><\/td>\n<\/tr>\n<tr>\n<td>Sign out<\/td>\n<td><code>shutdown \/l<\/code><\/td>\n<\/tr>\n<tr>\n<td>Hibernate<\/td>\n<td><code>shutdown \/h<\/code> (hibernate must be enabled)<\/td>\n<\/tr>\n<tr>\n<td>Restart to advanced startup options<\/td>\n<td><code>shutdown \/r \/o \/t 0<\/code><\/td>\n<\/tr>\n<tr>\n<td>Lock<\/td>\n<td><code>rundll32.exe user32.dll,LockWorkStation<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Tip: use <code>\/t 60<\/code> instead of <code>\/t 0<\/code> to get a 60-second delay, and run <code>shutdown \/a<\/code> to cancel a pending shutdown.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Other_fast_ways_to_shut_down_Windows\"><\/span>Other fast ways to shut down Windows<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>Keyboard:<\/strong> press <kbd>Win+X<\/kbd>, then <kbd>U<\/kbd>, then <kbd>U<\/kbd> again.<\/li>\n<li><strong>Alt+F4 on the desktop:<\/strong> press <kbd>Win+D<\/kbd> to <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2006\/06\/how-to-add-show-desktop-icon-on-quick-launch-toolbar\/\">show the desktop<\/a>, then <kbd>Alt+F4<\/kbd> and Enter.<\/li>\n<li><strong>Power button:<\/strong> set your PC&#8217;s physical <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2012\/05\/disable-power-key-button-keyboard\/\">power key<\/a> to shut down in <em>Control Panel &gt; Power Options &gt; Choose what the power buttons do<\/em>.<\/li>\n<li>On Windows 8, see our guide to the <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2015\/02\/shutdown-windows-8-shortcut\/\">Windows 8 shutdown shortcut<\/a>.<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Be_careful\"><\/span>Be careful<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>A shutdown shortcut closes everything immediately. Save your work first, because apps may not get a chance to ask.<\/li>\n<li>Keep the icon away from icons you click often, or use the taskbar pin, to avoid accidental shutdowns.<\/li>\n<\/ul>\n<p>And for some fun while your PC restarts, try finding the <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2009\/01\/find-any-key-on-keyboard\/\">&#8220;any&#8221; key<\/a>.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"FAQ\"><\/span>FAQ<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"What_is_the_command_for_a_shutdown_shortcut_in_Windows_11\"><\/span>What is the command for a shutdown shortcut in Windows 11?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><code>shutdown \/s \/t 0<\/code>. Use it as the location when creating a new desktop shortcut.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_do_I_make_the_shutdown_button_work_with_one_click\"><\/span>How do I make the shutdown button work with one click?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Pin the shortcut to the taskbar or Start. Taskbar icons open with a single click, while desktop icons need a double-click.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Does_the_one_click_shutdown_button_still_work_in_Windows_10\"><\/span>Does the one click shutdown button still work in Windows 10?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Yes. The same shortcut works in Windows 11, 10, 8 and 7, and it worked in Windows XP too.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"How_do_I_cancel_a_shutdown_started_by_the_shortcut\"><\/span>How do I cancel a shutdown started by the shortcut?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Only if you used a delay (for example <code>\/t 60<\/code>). Open Run with Win+R and type <code>shutdown \/a<\/code> before the timer ends.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Want a one click shutdown button on your computer? In the Windows XP days, shutting down took three clicks: Start&#8230;<\/p>\n","protected":false},"author":4,"featured_media":26610,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"default","_kad_post_title":"default","_kad_post_layout":"default","_kad_post_sidebar_id":"","_kad_post_content_style":"default","_kad_post_vertical_padding":"default","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[23],"tags":[49],"class_list":["post-1869","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computers","tag-tutorials"],"_links":{"self":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/1869","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/comments?post=1869"}],"version-history":[{"count":3,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/1869\/revisions"}],"predecessor-version":[{"id":72853,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/posts\/1869\/revisions\/72853"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media\/26610"}],"wp:attachment":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media?parent=1869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/categories?post=1869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/tags?post=1869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}