User Tools

Site Tools


code:windows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
code:windows [2017/08/30 20:55]
hansek
code:windows [2024/02/27 22:52] (current)
hansek [Check what is preventing to turn off a display]
Line 26: Line 26:
 ===== Scripting in Windows batch ===== ===== Scripting in Windows batch =====
 See [[http://steve-jansen.github.io/guides/windows-batch-scripting/index.html]] See [[http://steve-jansen.github.io/guides/windows-batch-scripting/index.html]]
 +
 +
 +===== Check what is preventing to turn off a display =====
 +
 +Source: https://thegeekpage.com/screen-wont-turn-off/
 +
 +Run `cmd` as Administrator and then:
 +
 +<code cmd>
 +# to check if it is really slack
 +powercfg -requests
 +
 +# to resolve the issue
 +powercfg /requestsoverride PROCESS slack.exe DISPLAY SYSTEM
 +</code>
  
code/windows.1504119334.txt.gz ยท Last modified: 2017/08/30 20:55 by hansek