/Mac Cleaner /How to Delete Locked Files on Mac (Unlock Files in Trash)
I use a Mac device and I love it so much. I always clean it up regularly through manual means. I take care of my Mac cause it’s very important to me.
Recently, I was cleaning up my Mac device but I cannot empty the Trash. A message pop up as 'the operation can’t be completed because the item is locked.' and there are some locked files on my Mac device. I want to remove them from it but I can't unlock the file on Mac. How do I delete locked files on Mac?
~Mac Device User
Article GuidePart 1. Why Can't You Empty The Trash?Part 2. How to Delete Locked Files On Mac?Part 3. Other Reasons For Being Unable To Empty Your TrashPart 4. Force To Empty Trash on High Sierra Using The TerminalPart 5. Conclusion
(Aug 19, 2018, 19:35 pm) LEF113 Wrote: (Jun 15, 2018, 06:45 am) justF Wrote: Hey there, Does anyone know how to activate SASL DRM guarding payware aircraft for X-Plane using a Mac? If you have the Mac OS X installer CD handy, it's super easy to change the administrator account's password. Just insert the CD into the target Mac and hold the 'c' key as you boot up the computer. For many years in Mac OS 9 and earlier, the first line of defense for this behavior has been locking a file, making sure that it can’t be changed or deleted unless it is specifically unlocked. This ability remains in Mac OS X and applies even to the root user (locked files.
Part 1. Why Can't You Empty The Trash?
Some of us want to simply clean up our Mac device to free up more space and enhance our device’s performance. And cleaning up our Mac entails emptying the Trash. However, at one point in time, you might encounter that you cannot empty your Mac device Trash.
It’s an easy thing to do, right? Emptying the Trash is such an easy thing. However, sometimes this is not possible. Your Mac doesn’t allow you to empty your Trash. This might be caused by several reasons.
One reason would be the files you are trying to delete are still being utilized. Another reason would be the files are actually locked or damaged and needs to be fixed. Some file with names that have special characters in it cannot be deleted as well.
This is because Mac might think that it’s important for the functioning of the system. Another reason for files being unable to be deleted is due to the reason of system integrity protection.
In this article, we will tell you how to delete the files depending on the reasons we have stated above. Let’s get started.
Part 2. How to Delete Locked Files On Mac?
When you tried to delete a file, sometimes it cannot be deleted because Mac says that the file is being used. There are some solutions to this problem that you can implement in order to actually delete the file.
The first thing you should try is to restart the Mac device. This allows you to ensure that all applications have been closed. Even application files that are running in the background that uses the said file you want to quit can be closed from restarting the Mac device.
Another thing you can do is to empty the Trash and be able to delete the files in Safe Mode. Usually, the file is being used because it is utilized by a login or startup item. That’s why you have to open the Mac in Safe Mode. In this way, 3rd party drivers and also startup programs won’t be opened.
Here are the easy steps you can follow in order to delete locked files on Mac in Safe Mode:
Step 01 - Restart your Mac device.
Shut down your Mac device, then press the power button again to open your Mac device.
Step 02 - Press and hold the Shift key.
Press and hold the Shift key during the bootup process. Release your hold on the Shift key when you see the Apple logo on the screen with its progress bar.
Step 03 - Empty your Trash.
Empty your Trash. Then restart the Mac device in order to exit this mode.
What if the methods above didn’t work? Well, you can use iMyMac PowerMyMac to delete the files you want in the Trash. It also can remove your purgeable space on Mac to get more space, just click here to check how it works. Below are the advantages, disadvantages, and steps to use the said software:
Advantages:
*It helps you scan your entire Mac device for junk files, unnecessary files, clutter, and old files.
*You are free to use the application for the first 500 megabytes of data. This means you get a free trial. At least, you get to try out the software first before actually paying out of your pocket.
*After it scans your entire Mac device, you are free to preview each file before actually deleting it. In this way, you know that you are actually deleting the right thing. Say bye bye to mistakenly delete files.
*The processes of scanning and cleaning up your Mac device can be implemented with only a few clicks of the button.
*The files you preview can be sorted into various categories depending on what you want. These categories include size, date, type, etc.
*You get free email support and one on one support from the iMyMac. This is to help you learn more about the software and it helps you troubleshoot problems in case you encounter some.
Disadvantages:
*We can’t find any.
Here’s how to use the said PowerMyMac step by step:
Step 01 - Download the software from the official website.
Step 02 - Launch the said software within your Mac device. The main interface will show you updates on the status of Network condition.
Step 03 - Visit the left-hand side of the screen. Click the option named Master Scan.
Step 04 - Press the Scan button to start screening your entire Mac device for junk files. Wait until the entire process is complete.
How To Unlock Drive When Recovery In Mac Os X
Step 05 - Once the process is complete, it will show junk files in various categories such as System Logs, Application Cache, System Cache, etc. Select a category you want.
Step 06 - Select the data you want to delete per category. If you want, you can preview the files first.
Step 07 - Click the button named Clean. Wait until the cleanup process is complete.
Step 08 - Go back to the left-hand side of the screen and repeat steps 01 to 07. However, step 03 would be different. In this case, you have to select Large & Old Files OR Duplicate Finder to remove other unnecessary files in your system.
Part 3. Other Reasons For Being Unable To Empty Your Trash
There are other reasons for not being able to delete the Trash. Below are some things you can do to fix this:
How to Unlock Locked Files on Mac
If your Mac device says that the file is locked, you can follow our guide below to delete the said file. First, you have to ensure that the folder or the file is not actually stuck, After which, right-click the said file or folder. Then, select Get Info. See if it is actually locked. If it is, uncheck the locked option to be able to empty your Trash.
Another reason why a Trash can’t be emptied is due to its file name. The best way to fix this would be to rename the file and try to delete it again.
Use Disk Utility To Repair Your Disk
Worldedit 1 11 2 download. Sometimes, the file you want to delete is damaged, then this may cause file is locked for editing on Mac. To fix this, would need extra effort on your part. Here’s how to do it step-by-step:
Step 01 - Shut down your Mac device first.
Step 02 - Open your Mac device again while holding the keys Command + R while it is starting up. This will enter the Mac device in Recovery Mode.
Step 03 - Release the hold on these keys once the Apple Logo including its progress bar shows up.
How To Install Mac Os
Step 04 - Select Disk Utility.
Step 05 - Select Continue.
Step 06 - Select the disk where the file you wish to remove is located.
Step 07 - Press First Aid in order to repair the damaged disk.
System Integrity Protection Causes
The rootless feature is also called SIP or System Integrity Protection. This was provided on Mac starting version 10.11 in order to prevent attacks from malware that modify protected folders and files on your Mac device.
In order to delete files that are protected by the SIP, you simply have to temporarily deactivate the SIP. This is how you can deactivate the SIP in versions of the Mac OS X El Capitan or higher:
Step 01 - Shut down your Mac device first.
Step 02 - Open your Mac device again while holding the keys Command + R while it is starting up. This will enter the Mac device in Recovery Mode.
Step 03 - Release the hold on these keys once the Apple Logo including its progress bar shows up.
Step 04 - Within the macOS Utilities Window, select Terminal.
Step 05 - Within the Terminal, enter the following: csrutil disable; reboot
Step 06 - Press the Enter button. Now, a message will display that the SIP is deactivated and you need to restart your Mac device.
Step 07 - Allow the Mac device to automatically reboot itself.
After this, you will be able to empty your Trash. It is suggested that you activate your SIP to ensure that your Mac device is protected. The steps to do so is the same as the one we stated before. However, this time, you will enter the following command: csrutil enable. After you do so, you have to reboot your Mac device for the said command to be activated.
Part 4. Force To Empty Trash on High Sierra Using The Terminal
You can use the Terminal to empty the Trash by force. You must take caution though as it might erase your data. Here are the steps to do so:
Step 01 - Launch Terminal.
How To Unlock Mac Os X Base System
Step 02 - Type the following: sudo rm -r
Step 03 - Put a space after the -r
Step 04 - Ensure that the space is included. Launch the Trash.
Step 05 - Select all folders and files within the Trash.
Step 06 - Drag these towards the Terminal and drop them. Now, the location of each file and each folder you have dropped will be displayed on the Terminal’s window.
Step 07 - Press Enter button.
If you want to do it in Mac OS X, you have to type out the following: sudo rm -rf ~/.Trash/
Instead of typing out sudo rm -r
Part 5. Conclusion
After you have read this guide, you will know now how to empty the Trash that doesn’t allow you to. You will also be able to unlock multiple files Mac and delete locked files on Mac.
For a safer way of deleting files on your Mac and cleaning your device, you can use iMyMac PowerMyMac. This is a great tool that helps you find clutter and junk files and delete them with a few clicks.
ExcellentThanks for your rating.
Rating: 4.8 / 5 (based on 69 ratings)
People Also Read:
PowerMyMac
A powerful all-in-one App for Mac
Free Download
Comment ()
Diego2020-10-12 12:44:32
Gracias a tu consejo pude borrar unos archivos que no podía en la papelera y me estaba volviendo loco.
iMyMac2020-10-12 17:45:53
Un placer ayudarte.
christian2020-09-04 22:18:12
I found a remarkably easy work-around. May or may not work for all people but it did for me. Move said file(s) or folder into a cloud service and then log into that service online and delete via your browser! SO EASY!
Clean up and speed up your Mac with ease
Free Download
I am a Windows user, the company recently purchased MAC computers for employees because of the need to work. In order to ensure the security of the data, I used BitLocker to encrypt disks, including internal and external hard disk. What bothers me now is that I can't unlock BitLocker encrypted external hard disk on my MAC computer, I have to decrypt the drive, but that poses a risk to the data. I hope someone can recommend me a software that can unlock and access external hard disk on my MAC, thanks.
Many Windows users like to use BitLocker to encrypt external hard disks to keep their data secure, but this can cause a lot of hassle in accessing data stored on external har disks across different operating systems. For a MAC user, the MAC operating system does not support BitLocker, so a MAC user cannot unlock and access BitLocker encrypted external hard disks directly on a MAC computer. As a software developer with in-depth knowledge of BitLocker technology, Hasleo received a lot of user feedback in the hope of unlocking and accessing BitLocker encrypted external hard disks on MAC computers, so we developed BitLocker Anywhere For MAC to help users unlock and access external hard disks on their MAC computers.
Hasleo BitLocker Anywhere For Mac is a simple and easy-to-use software designed primarily to unlock and access BitLocker drives on macOS & Mac OS X. With this software, you can easily unlock and access BitLocker encrypted external hard disks as you access to a Mac's native drive. Below we will describe in detail how to use this software.
Tutorial to unlock and access BitLocker encrypted external hard disk on macOS & Mac OS X.
Step 1. Download, install and run Hasleo BitLocker Anywhere For Mac.
Step 2. Right-click the BitLocker encrypted external hard disk you want to access in main window, then click 'Mount Drive'.
Step 3. Enter the password or recovery key, then click 'Mount' button to unlock the drive.
Step 4. After the operation completes successfully, the drive has been successfully unlocked and you can see an icon of the driver appearing on your Mac's desktop.
Step 5. Click on the icon on your Mac's desktop to open the drive, now you can access the BitLocker encrypted external hard disk like a Mac's native drive, such as read, write, copy, delete files, etc.
If you are both a Windows and MAC user, you may also need to access BitLocker encrypted external hard disks on your MAC computer. As mentioned above, you can use Hasleo BitLocker Anywhere For MAC to unlock and access a BitLocker encrypted external hard disk on macOS & Mac OS X easily, as you access to a Mac's native drive.
Related ArticlesComments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |