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

gen_fsm: The way to implement Finite State Machines in Erlang

Write for Towards AWS

When Developers Should Write Their Own Tests

When to use CSS property ‘will-change

Ghost Pro — 20 Reasons that make it the best choice for bloggers in 2021

CableLabs Announces Major Update to the Open Source LoRa Server

Google CTF 2019 Write-up: Work Computer

I finished the JAVA Syntax Quest @Codegym and this is what I learned

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

Upgrade your hardware, pronto!

Is antivirus software required for Mac computers? — Just Life Trends

Who Is Fighting Over the NFL’s Sunday Ticket?