you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 1 year ago* (1 child)

Here's a one liner that disables wake on all devices in your PC.

powershell -Command "powercfg /devicequery wake_armed | ForEach{ powercfg /devicedisablewake $_ }"

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 year ago

    Doesn't work Invalid parameter --. I have zero clue where it gets the --. But the issue would be new devices or other ports. I did this manually once, needed to unplug my PC and needed to do this once again. At least there seems to be an option doing this in bulk but it's not optimal.

  • source
  • parent