# Running the SafeDNS Uninstaller script

#### Use this guide to upload the **SafeDNS Uninstaller.sh** file to uninstall **SafeDNS Endpoint Lite**

#### **1. Download the file** 

Download link: [SafeDNS Uninstaller.sh](https://docs.safedns.com/attachments/12)

#### **2. Upload the script to SimpleMDM**

1. Go to **Scripts  
    [![macos_instruction1.png](https://docs.safedns.com/uploads/images/gallery/2026-05/scaled-1680-/Mx6XTa26lfpTByBY-macos-instruction1.png)](https://docs.safedns.com/uploads/images/gallery/2026-05/Mx6XTa26lfpTByBY-macos-instruction1.png)**
2. Click on **Create Script  
    [![macos_instruction2.png](https://docs.safedns.com/uploads/images/gallery/2026-05/scaled-1680-/AvCtllV1nuaddewH-macos-instruction2.png)](https://docs.safedns.com/uploads/images/gallery/2026-05/AvCtllV1nuaddewH-macos-instruction2.png)**
3. Give it a name, for example **SafeDNS\_uninstaller**, upload the **SafeDNS Uninstaller.sh** file, and click **Save**.

#### **3. Run the script on target devices**

1. **Go to Jobs &gt; Create Job.  
    [![macos_instruction3.png](https://docs.safedns.com/uploads/images/gallery/2026-05/scaled-1680-/nqIZRq7eQczih7f7-macos-instruction3.png)](https://docs.safedns.com/uploads/images/gallery/2026-05/nqIZRq7eQczih7f7-macos-instruction3.png)**
2. Select the **SafeDNS Uninstaller.sh** file downloaded earlier, choose the target devices or device groups, configure the run option, and run the job.