aravind anche
asked on
Setting power options for laptops after deploying from MDT
Is there any setting in MDT that can set the power options when plugged on. I currently have
On battery
Dim the display: 2minutes
turn of display: 5 minutes
put the computer to sleep:15 min
plugged in
Dim the display: 5minutes
turn of display: 10minutes
put the computer to sleep:never
I want them change to
Battery
Dim the display: 5minutes
turn of display: 10 minutes
put the computer to sleep:15 min
plugged in
Dim the display: never
turn of display: 30 minutes
put the computer to sleep: never
Is that possible?
On battery
Dim the display: 2minutes
turn of display: 5 minutes
put the computer to sleep:15 min
plugged in
Dim the display: 5minutes
turn of display: 10minutes
put the computer to sleep:never
I want them change to
Battery
Dim the display: 5minutes
turn of display: 10 minutes
put the computer to sleep:15 min
plugged in
Dim the display: never
turn of display: 30 minutes
put the computer to sleep: never
Is that possible?
ASKER
Thanks for the response
I captured image in VM so there are no power options.
Can you provide me with couple more details.
Thanks
I captured image in VM so there are no power options.
Can you provide me with couple more details.
Thanks
On your computer, configure the power options that you want. Then use powercfg.exe /export. Copy that file to a share that the MDT server can see.
Then create a new application that calls a batch file. First line for batch file:
powercfg.exe /import NAMEOFFILEHERE (don't put a filepath - MDT will use the application's source path to set the working directory). GUID (generate a GUID online)
Second line of batch file:
powercfg.exe /S GUID_FROM_BEFORE
Now add that application to your task sequence in MDT under the Install Applications section (post OS). It will import your power settings and make them active.
Then create a new application that calls a batch file. First line for batch file:
powercfg.exe /import NAMEOFFILEHERE (don't put a filepath - MDT will use the application's source path to set the working directory). GUID (generate a GUID online)
Second line of batch file:
powercfg.exe /S GUID_FROM_BEFORE
Now add that application to your task sequence in MDT under the Install Applications section (post OS). It will import your power settings and make them active.
ASKER
Trying to export but getting message invalid parameters
What's your exact command?
ASKER
powercfg.exe /export GUID
Also I tried
powercfg.exe -export GUID
powercfg -export GUID
powercfg /export GUID
or Can I create a batch file ?
Also I tried
powercfg.exe -export GUID
powercfg -export GUID
powercfg /export GUID
or Can I create a batch file ?
You need to specify a GUID. https://guidgenerator.com/
ASKER
yes I used powercfg list
and from the options I copied the GUID of balanced.
and from the options I copied the GUID of balanced.
ASKER
I exported the file now. I will copy that to deployment share scripts folder and create a command line in TS at the end and give the import command. Is that right?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks David
Add the application as a step in your task sequence and you will be golden!