{"id":69843,"date":"2026-02-01T17:20:06","date_gmt":"2026-02-01T16:20:06","guid":{"rendered":"https:\/\/ekiwi-blog.de\/69843\/switching-the-monitor-on-and-off-with-software-in-windows\/"},"modified":"2026-02-01T17:20:06","modified_gmt":"2026-02-01T16:20:06","slug":"switching-the-monitor-on-and-off-with-software-in-windows","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/69843\/switching-the-monitor-on-and-off-with-software-in-windows\/","title":{"rendered":"Switching the monitor on and off with software in Windows"},"content":{"rendered":"<p>A small batch file instead of pulling cables. Simply activate and deactivate the monitor in Windows.<\/p>\n<p><!--more--> I have two monitors on my computer, which is good for work, but the second one gets in the way when gaming. So far, I&#8217;ve always pulled the cable, as it&#8217;s a USB monitor and doesn&#8217;t have a classic on\/off switch. That&#8217;s why I had the idea of simply deactivating a display via software and quickly reactivating it after gaming.<\/p>\n<p>And yes, it is possible, in conjunction with the free &#8220;<a href=\"https:\/\/www.nirsoft.net\/utils\/multi_monitor_tool.html\" target=\"_blank\" rel=\"noopener noreferrer\">MultiMonitorTool<\/a>&#8220;.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of content<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" 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: #999;color:#999\" 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><\/span><\/a><\/span><\/div>\n<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:\/\/ekiwi-blog.de\/en\/69843\/switching-the-monitor-on-and-off-with-software-in-windows\/#About_the_application\" >About the application<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ekiwi-blog.de\/en\/69843\/switching-the-monitor-on-and-off-with-software-in-windows\/#Turn_off_monitor\" >Turn off monitor<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ekiwi-blog.de\/en\/69843\/switching-the-monitor-on-and-off-with-software-in-windows\/#Turn_on_monitor\" >Turn on monitor<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ekiwi-blog.de\/en\/69843\/switching-the-monitor-on-and-off-with-software-in-windows\/#Screen_number\" >Screen number<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/ekiwi-blog.de\/en\/69843\/switching-the-monitor-on-and-off-with-software-in-windows\/#The_result\" >The result<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/ekiwi-blog.de\/en\/69843\/switching-the-monitor-on-and-off-with-software-in-windows\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"About_the_application\"><\/span>About the application<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2026\/02\/display_1.webp\" alt=\"\" width=\"626\" height=\"473\" class=\"aligncenter size-full wp-image-69835\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2026\/02\/display_1.webp 626w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2026\/02\/display_1-300x227.webp 300w\" sizes=\"auto, (max-width: 626px) 100vw, 626px\" \/><\/p>\n<p>We create two batch files with a text editor of our choice: <\/p>\n<h2><span class=\"ez-toc-section\" id=\"Turn_off_monitor\"><\/span>Turn off monitor<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre> @echo off cd \/d \"%~dp0\" MultiMonitorTool.exe \/disable 2 <\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Turn_on_monitor\"><\/span>Turn on monitor<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre> @echo off cd \/d \"%~dp0\" MultiMonitorTool.exe \/enable 2 <\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Screen_number\"><\/span>Screen number<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p> The number we specify here is the number we also find in the settings:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2026\/02\/display_2.webp\" alt=\"\" width=\"678\" height=\"338\" class=\"aligncenter size-full wp-image-69837\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2026\/02\/display_2.webp 678w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2026\/02\/display_2-300x150.webp 300w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/p>\n<p>In most cases, this is the correct number, otherwise the number can also be found in MultiMonitorTool: <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2026\/02\/display_3.webp\" alt=\"\" width=\"295\" height=\"176\" class=\"aligncenter size-full wp-image-69839\" \/> <\/p>\n<h2><span class=\"ez-toc-section\" id=\"The_result\"><\/span>The result<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p> Once everything is done, we can save the files in the same folder as the tool. Activation\/deactivation is now done simply by double-clicking.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2026\/02\/display_4.webp\" alt=\"\" width=\"412\" height=\"259\" class=\"aligncenter size-full wp-image-69841\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2026\/02\/display_4.webp 412w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2026\/02\/display_4-300x189.webp 300w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p> Great thing, saves me having to plug and unplug. <\/p>","protected":false},"excerpt":{"rendered":"<p>A small batch file instead of pulling cables. Simply activate and deactivate the monitor in Windows.<\/p>\n","protected":false},"author":1,"featured_media":15926,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[3230,1999,1559,1558,2068],"class_list":["post-69843","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en","tag-instructions-en","tag-software-en-2","tag-tutorial-en","tag-windows-en","tag-windows-en-2"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/69843","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=69843"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/69843\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/15926"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=69843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=69843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=69843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}