Skip to content

Instantly share code, notes, and snippets.

@TheNicholasNick
Last active November 15, 2017 20:20
Show Gist options
  • Save TheNicholasNick/e6aaccccbcbc34e0666e034113164b64 to your computer and use it in GitHub Desktop.
Save TheNicholasNick/e6aaccccbcbc34e0666e034113164b64 to your computer and use it in GitHub Desktop.
Find app keeping Windows from screensaver/monitor standby
  1. First create the script below.
  2. Then create a shortcut to it cmd /c "the script"
  3. give the shortcut a fancy icon
    • %systemroot%\system32\imageres.dll
    • %systemroot%\system32\shell32.dll
    • %systemroot%\system32\ddores.dll
  4. before exiting the shortcut properties, go to Advanced on the Shortcut tab and tick "run as administrator"
  5. finally pin that shortcut to start -
    • if making changes to the shortcut, need to unpin and repin again
powercfg /requests
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment