Home > Uncategorized > Prevent Windows 7 from sleeping: Task Sequence Step

Prevent Windows 7 from sleeping: Task Sequence Step

So we can perform some work at night after the migration, we needed to block 7 from sleeping (Which is its default setting). To do this, we tell the task sequence to set the active power state as High Performance using the powercfg tool. You can always fix this down the road for energy conservation, but that’s what we’re all waiting on R3 for, right?

powercfg.exe -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

Where the present GUID is the GUID of the power state. In this case, that is the High Performance power state.

Advertisement
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.