{"id":283,"date":"2018-06-22T01:29:20","date_gmt":"2018-06-22T01:29:20","guid":{"rendered":"http:\/\/blog.electrongoo.com\/?p=283"},"modified":"2018-06-22T19:35:03","modified_gmt":"2018-06-22T19:35:03","slug":"getting-a-second-video-monitor-to-display-correctly-after-resuming-windows-10","status":"publish","type":"post","link":"http:\/\/blog.electrongoo.com\/index.php\/getting-a-second-video-monitor-to-display-correctly-after-resuming-windows-10\/","title":{"rendered":"Getting a second video monitor to display correctly after resuming Windows 10"},"content":{"rendered":"<p>I run windows 10 and once in a while my second video monitor will remain dark after coming out of a suspend mode (sometimes even just turning off the monitors and turning them back on!).  I believe this is an issue with the NVidia video card I have installed since I can get the monitor to refresh by restarting the device (or rebooting the PC).<\/p>\n<p>Here&#8217;s how I solve this issue \u2026<\/p>\n<p>1. On the Windows Desktop (or some other folder if you prefer) create a new file named ResetVideoAdaptor.bat. You can use Windows Notepad or any text editor to do this.  Just make sure the file extension is named &#8216;.bat&#8217; and not &#8216;.txt&#8217;<br \/>\n2. Add the following lines to your ResetVideoAdaptor.bat file (see additional steps &#8216;how to customize for your system&#8217; below)<\/p>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\r\n@echo off\r\n\r\nREM see details on blog.electrongoo.com to set your specific adaptor id!\r\nSET MY_VID_ADAPTOR_ID=*PCI\\VEN_XXXX*YYYY*\r\n\r\n&quot;C:\\Program Files (x86)\\Windows Kits\\10\\Tools\\x64\\devcon&quot; disable %MY_VID_ADAPTOR_ID%\r\n&quot;C:\\Program Files (x86)\\Windows Kits\\10\\Tools\\x64\\devcon&quot; enable %MY_VID_ADAPTOR_ID%\r\n\r\n<\/pre>\n<p>3. To use this batch file, whenever one of your video monitors goes dark, run ResetVideoAdaptor.bat as Administrator (right-click on ResetVideoAdaptor.bat and select \u201cRun as Administrator\u201d) and the video adaptor will be reset and the video monitor will come back to life.<\/p>\n<p><strong>How to customize for your system<\/strong><\/p>\n<p>You must have <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows-hardware\/drivers\/devtest\/devcon\">Microsoft&#8217;s devcon utility<\/a> installed on your system for this to work.  This utility is free and part of the <a href=\"https:\/\/go.microsoft.com\/fwlink\/?linkid=873060\">Microsoft WDK which you can download here<\/a>.<\/p>\n<p>You must update the vendor id and device id in the ResetVideoAdaptor.bat file for your specific video card.  You can find these values using Windows Device Manager.  In the Windows Search bar type &#8220;Device Manager&#8221; and press Enter.  You should see a window similar to this<\/p>\n<p><a href=\"http:\/\/blog.electrongoo.com\/wp-content\/uploads\/2018\/06\/device-manager.png\"><img loading=\"lazy\" src=\"http:\/\/blog.electrongoo.com\/wp-content\/uploads\/2018\/06\/device-manager.png\" alt=\"\" width=\"680\" height=\"684\" class=\"aligncenter size-full wp-image-287\" srcset=\"http:\/\/blog.electrongoo.com\/wp-content\/uploads\/2018\/06\/device-manager.png 680w, http:\/\/blog.electrongoo.com\/wp-content\/uploads\/2018\/06\/device-manager-150x150.png 150w, http:\/\/blog.electrongoo.com\/wp-content\/uploads\/2018\/06\/device-manager-298x300.png 298w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<p>Locate your video card under &#8220;display adaptors&#8221; and right-click and select Properties.  From the Properties page select the Details tab and select &#8220;Hardware Ids&#8221; from the Property drop-down listbox.  You should see something similar to this<\/p>\n<p><a href=\"http:\/\/blog.electrongoo.com\/wp-content\/uploads\/2018\/06\/device-properties.png\"><img loading=\"lazy\" src=\"http:\/\/blog.electrongoo.com\/wp-content\/uploads\/2018\/06\/device-properties.png\" alt=\"\" width=\"400\" height=\"455\" class=\"aligncenter size-full wp-image-288\" srcset=\"http:\/\/blog.electrongoo.com\/wp-content\/uploads\/2018\/06\/device-properties.png 400w, http:\/\/blog.electrongoo.com\/wp-content\/uploads\/2018\/06\/device-properties-264x300.png 264w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>Now jot-down the vendor id which will be the four digits after the &#8220;VIN_&#8221; tag (see example below) and the device id which will be the four digits after the &#8220;DEV_&#8221; tag (see example below).<\/p>\n<p><a href=\"http:\/\/blog.electrongoo.com\/wp-content\/uploads\/2018\/06\/device-properties-highlighted.png\"><img loading=\"lazy\" src=\"http:\/\/blog.electrongoo.com\/wp-content\/uploads\/2018\/06\/device-properties-highlighted.png\" alt=\"\" width=\"400\" height=\"455\" class=\"aligncenter size-full wp-image-289\" srcset=\"http:\/\/blog.electrongoo.com\/wp-content\/uploads\/2018\/06\/device-properties-highlighted.png 400w, http:\/\/blog.electrongoo.com\/wp-content\/uploads\/2018\/06\/device-properties-highlighted-264x300.png 264w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>Finally update your specific four digit vendor id and four digit device id in the ResetVideoAdapter.bat file.  Search for &#8220;XXXX&#8221; and &#8220;YYYY&#8221; and replace those values with your specific id&#8217;s.  As an example, for my video card I updated the line <\/p>\n<p><strong>SET MY_VID_ADAPTOR_ID=*PCI\\VEN_XXXX*YYYY*<\/strong> <\/p>\n<p>to <\/p>\n<p><strong>SET MY_VID_ADAPTOR_ID=*PCI\\VEN_10DE*1187*<\/strong><\/p>\n<p>Save your final changes to ResetVideoAdapter.bat and your done.<\/p>\n<p>I hope this helps!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I run windows 10 and once in a while my second video monitor will remain dark after coming out of a suspend mode (sometimes even just turning off the monitors and turning them back on!). I believe this is an issue with the NVidia video card I have installed since I can get the monitor &hellip; <a href=\"http:\/\/blog.electrongoo.com\/index.php\/getting-a-second-video-monitor-to-display-correctly-after-resuming-windows-10\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Getting a second video monitor to display correctly after resuming Windows 10<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/blog.electrongoo.com\/index.php\/wp-json\/wp\/v2\/posts\/283"}],"collection":[{"href":"http:\/\/blog.electrongoo.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.electrongoo.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.electrongoo.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.electrongoo.com\/index.php\/wp-json\/wp\/v2\/comments?post=283"}],"version-history":[{"count":3,"href":"http:\/\/blog.electrongoo.com\/index.php\/wp-json\/wp\/v2\/posts\/283\/revisions"}],"predecessor-version":[{"id":297,"href":"http:\/\/blog.electrongoo.com\/index.php\/wp-json\/wp\/v2\/posts\/283\/revisions\/297"}],"wp:attachment":[{"href":"http:\/\/blog.electrongoo.com\/index.php\/wp-json\/wp\/v2\/media?parent=283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.electrongoo.com\/index.php\/wp-json\/wp\/v2\/categories?post=283"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.electrongoo.com\/index.php\/wp-json\/wp\/v2\/tags?post=283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}