User Tools

Site Tools


code:windows

Differences

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

Link to this comparison view

Next revision
Previous revision
code:windows [2015/10/18 10:40]
127.0.0.1 external edit
code:windows [2024/02/27 22:52] (current)
hansek [Check what is preventing to turn off a display]
Line 22: Line 22:
 dir /a:l /s dir /a:l /s
 </code> </code>
 +
 +
 +===== Scripting in Windows batch =====
 +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.1445157648.txt.gz ยท Last modified: 2017/08/30 20:55 (external edit)