Home » Questions » Computers [ Ask a new question ]

Is it possible to prevent the win7 sleep state while using spotify?

Is it possible to prevent the win7 sleep state while using spotify?

Does anyone know if there is a way to prevent windows 7 to go to sleep while using Spotify?

Asked by: Guest | Views: 24
Total answers/comments: 2
Guest [Entry]

"you could create a batch file to launch spotify:

powercfg -change -standby-timeout-ac 0
start /wait ""C:\Program Files\Spotify\spotify.exe""
powercfg -change -standby-timeout-ac 30

and launch it with hstart to hide the console window: hstart /NOCONSOLE ""launch spotify.bat"""
Guest [Entry]

"You can just go to the power options. Often done by right clicking the desktop and going to power management etc, if not open start and type in 'power' the correct result should show.
Then just go to advanced and set 'sleep' to never.
However this will also never put it to sleep ever, not just while using spotify."