locked
disable sleep mode through CS.ini RRS feed

  • Question

  • I forgot to turn off Sleep mode in source image...

    What line I should enter in CS.ini to disable it or may be just in TS? Detailed answer if possible :)


    "When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

    Monday, September 8, 2014 4:05 PM

Answers

  • I have 3 commands ran after install applications in State Restore of the task sequence that turns off hibernation and sleep.

    powercfg -h off

    powercfg -change -disk-timeout-ac 0

    powercfg -change -standby-timeout-ac 0

    These worked for me. Computers no longer hibernate or sleep.

    • Marked as answer by pob579 Wednesday, September 10, 2014 2:01 AM
    Wednesday, September 10, 2014 12:52 AM

All replies

  • I have 3 commands ran after install applications in State Restore of the task sequence that turns off hibernation and sleep.

    powercfg -h off

    powercfg -change -disk-timeout-ac 0

    powercfg -change -standby-timeout-ac 0

    These worked for me. Computers no longer hibernate or sleep.

    • Marked as answer by pob579 Wednesday, September 10, 2014 2:01 AM
    Wednesday, September 10, 2014 12:52 AM
  • Thanks Gut.

    Will test it...


    "When you hit a wrong note it's the next note that makes it good or bad". Miles Davis

    Wednesday, September 10, 2014 2:01 AM