{"id":828,"date":"2012-04-26T11:37:00","date_gmt":"2012-04-26T16:37:00","guid":{"rendered":"https:\/\/anildesai.net\/?p=828"},"modified":"2012-05-07T11:38:10","modified_gmt":"2012-05-07T16:38:10","slug":"troubleshooting-windows-media-center-wmc-and-power-management-issues","status":"publish","type":"post","link":"https:\/\/anildesai.net\/index.php\/2012\/04\/troubleshooting-windows-media-center-wmc-and-power-management-issues\/","title":{"rendered":"Troubleshooting Windows Media Center (WMC) and Power Management Issues"},"content":{"rendered":"<p>One of the most annoying Windows desktop-related issues I have run across over the past several years is related to Power Management.&#160; I routinely use sleep mode (with hibernate on my mobile computers), and rarely reboot my computers.&#160; In fact, on my primary computer (which sees a lot of virtualization and development-related action), I tend to reboot the computer weekly, or even less often.&#160; However, power management has not always worked as well as I would have liked.&#160; It seems that there are always applications and device drivers that want to interrupt what you do.&#160; <\/p>\n<h3>The Problem<\/h3>\n<p>One such offender was Microsoft\u2019s own Windows Media Center in Windows 7.&#160; While I didn\u2019t know it at first, after deploying Windows 7 to my new workstation, my computer was automatically waking up each morning before I did (and I usually wake up pretty early).&#160; I tracked down the issue by running the \u201cpowercfg \u2013lastwake\u201d command.&#160; While it doesn\u2019t always provide the most useful information, below is the result I received:<\/p>\n<p><a href=\"https:\/\/anildesai.net\/wp-content\/uploads\/2012\/05\/image4.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-bottom: 0px; border-left: 0px; margin: 4px 10px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/anildesai.net\/wp-content\/uploads\/2012\/05\/image_thumb1.png\" width=\"547\" height=\"140\" \/><\/a><\/p>\n<blockquote>\n<p>C: \\Users\\Anil&gt;powercfg -lastwake     <br \/>Wake History Count &#8211; 1      <br \/>Wake History [O]      <br \/>Wake Source Count &#8211; 1      <br \/>Wake Source [O]      <br \/>Type: Wake Timer      <br \/>Owner: [PROCESS] \\Device\\HarddiskUolume2\\Windows\\System32\\services .exe      <br \/>Owner Supplied Reason: Windows will execute \\Microsoft\\Windows\\Media Center      <br \/>\\mcupdatescheduled scheduled task that requested waking the computer.<\/p>\n<\/blockquote>\n<h3>The Solution<\/h3>\n<p>Disabling \u201cwake timers\u201d in my power configuration profile didn\u2019t seem to help.&#160; This pointed me to the \u201cScheduled Tasks\u201d feature, where I was able to drill down to the source task.&#160; I unchecked the option to allow this task to automatically wake the computer, and all went well \u2013 no more automatic power-on signals at ~3:00am.&#160; Of course, the same approach could be used to troubleshoot other wake-related issues. <\/p>\n<h3>Knowledge of Power<\/h3>\n<p>While it\u2019s not always easy to find, Windows OS\u2019s contain a wealth of monitoring information and reports that can help track down various issues.&#160; One example is the built-in \u201cSystem Diagnostics\u201d report that can give you some insight into how your computer is managing power.<\/p>\n<p><a href=\"https:\/\/anildesai.net\/wp-content\/uploads\/2012\/05\/image5.png\"><img loading=\"lazy\" decoding=\"async\" style=\"background-image: none; border-bottom: 0px; border-left: 0px; margin: 4px 10px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px\" title=\"image\" border=\"0\" alt=\"image\" src=\"https:\/\/anildesai.net\/wp-content\/uploads\/2012\/05\/image_thumb2.png\" width=\"523\" height=\"376\" \/><\/a><\/p>\n<h3>Other Issues<\/h3>\n<p>Unfortunately, I have still run into other power management-related issues, and nothing I have done has seemed to help.&#160; For example, on two different Windows 7 installations, I have had an issue where the monitors would automatically come out of power-saving mode.&#160; I regularly use three monitors, and want them to go into a low-power mode when I log off the computer.&#160; The monitors power off correctly, but they seem to wake at random times, even when no mouse, keyboard, or other devices are connected (or allowed to wake the computer).&#160; I\u2019ve tested everything from potential Wake-on-LAN issues to installing and reinstalling software to no avail.&#160; I suspect that the issue might be a USB-to-DVI adapter that I have used on both computers, but I do need to use that (and unplugging it and uninstalling the drivers didn\u2019t seem to help).&#160; If anyone has any suggestions, I\u2019d be happy to try them!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the most annoying Windows desktop-related issues I have run across over the past several years is related to Power Management.&#160; I routinely use sleep mode (with hibernate on my mobile computers), and rarely reboot my computers.&#160; In fact, on my primary computer (which sees a lot of virtualization and development-related action), I tend [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,30,39],"tags":[],"class_list":["post-828","post","type-post","status-publish","format-standard","hentry","category-general","category-general-systems-admin","category-windows-7"],"_links":{"self":[{"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/posts\/828","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/comments?post=828"}],"version-history":[{"count":1,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/posts\/828\/revisions"}],"predecessor-version":[{"id":829,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/posts\/828\/revisions\/829"}],"wp:attachment":[{"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/media?parent=828"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/categories?post=828"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anildesai.net\/index.php\/wp-json\/wp\/v2\/tags?post=828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}