Deep Freeze: Thaw
Log In or Register to download the BES file, and more.

0 Votes

Description

Enter Deep Freeze password to thaw device. This fixlet uses secure parameters to safely send the password to the device. 

On success, devices will report back "Not Relevant"


Property Details

ID27351
StatusProduction - Fully Tested and Ready for Production
TitleDeep Freeze: Thaw
SourceInternal
Source Release Date6/25/2024 12:00:00 AM
Keywordsfaronics, deep freeze, thaw, freeze, secure parameter
Added by on 7/7/2024 1:29:55 PM
Last Modified by on 7/7/2024 1:52:49 PM
Counters 71 Views / 0 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
exists file ("/usr/local/bin/deepfreeze";"C:\Windows\syswow64\DFC.exe")
Used in 1 fixlet   * Results in a true/false
Show indented relevance
if (windows of operating system) then (value "DF Status" of key "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Faronics\Deep Freeze 6" of (x32 registries) as string is "Frozen") else (boolean "Frozen" of dictionaries of file "/Library/Application Support/Faronics/Private/StorageSpace/DeepFreeze/com.faronics.deepfreezed.plist")

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
parameter "mainSWDLogFolder" = "{parent folder of client folder of current site}/__Global/SWDDeployData"
folder create "{parameter "mainSWDLogFolder"}"
parameter "logFile" = "SWD_DeploymentResults.log"

if {windows of operating system}
waithidden cmd.exe /C echo %DATE% %TIME% >> "{parameter "mainSWDLogFolder"}\{parameter "logFile"}"
waithidden cmd.exe /C echo Action ID: {id of active action} >> "{parameter "mainSWDLogFolder"}\{parameter "logFile"}"

waithidden C:\Windows\SysWOW64\DFC.exe {parameter "dfPassword"} /THAWNEXTBOOT >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}'"
parameter "error" = "{exit code of action}"
waithidden cmd.exe /C echo Return Code: {parameter "error"} >> "{parameter "mainSWDLogFolder"}\{parameter "logFile"}"
waithidden cmd.exe /C echo. >> "{parameter "mainSWDLogFolder"}\{parameter "logFile"}"

elseif {mac of operating system}
wait sh -c "echo $(date +%Y_%m_%d' '%T) >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}'"
wait sh -c "echo Action ID: {id of active action} >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}'"

run bash -c "DFXPSWD={parameter "dfPassword"} /usr/local/bin/deepfreeze thaw --computer --env >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}'"
parameter "error" = "{exit code of action}"
wait sh -c "echo Return Code: {parameter "error"} >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}'"
wait sh -c "echo '' >> '{parameter "mainSWDLogFolder"}/{parameter "logFile"}'"
endif

action requires restart "Thaw computer"
restart 10
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!