Hi,
Refer this script for disabling the option "Allow the computer to turn off this device to save power" option on your endpoint.
Run as System User
---
Comments