I added a background UiPath workflow (not using Orchestrator) that starts on Win 11 boot and runs until I shutdown. Now my display won’t enter sleep mode. The following command (run as administrator) shows UiPath.Executor is preventing display from entering sleep mode.
(Stopping UiPath background workflow solves the issue).
PowerCGF.exe /requests
How can I tell UiPath to NOT prevent display sleep?
I provided Windows 11’s PowerCfg a Requests Override so Windows 11 would ignore the UiPath.Executor.exe request to NOT allow the display (or system) to go into sleep mode. The command window must be run as an administrator.
powercfg /REQUESTSOVERRIDE PROCESS UiPath.Executor.exe DISPLAY SYSTEM