Remove "Last Man Standing" Power Scheme
0 Votes |
Description
This Task will remove Last Man Standing Power Scheme on selected computers.
After removing Last Man Standing settings, selected computers will no longer be excluded from Power Management tasks, however they will still be configured to never enter standby, and to function as a Wake on LAN forwarders. |
Note: It will set the Power Scheme to Balanced Power Schecme if the active power scheme is "Last Man Standing"
Property Details
21436 | |
Beta - Preliminary testing ready for more | |
Remove "Last Man Standing" Power Scheme | |
BESC | |
Last Man Standing | |
0 | |
BigFix | |
<Unspecified> | |
N/A | |
8/13/2010 12:00:00 AM | |
Remove Last Man Standing Power Scheme | |
True | |
shwesc on 9/7/2016 12:27:32 AM | |
shwesc on 9/7/2016 12:27:32 AM | |
5435 Views / 4 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Relevance
Used in 2 fixlets | * Results in a true/false |

(if( name of operating system starts with "Win" ) then platform id of operating system != 3 else true) AND (name of operating system starts with "Win" OR name of operating system = "Mac OS X")
Used in 2 fixlets | * Results in a true/false |

version of client >= "7.2" AND ((if (name of it= "Mac OS X") then (release of it >= "10.4" as version AND release of it < "10.9" as version) else true) of operating system)
Used in 1 fixlet | * Results in a true/false |

((if (name of operating system starts with "Win") then (platform id of operating system != 3) else false) OR ((if (name of operating system = "Mac OS X") then (release of operating system >= "10.4" as version) else false)) OR (exists main gather service)) AND (if exists property "in proxy agent context" then (not in proxy agent context) else true)
Used in 1 fixlet | * Results in a true/false |

exists keys whose (value "FriendlyName" of it as string as lowercase contains "last man standing") of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes\" of native registry
Used in 1 fixlet | * Results in a true/false |

not exist settings whose(name of it contains "PowerManagement_LastManStanding" AND value of it = "1") of client
Actions
Action 1
Action Link Click
here to remove Last Man Standing Power Scheme.
Script Type
BigFix Action Script
parameter "lastman_guid" = "{names of keys whose (value "FriendlyName" of it as string as lowercase contains "last man standing") of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes\" of native registry}"
parameter "active_guid" = "{value "ActivePowerScheme" of key "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes" of native registry}"
// If active power scheme is last man standing change it to Balanced
if {parameter "lastman_guid" = parameter "active_guid"}
waithidden "{pathname of system folder & "\powercfg.exe"}" /setactive "381b4222-f694-41f0-9685-ff5bb260df2e"
endif
waithidden "{pathname of system folder & "\powercfg.exe"}" /delete {parameter "lastman_guid"}
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |