Disable Sleep mode using powercfg

After setting a Windows 7 computer sometime ago, I started to receive complaints that it kept going to sleep.  There is a GUI way of doing things, and fortunately, Microsoft has provided us with a command.

c:\windows\system32\powercfg.exe -change -monitor-timeout-ac 0
c:\windows\system32\powercfg.exe -change -monitor-timeout-dc 0
c:\windows\system32\powercfg.exe -change -disk-timeout-ac 0
c:\windows\system32\powercfg.exe -change -disk-timeout-dc 0
c:\windows\system32\powercfg.exe -change -standby-timeout-ac 0
c:\windows\system32\powercfg.exe -change -standby-timeout-dc 0
c:\windows\system32\powercfg.exe -change -hibernate-timeout-ac 0
c:\windows\system32\powercfg.exe -change -hibernate-timeout-dc 0 

Source(s)
https://community.futuremark.com/forum/showthread.php?106691-windows-7-how-do-i-disable-SLEEP-mode-via-command-line