# DeepFreeze (macOS/Windows)

## Description

DeepFreeze is a common pieces of software used by Administrators, many people have asked us how the two interact. Simply putting the two on one computer would cause the software to conflict, as FileWave would deploy software and DeepFreeze would remove it upon reboot. However, using a slightly modified deployment strategy, you can use FileWave to activate Deep Freeze's commands. In this article, I will describe the necessary steps for deploying a fileset to machines Frozen by DeepFreeze.

<p class="callout danger">**Third Party Software** DeepFreeze is a third party application. The details provided are for example only and are unsupported by FileWave.</p>

<p class="callout info">You will invariably want to do this while users are not using the computers, since you do not want them to make modifications during its thawed boot. Therefore, this script will reboot the computer immediately. To make this script, you'll need to know the Deep Freeze administrator name and password. In your script, substitute your name/pass for 'your\_admin' and 'your\_password'</p>

## Ingredients

- FW Admin

## Directions

- Create a new empty fileset (From the Fileset View : New Desktop Fileset &gt; Empty : Type a Name &gt; OK)
- With it selected: Click the Scripts item in the button bar
- Create a new A**ctivation** **Script** and name it.
- Paste the script below and edit

**This is to Thaw macOS**

```shell
#!/bin/sh
/Applications/Faronics/DFXControl.app/Contents/MacOS/DFXControl command your_admin your_password bootThawed
/sbin/reboot
```

**This is to Thaw Windows**

```
@echo off "%ProgramFiles%FaronicsDeep Freeze EnterpriseDFC.exe" yourPassword /BOOTTHAWED shutdown -r
```

- Create a new **Pre-Uninstallation Script** and name it
- Paste the script below and edit

**This is to Freeze macOS**

```shell
!#bin/sh
/Applications/Faronics/DFXControl.app/Contents/MacOS/DFXControl command your_admin your_password bootFrozen
/sbin/reboot
```

**This is to Freeze Windows**

```
@echo off "%ProgramFiles%FaronicsDeep Freeze EnterpriseDFC.exe" yourPassword /BOOTFROZEN shutdown -r
```

It will reboot the machine in frozen mode after the fileset has been set to delete

<p class="callout warning">Don't put passwords in scripts. See: [Script Best Practices](https://kb.filewave.com/books/filewave-general-info/page/script-best-practices "Script Best Practices")</p>

- Associate and schedule the script 
    - Schedule the activation time for before you want to make changes
    - Schedule the delete time for after you are done making changes

![](https://kb.filewave.com/uploads/images/gallery/2023-07/slAtjUQpA7heipFO-embedded-image-fuc0vhyn.png)

- - Schedule the filesets you want to make changes to the computers

![](https://kb.filewave.com/uploads/images/gallery/2023-07/n7ykjYoifZ13WkNd-embedded-image-6gb9r6x5.png)