How to completely empty the trash on the computer. How to remove deleted files from the Recycle Bin: options and basic settings

Mac OS X stuck on a file or folder and refuses to delete it? If you are unable to empty the trash, use our guide to remove such files.

As a Mac user, you have probably come across such a situation when emptying the trash, when instead of emptying the trash, the message “You have insufficient rights” or “Error -8003” persistently pops up. In many cases (but not all), the problem files are located on an external volume or drive. Most often this is a consequence of manually deleting backups. time machine via Finder. It also happens that files on boot disk are used running applications and cannot be removed. There is no shortage of options here.

Unfortunately, there is no single solution for this problem. Starting with simple techniques, we will gradually reach the most desperate methods that are used in very difficult cases. In the end, you will find a solution to the problem. Good luck!

Reboot and Force Empty Trash

It's amazing how many computer glitches can be fixed with a simple restart of the computer. So, of course, that's where we'll start. After rebooting, click on the trash can icon to open it in Finder. Hold Option while clicking the Clear button. Still nothing? Select "Permanently Empty Trash" from the Finder menu.

Unlock and rename files

The operation cannot be performed due to a locked file or folder? The first thing to do is to see where the problematic file(s) or folder(s) are located. Do they have strange names? Delete unusual characters (especially the slash) and try emptying the Trash again. If that doesn't help, right click on the stubborn file/folder and select "Properties". If the “Protection” checkbox is checked, uncheck it and close the properties window. Try the Clear button again.

Third Party Applications

Although the installation third party applications and is not a perfect solution to such problems on Mac OS X, but this method is much easier (and safer) than the next two. So before you go any further, take advantage of it. Download the app or . Hope you stop at this step.

Disk Recovery and Permissions Recovery

Sometimes files are corrupted and need an additional procedure before being deleted. Paste installation disk from Mac OS X and boot your Mac while holding down the C key. Once the disc is loaded, launch Disk Utility from the Setup or Utilities menu (depending on your Mac versions OSX). Click on the hard disk on the left, then the First Aid tab, and finally the Repair Disk button. If there are no errors in the list after recovery, click “Repair Disk” again.

Now click on the "Restore Permissions" button. This only needs to be done once. Repeat the procedure for restoring the disk and restoring permissions for everyone external volumes and drives in the Disk Utility list. When you're done, restart your Mac and try force emptying the Trash (described above).

Emptying the Recycle Bin via Terminal

Now we are ready for the dangerous (but apparently necessary) way. I should warn you that executing this command in the Terminal will easily deprive you of all data if you do not clearly follow the instructions. At this step it is good to do backup all data. Launch the Terminal, which is located in the Applications -> Utilities folder and enter the following command.

sudo rm -rf ~/.Trash/

This command is run as the root user (the “sudo” part) and deletes all data from the current trash folder. account. Click Enter/Return to execute. Enter the administrator password in the window and press Enter/Return again. You won't see any reaction in the Terminal. When finished, type exit and click Enter/Return to exit the Terminal.

Conclusion

Is your cart empty now? I really hope! If you went through all the steps of the guide and did not get a result, then you may have fallen victim to a specific problem that requires a special approach. Describe your situation in the comments. Perhaps someone from the Mac community can help you.

Many users do the same useless, completely unnecessary cleaning action day after day. Recycle Bins immediately after something is removed there. If you recognize yourself, your actions, then this article will be very useful to you. In it, I will talk about why the Recycle Bin is needed, why you should not empty it every time you delete any data, how you can wean yourself from automatically emptying the Recycle Bin immediately after deleting data, how to disable the Recycle Bin if it still does not needed.

But first I would like to conduct a small survey on the topic of the Windows Recycle Bin.

1. Why you need the Windows Recycle Bin

The Recycle Bin in the Windows operating system (and not only in it) was created in order to reserve deleted data in case the deletion was suddenly accidental or hasty. Awareness of this may not come immediately, but in a day, two or even a week. In this case, you can always turn to the Recycle Bin and restore the deleted document. In other words, it is a kind of system Reserve copy, which temporarily delays the deletion of a document or folder from disk, giving the user the opportunity to return the data if necessary.

When we empty the Recycle Bin immediately after deletion, we leave little to no chance of data recovery. Of course, data can be recovered in this case, but it will be more difficult to do this, and with each new action on the computer, the chance of recovery decreases, because they can be overwritten with new data - in this case, it will not be possible to restore them even with the help of specialized programs like Handy recovery.

AT Everyday life we are accustomed to throwing garbage out of the bucket into the trash can. This is normal, because the trash can contains rubbish that we absolutely do not need. Although the Windows Recycle Bin looks identical to the trash can, it has a completely different purpose. And, it seems to me, many users, when they see a full Recycle Bin on the Desktop, have an association with a real trash can or bucket that needs to be “taken out”. But it's not. It does not need to be cleared because it contains data that you may still need. You don't realize it now because you think you don't need this data. But in the future, a situation may arise when they will come in handy. And at that moment you will be able to restore them from the Recycle Bin. It could be tomorrow, or the day after tomorrow or in a week. The Recycle Bin is the easiest way to recover deleted information. And do not project the image of the trash can on the Windows Recycle Bin, because they are very different in nature.

2. How to deal with the full basket

Surely you have in your head the thought “If I don’t empty the Recycle Bin, then my disk will be full of garbage.” That's what I thought too until recently. And for all my many years of experience in the field information technologies I didn't even think about it. Such an element as the Basket was always automatically cleared by me immediately after something got into it.

A couple of weeks ago, a colleague and friend of mine asked about the purpose of my actions to empty the Recycle Bin when he found out about it. I explained to him that I didn't want my computer to be mired in junk that I didn't need, because if I didn't empty the Recycle Bin, my computer would soon turn into the Recycle Bin itself. And anyway, why would I keep all this garbage on it?

After that, he told me about his experience and his observations, told me why he never cleans the Trash, does not intend to do so in the future, and also that operating system Windows itself deletes old data from there.

Indeed, when there is a lot of data in the Recycle Bin, the operating system automatically deletes the oldest files, preventing junk files from taking up all the disk space. The operating system sets the limit automatically, but it can be configured manually if you go to the Windows Recycle Bin settings (right-click on the Recycle Bin icon → "Properties").

3. How to wean yourself from emptying the Trash

Once I understood the true purpose of the Basket, the need to empty it disappeared. But I ran into one big problem. After deleting files, I automatically, without thinking at all, emptied the Recycle Bin again and again, because I got used to this after 15 years of working with Windows. This action became so natural to me that I didn't even think about it. I had to start looking for a way to wean myself off emptying the Recycle Bin. And found it.

In order not to empty the Recycle Bin, I simply turned off its display on the Desktop (Personalization → Change Desktop Icons). At the same time, it is always available through Explorer in the "Desktop" folder.

For a while, I automatically moved the mouse to the place where the Recycle Bin icon used to be, but stopped because it was not there. After a while, this mechanical movement towards the Basket disappeared from me and I weaned myself from it.

Since then, I have not used the Recycle Bin and saved the time I used to spend emptying it.

After a while, you can turn on the Recycle Bin again, because dragging files there with the mouse can be more convenient than pressing the Delete button on the keyboard.

4. In what cases it is necessary to resort to emptying the Recycle Bin

Like it or not, but sometimes the Recycle Bin needs to be emptied. And you should do it in the following cases:

  • When you need to get more free disk space on the media;
  • When it is necessary for security reasons to delete a confidential document so that third parties cannot access it.

In other cases, there is simply no special need to empty the Recycle Bin, because it is already cleared automatically after some time.

5. How to disable the Recycle Bin in Windows

If you still don’t need the Recycle Bin, but you have to empty it every day for the simple reason that you don’t need to keep backups, then just turn it off in two simple steps shopping cart.

For this you need:

  • Disabling deletion of data in the Trash
  • Disabling the display of the Recycle Bin on the Desktop (see picture above)

After that, all deleted data will be directly deleted from the disk, bypassing the Recycle Bin.

Mac OS X stuck on a file or folder and refuses to delete it? If you are unable to empty the trash, use our guide to remove such files.

As a Mac user, you have probably come across such a situation when emptying the trash, when instead of emptying the trash, the message “You have insufficient rights” or “Error -8003” persistently pops up. In many cases (but not all), the problem files are located on an external volume or drive. Most often, this is a consequence of manually deleting Time Machine backups through the Finder. It also happens that the files on the boot disk are used by running applications and cannot be deleted. There is no shortage of options here.

Unfortunately, there is no single solution for this problem. Starting with simple techniques, we will gradually reach the most desperate methods that are used in very difficult cases. In the end, you will find a solution to the problem. Good luck!

Reboot and Force Empty Trash

It's amazing how many computer glitches can be fixed with a simple restart of the computer. So, of course, that's where we'll start. After rebooting, click on the trash can icon to open it in Finder. Hold Option while clicking the Clear button. Still nothing? Select "Permanently Empty Trash" from the Finder menu.

Unlock and rename files

The operation cannot be performed due to a locked file or folder? The first thing to do is to see where the problematic file(s) or folder(s) are located. Do they have strange names? Delete unusual characters (especially the slash) and try emptying the Trash again. If that doesn't help, right click on the stubborn file/folder and select "Properties". If the “Protection” checkbox is checked, uncheck it and close the properties window. Try the Clear button again.

Third Party Applications

While installing third-party apps isn't the ideal solution to these problems on Mac OS X, it's much easier (and safer) than the next two. So before you go any further, take advantage of it. Download the app or . Hope you stop at this step.

Disk Recovery and Permissions Recovery

Sometimes files are corrupted and need an additional procedure before being deleted. Insert your Mac OS X installation disc and boot your Mac by holding down the C key. Once the disc is loaded, launch Disk Utility from the Setup or Utilities menu (depending on your version of Mac OS X). Click on the hard disk on the left, then the First Aid tab, and finally the Repair Disk button. If there are no errors in the list after recovery, click “Repair Disk” again.

Now click on the "Restore Permissions" button. This only needs to be done once. Repeat the Disk Repair procedure and restore permissions for all external volumes and disks in the Disk Utility list. When you're done, restart your Mac and try force emptying the Trash (described above).

Emptying the Recycle Bin via Terminal

Now we are ready for the dangerous (but apparently necessary) way. I should warn you that executing this command in the Terminal will easily deprive you of all data if you do not clearly follow the instructions. It's a good idea to back up all your data at this step. Launch the Terminal, which is located in the Applications -> Utilities folder and enter the following command.

sudo rm -rf ~/.Trash/

This command is run as the root user (the "sudo" part) and deletes all data from the current account's trash folder. Click Enter/Return to execute. Enter the administrator password in the window and press Enter/Return again. You won't see any reaction in the Terminal. When finished, type exit and click Enter/Return to exit the Terminal.

Conclusion

Is your cart empty now? I really hope! If you went through all the steps of the guide and did not get a result, then you may have fallen victim to a specific problem that requires a special approach. Describe your situation in the comments. Perhaps someone from the Mac community can help you.

Hi all! Today I want to tell how to empty trash for all users Windows 7 to Windows 10. Suppose you have a server on which many users access via RDP and you need to empty the trash for everyone at once to free up space. Let's see how to do it, it will also come in handy when you clear the log with NTFS quotas from unnecessary profile entries that could remain in the system because their users left some garbage in their baskets.

Emptying the recycle bin for all users of an RDS farm or terminal server

To do this, the command line will help us, as I already wrote the command line, as many as 10 ways. Do we enter this command? for Windows since Windows 7.

rd /s c:\$Recycle.Bin

When asked if you want to delete, press Y. After that, all users this server baskets are cleaned.

For Windows XP, the command is:

rd /s c:\recycler

Please note that the command contains the name of the drive on which the operating system is installed. If you have it installed on another drive, enter its name in the command.

P.S. The trash icon on the desktop is not automatically updated when this command is executed. This will happen a little later, when Windows Explorer updates the data on deleted files. You can easily paste these commands into executable file, cmd or bat format, and then hang it in the scheduler Windows jobs for scheduled execution, to automate actions.

Excess garbage should always be disposed of, and this applies not only to the summer cottage, apartment, desktop, but also computer technology. Beginners always face problems during the operation of a stationary personal computer, and many have one question: how to empty the trash? In order not to learn by the “poke” method, we bring to your attention a small detailed instructions for carrying out the procedure.

Why do we need a computer "trash can"?

This bucket shortcut stores all those files, folders and data that you have recently deleted. In order to slightly offload the memory of your personal computer from information garbage, you need to clear this place. How to empty the trash in the computer - you can learn more.

First method

On the workspace of your computer device is the icon of the same basket:

  1. If you double-click on this label with the left mouse button, a window will open in front of you.
  2. On the left side of the toolbar, you can find different buttons that are responsible for different functions. You need to find and click on the "Empty Trash" item.
  3. After pressing the operating Windows system make sure that you definitely want to perform these actions - you need to press the "Yes" button.

Important! You can also carry out this manipulation by selecting all objects in this window using the cursor computer mouse and pressing the "Delete" key, which is located above the index arrows on your keyboard.

Second method

You can carry out “cleaning” in another way, using the “File” item on the toolbar. After clicking on it, you will need to select the already familiar line “Empty Trash”.

Important! Before cleaning, it is advisable to check the contents of the deletion folder in order not to accidentally lose important data.

If not all data in your opinion should be deleted, then simply double-click the left mouse button on the name of the required file. Will unfold before you context menu, in which you will need to select the line "Restore". The file you restored will immediately appear in its original location.

Important! Before the recovery procedure, make sure you remember the exact location of the file. To obtain this information, before deleting, you need to right-click on the file and go to its properties. A context menu will open in front of you, in which it is indicated necessary information about the source.

Recovery of deleted information

If you have already clicked on the “Empty Trash” option, and only after that you realized that there was an extremely important file, then you can use the following solution to the problem.

Usually users think that data is permanently deleted, but luckily for you, there are interesting programs to help you fix the situation. UnErase or Recuva are most preferred in carrying out such works:

  1. We are looking for one of these programs, download the installer, install and run.
  2. Press the analyze key, wait for the end and restore the lost data.

In order not to engage in such manipulations, it is better to think several times and take your time.

Important! From time to time we all face problems with braking devices. But what can be done to avoid such difficulties? We suggest to study.

footage

Now you know how to empty the trash in a laptop and personal computer, and also know how to recover deleted information. We wish you success in working with a computer and the speedy acquisition of new skills!

Internet