File in use after using quick look in Finder

When I use the space bar in Finder to quick look a file, that file becomes locked. When trying to delete the file it will give this infamous 'The operation can’t be completed because a required item is in use' message. I need to restart the macbook in order to delete the file!


Is this the latest and best bug Apple has ever created or is there a simple solution?



MacBook

Posted on Jun 14, 2020 10:56 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 16, 2020 5:52 AM

Thank you for your suggestions. I executed step 1 till step 9 but it did not solve the issue.

The files are located on a NAS. I solved the problem by changing the file sharing protocol from AFP to SMB.

2 replies

Jun 14, 2020 11:28 AM in response to Jasper.

The problem is not with macOS but a malfunction of your system. The simple solution is that you need to find out why it is happening on your system, then fix it.


A Troubleshooting Procedure that may Fix Problems with macOS El Capitan or Later


You should try each, one at a time, then test to see if the problem is fixed before going on to the next.


    If possible, backup your files before proceeding.


  1. Shutdown the computer and disconnect all third-party peripherals.
  2. Wait 30 seconds before you restart the computer.
  3. Resetting your Mac's PRAM and NVRAM
  4. Reset the System Management Controller (SMC)
  5. Reset your Startup Disk and Sound preferences, if needed, after resetting the PRAM.
  6. Test in safe mode to see if the problem persists, then restart normally.  Use safe mode to isolate issues with your Mac and Playing Safe - what does Safe mode do?
  7. Repair the disk by booting from the Recovery HD. Immediately after the chime hold down the Command and R keys until the Utility Menu appears. Choose Disk Utility and click on the Continue button. Select the indented (usually, Macintosh HD) volume entry from the side list.  Click on the First Aid button in the toolbar. Wait for the Done button to appear. Quit Disk Utility and return to the Utility Menu. Restart the computer from the Apple Menu.
  8. Reinstall a Combo Updater: macOS Catalina 10.15.5 Combo Update, macOS Mojave 10.14.6 Combo Update, macOS High Sierra 10.13.6 Combo Update, macOOS 10.12.6 Combo Update, OS X El Capitan 10.11.6 Combo Update.
  9. Create a New User Account Open Users & Groups preferences. Click on the lock icon and enter your Admin password when prompted. On the left under Current User click on the Add [+] button under Login Options. Setup a new Admin user account. Upon completion log out of your current account then log into the new account. If your problems cease, then consider switching to the new account and transferring your files to it - Transferring files from one User Account to another.
  10. Reinstall OS X by booting from the Recovery HD using the Command and R keys. When the Utility Menu appears select Install OS X then click on the Continue button.
  11. Erase and Install OS X Restart the computer. Immediately after the chime hold down the Command and R keys until the Apple logo appears. When the Utility Menu appears:


     1. Select Disk Utility from the Utility Menu and click on the Continue button.

     2. When Disk Utility loads select the drive (out-dented entry) from the Device list.

     3. Click on the Erase button in Disk Utility's toolbar. A panel will drop down.

     4. Set the Format type to APFS (for SSDs only) or Mac OS Extended (Journaled.)

     5. Click on the Apply button, then wait for the Done button to activate and click on it.

     6. Quit Disk Utility and return to the Utility Menu.

     7. Select Install OS X and click on the Continue button.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

File in use after using quick look in Finder

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.