Power Profile deletion

(imported topic written by ggerling91)

We have started to gather a list of custom power profiles on user’s machines due to testing. Does any one have suggestions for removing custom power profiles from computers?

(imported comment written by BenKus)

Hi ggerling,

Interesting request we hadn’t heard before…

You can create a custom Task that has the following action:

action parameter query “profilename” with description “Enter power profile name” with default ""
waithidden __Download\RunAsCurrentUser.exe --q “{pathname of system folder & “\powercfg.exe”}” /delete “{parameter “profilename” of action}”

This will work for deleting profiles for the currently logged in user (for WinXP, Win2k3)

I didn’t test so let me know if it works…

Ben

(imported comment written by ggerling91)

Thanks Ben,

This is exactly what I was looking for. I will test this out today and let you know how I make out.

Greg

(imported comment written by ggerling91)

This failed on the client machine I tested

Completed action parameter query “profilename” with description “Enter power profile name” with default “”

Failed waithidden __Download\RunAsCurrentUser.exe --q “{pathname of system folder & “\powercfg.exe”}” /delete “{parameter “profilename” of action}}”

(imported comment written by BenKus)

Oops! typo… Remove the last “}”:

action parameter query “profilename” with description “Enter power profile name” with default ""
waithidden __Download\RunAsCurrentUser.exe --q “{pathname of system folder & “\powercfg.exe”}” /delete “{parameter “profilename” of action}”

Ben

(imported comment written by ggerling91)

Ben,

That did not work either. I am thinking that the RunAsCurrentUser.exe program is not cached on the machine that I am testing with. I will try and test this out tomorrow.

Thanks

Greg