Specify the Deep Freeze Mac Command Line Utility full path /usr/local/bin/deepfreeze when executing the command using third-party management tools. |
If Deep Freeze password is enabled, Deep Freeze password can be passed as an environment variable by specifying "--env". Usage: DFXPSWD=password /usr/local/bin/deepfreeze <command> <verb> argument [option] --env |
Command | Description |
---|---|
deepfreeze version | Displays the Deep Freeze Mac version. |
deepfreeze status | Displays the current status of Deep Freeze Mac. |
deepfreeze freeze --volume VolumeName | --startup | --computer deepfreeze thaw --volume VolumeName | --startup | --computer | --volume – Freeze or thaw a specific volume --startup – Freeze or thaw the startup volume --computer – Change Global state Volumes will be set to Frozen or Thawed depending on the status of Deep Freeze. |
deepfreeze license [--info] | [--info] shows detailed information of the license This command displays the full license key if run with root privilege or if Deep Freeze password is enabled. |
deepfreeze password enable deepfreeze password disable | Enable or disable Deep Freeze password. |
deepfreeze password add --description Description deepfreeze password edit --description Description [--newdescription newDescription] deepfreeze password delete --description Description | Add, edit or delete Deep Freeze password. |
deepfreeze hideicon frozen [--on | --off] deepfreeze hideicon thaw [--on | --off] | Show or hide the Deep Freeze Frozen icon in the menu bar. |
deepfreeze restartinstead [--on | --off] | Restart the computer after user logs out, or the last user logs out if fast user switching is enabled. |
deepfreeze ardinfo [--set N | --clear] | Set or clear ARD info field. |
deepfreeze schedule add --name "ScheduleName" [--enable on|off] --day monday[,tuesday,wednesday,thursday,friday,saturday,sunday] --begin "24-hr-time" --end "24-hr-time" [--onceonly on|off] [--installappleupdate on|off] [--lockuser on|off] [--warnuser off|"5-999"] [--message "message string"] [--shutdownafter on|off] [--runscript off|"script file name"] deepfreeze schedule edit --name "ScheduleName" [--enable on|off] [--day monday[,tuesday,wednesday,thursday,friday,saturday,sunday]] [--begin "24-hr-time"] [--end "24-hr-time"] [--onceonly on|off] [--installappleupdate on|off] [--lockuser on|off] [--warnuser off|"5-999"] [--message "message string"] [--shutdownafter on|off] [--runscript off|"script file name"] deepfreeze schedule delete --all | --name "ScheduleName" deepfreeze schedule enable --name "ScheduleName" deepfreeze schedule disable --name "ScheduleName" | Add, edit, remove, enable or disable Maintenance schedules. |
deepfreeze schedule scripts --add "ScriptFullpath" deepfreeze schedule scripts --delete "ScriptName" deepfreeze schedule scripts --list | Add, delete or list scripts. This command requires root privilege, even when Deep Freeze password is enabled. |
If you are using Apple Remote Desktop 3.7 or later, you must restart the computer to finalize installing Deep Freeze Tasks. You will be presented with an option to restart the computer at the end of installation. Click Restart to restart the computer and finalize the installation. |
Task | Description |
---|---|
DeepFreeze (APFS):addPassword | Add Deep Freeze password. |
DeepFreeze (APFS):addSchedule | Add a Maintenance schedule. |
DeepFreeze (APFS):addScript | Add scripts. |
DeepFreeze (APFS):clearArdInfo | Clear the ARD Info Field |
DeepFreeze (APFS):deleteAllSchedules | Delete all Maintenance schedules. |
DeepFreeze (APFS):deletePassword | Delete Deep Freeze password. |
DeepFreeze (APFS):deleteSchedule | Delete a Maintenance schedule. |
DeepFreeze (APFS):deleteScript | Delete one scripts at a time. |
DeepFreeze (APFS):disablePassword | Disable Deep Freeze password. |
DeepFreeze (APFS):disableSchedule | Disable a Maintenance schedule. |
DeepFreeze (APFS):editPassword | Edit Deep Freeze password. |
DeepFreeze (APFS):editSchedule | Edit a Maintenance schedule. |
DeepFreeze (APFS):enablePassword | Enable Deep Freeze password. |
DeepFreeze (APFS):enableSchedule | Enable a Maintenance schedule. |
DeepFreeze (APFS):freezeComputer | Change Global state to Frozen. |
DeepFreeze (APFS):freezeStartup | Freeze the startup volume. |
DeepFreeze (APFS):freezeVolume | Freeze a specific volume. |
DeepFreeze (APFS):hideFrozenIcon | Show or hide the Deep Freeze Frozen icon in the menu bar. |
DeepFreeze (APFS):hideThawedIcon | Show or hide the Deep Freeze Thawed icon in the menu bar. |
DeepFreeze (APFS):licenseInfo | Displays the License information. |
DeepFreeze (APFS):listScripts | List all the script files. |
DeepFreeze (APFS):restartInstead | Restart the computer when the user logs out (if fast user switching is enabled, restart the computer when the last user logs out) |
DeepFreeze (APFS):setArdInfo | Set the specific ARD Info Field to show Deep Freeze status. |
DeepFreeze (APFS):status | Displays the current status of Deep Freeze Mac. |
DeepFreeze (APFS):thawComputer | Change Global state to Thawed. |
DeepFreeze (APFS):thawStartup | Thaw the startup volume. |
DeepFreeze (APFS):thawVolume | Thaw a specific volume. |
DeepFreeze (APFS):version | Displays the Deep Freeze Mac version. |
If Deep Freeze is to be upgraded from the previous installation on the target computer, the existing Deep Freeze Administrator user name and password must be entered during this step. A new Deep Freeze Administrator cannot be created during this step if a Deep Freeze Administrator already exists. |
Each task can be configured in Deep Freeze, except for requestStatus. |
Command | Argument | Description |
---|---|---|
activateSchedule | Schedule name | Activates the scheduled updates on target computer(s); name of the schedule must be included in the command as a parameter. |
addSchedule | schedule_name [-a "on"|"off"] [-d monday[,tuesday,wednesday,thursday,friday,saturday,sunday]] [-b "24-hr-time"] [-e "24-hr-time"] [-o "on"|"off"] [-i "on"|"off"] [-l "on"|"off"] [-w "off"|5-999] [-m "message string"] [-s "on"|"off"] [-r "off" | "script name"] | Adds a schedule. 24-hr-time is in the form of HH:MM. Multiple days is only for repeating schedules. When specifying multiple schedules, there should be no space between the days specified. |
addUser | New user name | Adds user to list. |
badgeFrozenPartitions | on|off | Shows/Hides Deep Freeze icon on Frozen partitions. |
bootFrozen | Sets target computer(s) to restart in a Frozen state. | |
bootThawed | Sets target computer(s) to restart in a Thawed state. | |
bootThawedFor | Times | Sets target computer(s) to restart in a Thawed state for the next x restarts; this number can be customized in the Times argument. |
deactivateSchedule | Schedule name | Deactivates the scheduled updates on target computer(s); name of the schedule must be included in the command as an argument. |
deleteAllScripts | Deletes all scripts. | |
deleteScript | Script Name | Deletes a specific script. |
deleteUser | User name | Deletes user from list. |
editSchedule | schedule_name [--newname "new_schedule_name "] [--activate "on"|"off"] [--day monday[,tuesday,wednesday,thursday,friday,saturday,sunday]] [--begin "24-hr-time"] [--end "24-hr-time"] [--onceonly "on"|"off"] [--installappleupdate "on"|"off"] [--lockuser "on"|"off"] [--warnuser "off"|5-999] [--message "message string"] [--shutdownafter "on"|"off"] [--runscript "off"|"script name"] | Edits a schedule. |
editUser | User name | Allows administrators to edit the name and password of a user. |
freezePartition | Partition name | Designates a partition on target computer(s) to be Frozen. |
getARDInfoField | Specifies which Apple Remote Desktop’s information field is used to display the computer status. | |
getLicenseInfo | Displays the License information. | |
help | This will print all the options and parameters available in the "deepfreeze" command line tool. | |
mapAllUsers | (Argument 1) admin|standard|mobile (Argument 2) Partition name| userthawspace | Maps all users to a specified ThawSpace: name of user type and location of ThawSpace must be included as a parameter; e.g. admin Panther maps all admin users to the partition named Panther.** |
rebootInsteadOfLogoff | on|off | Restarts target computer(s) instead of logging off when the on argument is used. This feature is turned off when the off argument is used. |
removeAllSchedules | Removes all schedules. | |
removeAllThawSpace | Removes all ThawSpaces present. | |
removeSchedule | schedule_name | Removes a schedule. |
removeThawSpace | userthawspace_name |global | Removes a single ThawSpace*** |
resizeThawSpace | "global" | userthawspace_name nnnn | Resizes a ThawSpace. global is entered as it is, representing global ThawSpace. nnnn is the new size in MB. |
setARDInfoField | ARD Info Field | This parameter is used to specify which Remote Desktop’s Information Field is used to display the computer status. The parameter value is 0 to 4, 0 is to unset the Information Field. |
showFrozenIcon | on|off | Configures target computer(s) to show/hide the Deep Freeze Frozen icon in the menu bar. |
showThawedIcon | on|off | Configures target computer(s) to show/hide the Deep Freeze Thawed icon in the menu bar. |
status | [-x] | Requests target computer(s) to display the status of various Deep Freeze settings. x specifies that the result is in XML format. |
thawPartition | Partition name | Designates a partition on target computer(s) to be Thawed. |
uninstall | [keepThawSpace] | Uninstalls Deep Freeze from target computer(s). The target computer(s) must be restarted in the Boot Thawed state before the uninstall task can be run. [keepThawSpace] uninstalls Deep Freeze from target computer(s) but retains ThawSpace. |
version | [-x] | Displays Deep Freeze version number. x specifies that the result is in XML format. |