Remove "Last Man Standing" Power Scheme
Log In or Register to download the BES file, and more.

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

ID21436
StatusBeta - Preliminary testing ready for more
TitleRemove "Last Man Standing" Power Scheme
DomainBESC
CategoryLast Man Standing
Download Size0
SourceBigFix
Source ID<Unspecified>
Source SeverityN/A
Source Release Date8/13/2010 12:00:00 AM
KeywordsRemove Last Man Standing Power Scheme
Is TaskTrue
Added by on 9/7/2016 12:27:32 AM
Last Modified by on 9/7/2016 12:27:32 AM
Counters 2026 Views / 2 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 2 fixlets   * Results in a true/false
Show indented relevance
(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
Show indented relevance
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
Show indented relevance
((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
Show indented relevance
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
Show indented relevance
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:
Share this page on Yammer

Comments

Log In or Register to leave comments!