I have this vbscript code which helps to configure the time(in minutes) to turn off monitor.

Set WSHShell = CreateObject("W Script.Shell")

WSHShell.Run "CMD /c POWERCFG -X monitor-timeout-ac 1"

Set WSHShell = Nothing