Skip to main content

Disable Sleep

Overview​

Disables sleep in the current Windows power plan by setting 'Sleep after' to Never for both AC and DC power. This script is executed as automation script from Disable Sleep Windows Workstation and Disable Sleep Windows Server compound conditions.

Sample Run​

Image1

Dependencies​

Automation Setup/Import​

Automation Configuration

Output​

  • Activity Details

Changelog​

2025-09-17​

  • Initial version of the document