How to delete InstallESD.dmg (or any undeletable file) in macOS Trash

Steps:

I. Disable the System Integrity Protection

  1. Shutdown your mac.
  2. Boot into Recovery mode.
    Click the power button and hold down Command + R until you see the Apple Logo.
  3. Click Utilities.
  4. Select Terminal.
  5. Type csrutil status, it should be enabled by the default.
  6. Type csrutil disable, it will disable the SIP.
  7. Restart your machine and let it boot normally.

II. Empty Trash

  1. Login to your account.
  2. Empty your Trash.

III. Restore/Enable the System Integrity Protection

  1. Restart your mac.
  2. Boot into Recovery mode.
  3. Click Utilities.
  4. Select Terminal.
  5. Type csrutil enable.
  6. Type csrutil status, to check if it’s enabled.
  7. Restart your mac.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

iPhone X: Dealing with Home Indicator

Basic Appium and Cucumber - BDD Framework

An Experiment — Would Nuxeo Fit In A Lambda

Hadoop days are over..long live big data

Hack The Box — Templated Walkthrough

Stackdriver Custom Metrics in Python

Rust for beginners — Part 10 — Enums

LGM Virtual Internship Experience

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aaron Medina

Aaron Medina

More from Medium

How to Install Windows 11 without TPM Using 2 Easy Hacks

How to build OpenFOAM on M1 MAC

After upgrading MacOS to Monterey, Firebase hosting no longer displays pages when accessing…

Creating two SSH keys on Mac for two different GitHub accounts