- Очистить корзину для всех пользователей в Windows Server 2008 R2
- Немедленное удаление
- Повторяющееся удаление по сценарию входа
- Which folder is recycle bin in on Win7? How to check files there?
- 3 Answers 3
- Папка $Recycle.Bin в Windows
- Зачем нужна папка $Recycle.Bin
- Как ее удалить?
- How To Quickly Empty Recycle Bin From All User Accounts
- Delete Recycle Bin data from all user accounts
- Where is the Recycle Bin in Windows 10? 9 ways to open it
- 1. Use the Recycle Bin shortcut from the Windows 10 Desktop
- 2. Search Windows 10 for the Recycle Bin
- 3. Open the Recycle Bin using its Start Menu shortcut
- 4. Use File Explorer’s address bar to open the Windows 10 Recycle Bin
- 5. Open the Windows 10 Recycle Bin from File Explorer
- 6. Access the Recycle Bin location using the Run window
- 7. Use File Explorer’s Quick access to open the Windows 10 Recycle Bin
- 8. Access the Recycle Bin from its taskbar shortcut
- 9. Open the Recycle Bin from PowerShell
- How do you prefer to access the Windows 10 Recycle Bin?
Очистить корзину для всех пользователей в Windows Server 2008 R2
Как правильно очистить корзину для всех пользователей в Windows Server 2008 R2?
Насколько я могу судить, это не «официальный» способ, поддерживаемый Microsoft. Есть два варианта. Один включает удаление c: \ $ Recycle.Bin, а другой — создание сценария cleanmgr.exe для запуска при каждом входе пользователя в систему.
Ближайшая вещь к «официальной» поддержке удаления c: \ $ Recycle.bin — из этого MS KB , который ссылается на XP и Vista, но подразумевает ожидаемое поведение.
Немедленное удаление
Если вы хотите, чтобы это произошло немедленно, кажется, что вы можете просто запустить, rd /s c:\$Recycle.Bin и Windows должна заново создать необходимые папки в следующий раз, когда они понадобятся. Я только что проверил это быстро, и это, кажется, работает, но, очевидно, действуйте с осторожностью.
Повторяющееся удаление по сценарию входа
Вы можете сделать это с помощью инструмента очистки диска (cleanmgr.exe). К сожалению, Microsoft решила объединить это с набором функций «Desktop Experience», что означает, что вам придется установить кучу других дерьмов и перезагрузить компьютер.
Альтернатива состоит в том, чтобы взять следующие два файла и переместить их в указанные местоположения в Technet :
Cleanmgr.exe должен идти в% systemroot% \ System32.
Файл Cleanmgr.exe.mui должен находиться в% systemroot% \ System32 \ en-US.
Один только запуск cleanmgr не позволит вам очистить все корзины, но вы можете использовать / sageset и / sagerun, чтобы создать сценарий входа, который будет запускаться для всех пользователей через GPO, который очистит их корзину при следующем входе в систему, как описано здесь . Это не самая чистая вещь, но это будет работать. Связанная статья предназначена для XP, но синтаксис не изменился с Server 2008 R2.
Я не думаю, что есть надлежащий путь, документированный, поскольку корзины для пользователей хранятся отдельно в их профилях; это также может представлять угрозу безопасности, поскольку документы или предметы в корзине, если они просматриваются пользователями, могут допускать утечку определенных документов.
Может быть возможно создать сценарий с привилегированными правами администратора для запуска и очистки файлов из корзины каждого локального профиля (но он все равно может быть синхронизирован с сервером, на котором хранятся ваши профили, если у вас есть перемещаемые профили). Но вам нужно правильно установить права доступа и права собственности; Я знаю, что на наших серверах администратор не имеет надлежащего доступа к профилям на сервере хранения; администратор должен взять на себя владение профилем, и когда мы закончим, верните право собственности соответствующему пользователю, иначе профили больше не будут работать для него должным образом.
Вы можете попробовать запустить процесс при выходе из системы, который очищает каталог корзины для каждого пользователя, но это также влечет за собой случайное удаление чего-то, что он хочет восстановить позже, и теперь будет удалено, поскольку оно было удалено при последнем выходе из системы.
Вероятно, «правильный» способ сделать это — настроить квоты на рабочих станциях и серверах, и когда эта квота используется для хранения, пользователь узнает, что ему нужно удалять элементы из корзины. Из-за безопасности это было бы проблемой обучения. В противном случае вам понадобится обходной путь.
У @markm было полезное предложение, которое, кажется, делает это; Я поддерживаю утверждение, что это не «правильный» способ, так как это надстройка, которая не встроена в Windows по умолчанию (хотя я не удивлен, что полезная утилита администрирования не включена). Единственная другая проблема, которую я имею » Я беспокоюсь о том, чтобы использовать его из-за того, что он может быть запущен на рабочей станции и на сервере, или у вас могут возникнуть проблемы с синхронизацией профилей с тем, что и где появляется. Похоже, это просто мини-инструмент для доступа к вкладке «Очистка диска» в Windows.
Другая мысль . непроверенная . состояла в том, чтобы использовать перенаправление папок для перенаправления их папки с мусором на центральный сервер. Однако я бы отнес это к монументально плохой идее. Затем вы удалите их файлы из этого общего каталога. Связывание этого по сети, настройка безопасности и т. Д. Сделают это приоритетным приоритетом первого уровня, который, однако, заставит других системных администраторов убежать до самопроизвольного сгорания.
Which folder is recycle bin in on Win7? How to check files there?
I was using another account before. Let me call it account A. And I deleted a lot of files to the Recycle Bin at that time. But before I removed account A I forgot to empty the Recycle Bin.
My question is, are my files still there? I’ve searched and found that the Recycle Bin may live in $Recycle.Bin , but I can’t open files there so I can’t know what they are. Any help how to open deleted files or how to delete them permanently?
3 Answers 3
Accordind to this site
Recycle Bin is located in a hidden directory named \$Recycle.Bin\%SID%, where %SID% is the SID of the user that performed the deletion.
You will need to know the SID of the account that was removed, or you can browse through the available folders to determine which one you need. Since this is a hidden folder you won’t see anything in it by default.
To see the folders
- Open Explorer
- In the location bar enter C:\$Recycle.Bin and press Enter
- Click Organize
- Select Folder and Search Options
- Select the View tab
- Select Show hidden files, folders, and drives
- Untick Hide protected operating system files
- Click OK
You can also do this from the command line but the file names are encoded as explained in the linked article. When I tried this I noticed I could see more files than were visible in Explorer.
- Click Start
- Type cmd in the seach box and press Enter
- Type cd c:\$recycle.bin and press Enter
- Type dir /ah and press Enter to see all the available folders.
- Type dir *.* /s and press Enter to see all the files in all the available folders (with their encoded names).
In my case I found two folders that contained files. One was my recycle bin. The other was from another user and contained files that I could not see in Explorer. I could however copy these files elsewhere, open them, etc.
Папка $Recycle.Bin в Windows
Папка $Recycle отображается в «Проводнике Windows» только в случае, если в настройках было включено отображение скрытых защищенных файлов. Причем не важно, какой раздел открыт на данный момент – системный или нет. Сегодня я расскажу о назначении данной папки, а также о том, целесообразно ли ее удалять.
Зачем нужна папка $Recycle.Bin
Папка $Recycle.Bin – это корзина (никакой интриги). В ней содержатся все файлы, которые были удалены пользователем. Поэтому вполне логично следующее умозаключение – если данная папка весит слишком много, значит кое-кто давно не очищал корзину.
Располагается она на всех имеющихся дисках в компьютере, в корневом каталоге. Увидеть ее, как я уже сказала выше, просто так невозможно, для этого необходимо убрать галочку напротив пункта «Скрывать защищенные системные файлы (рекомендуется)» во вкладке «Вид» раздела «Параметры папок».
А еще встречается и такое — если отформатировать на компьютере флешку или карту micro SD, на них тоже появится такая папка, только толку от нее не будет никакого. По крайней мере, в моем случае при открытии соответствующего раздела на телефоне она была.
Как ее удалить?
Удалить эту папку не получится, никак. А если быть точнее – после каждого удаления она будет восстанавливаться, так как напрямую связана с «Корзиной». Можно лишь позаботиться о том, чтобы размеры ее не были столь значительными. Для этого я предлагаю следующие пути решения:
- Вовремя очищать «Корзину» . Я серьезно! И на всякий случай объясню, как это делается – жму правой кнопкой мыши по иконке «Корзина», потом жму на пункт «Очистить корзину». Подтверждаю действие, и готово!
- Подкорректировать настройки «Корзины» . Можно сделать так, что файлы не будут помещаться в нее, а удалятся сразу же. Но в этом есть минус – если понадобится восстановить удаленный файл, сделать это не получится. А вот как это делается – точно так же жму правой кнопкой мыши по иконке «Корзина», но уже выбираю пункт «Свойства». Тут есть два варианта развития сюжета – ограничить размер папки или отметить тот пункт, про который я говорила. Далее применяю изменения и выхожу из «Свойств».
Если же эта папка «мозолит глаза», предлагаю просто подправить настройки, вернув галочку напротив пункта «Скрывать защищенные системные файлы (рекомендуется)» на место.
How To Quickly Empty Recycle Bin From All User Accounts
Last Updated on March 9, 2020 by admin 8 Comments
On one of my test computers and I have created three user accounts to easily share that PC with my family. Except for my user account, rest two accounts do not have a password. So, I can easily access other accounts, if required.
Recently I noticed that the “C” drive was running out of free space and so decided to free up some disk space by emptying Recycle Bin and then deleting other junk files on my desktop. To empty Recycle Bin present in other accounts, I decided to use a good old command that lets you quickly empty Recycle Bin from all user accounts in a jiffy.
The command comes in handy if you are the administrator of a multi-user Windows 7 or Windows 8 computer. In this guide, I will show you how to use the Command Prompt to quickly empty Recycle Bin from all user accounts:
IMPORTANT: Use this command with caution. Executing wrongly typed command may cause damage to your system and data.
Delete Recycle Bin data from all user accounts
Step 1: Launch elevated Prompt. To do this, type CMD in the Start menu search box and simultaneously press Ctrl + Shift + Enter keys. Windows 8 users can simply type CMD in the Start screen and then press Ctrl + Shift + Enter to launch Command Prompt with admin rights.
Step 2: In the elevated prompt, type the following command:
rd /s c:\$Recycle.Bin
(In the above command, “c” is your Windows drive)
Press enter key.
Press Y key to confirm and empty Recycle Bin. You are done! Type Exit and press enter key again to close the Prompt.
There might be some other third-party tools to do this job, but this is the easiest way to empty Recycle Bin and free up some disk space. We tested this command in Windows 8 as well and can confirm that it works!
Where is the Recycle Bin in Windows 10? 9 ways to open it
The Windows 10 Recycle Bin is a second chance to recover files or folders you previously deleted from your computer or device. But to locate any discarded items, you first need to open the Recycle Bin folder. This tutorial answers the question “Where is the Recycle Bin in Windows 10?”, letting you choose the most comfortable of these nine ways to reach the Windows 10 Recycle Bin location:
1. Use the Recycle Bin shortcut from the Windows 10 Desktop
By default, the Windows 10 Recycle Bin should be present in the upper-left corner of your Desktop. We find this the easiest way to access the Recycle Bin. Find the icon on your Desktop, then either select it and press Enter on your keyboard, or double-click or double-tap on it to open the folder. Alternatively, you can also right-click or press-and-hold on the icon to open a contextual menu. Click or tap on Open.
TIP: If the Recycle Bin icon is not shown on your Desktop, we included some ways to recover it in our tutorial: The Windows 10 Recycle Bin: All you need to know.
2. Search Windows 10 for the Recycle Bin
You can always count on the Windows 10 search to bring back the appropriate results. Insert “recycle bin” in your taskbar’s search field, and then click or tap on the appropriate result or on Open from the right side of the search box.
3. Open the Recycle Bin using its Start Menu shortcut
While, by default, the Recycle Bin doesn’t have a Start Menu shortcut, you can pin it there just like you would any other shortcut.
Right-click or press-and-hold on the Recycle Bin icon on your Desktop, and then click or tap on “Pin to Start.“
Your new shortcut is added to the tile section of the Start Menu, and you can now use it to open the Windows 10 Recycle Bin.
4. Use File Explorer’s address bar to open the Windows 10 Recycle Bin
The Windows 10 Recycle Bin location can be reached using File Explorer, by following the next steps. Open File Explorer and click or tap on an empty area in your address bar to edit it.
Type “recycle bin” in the address bar, and then hit Enter on your keyboard or click or tap on the Recycle Bin result displayed underneath to access the folder.
You can also click or tap on the first “>” (greater than sign) from File Explorer’s address bar.
This opens a menu where you can access the Recycle Bin by clicking or tapping on it.
Alternatively, select the Desktop option from the menu.
This opens the Desktop folder, from which you can also access the Recycle Bin.
NOTE: Keep in mind that the Desktop folder displays the Recycle Bin and the other locations regardless of whether they’re actually visible on your Windows 10 Desktop. If having them on your Desktop sounds like a good idea, read How to restore default Windows shortcuts and their icons.
5. Open the Windows 10 Recycle Bin from File Explorer
All the files you delete are displayed in the main Recycle Bin folder, but each partition of your hard drive has a Recycle Bin. You can use this folder to access the Windows 10 Recycle Bin, but the process is a bit more complicated.
First, make sure that you can see the hidden system protected files in Windows 10. Then, use File Explorer to access This PC > Windows (C:). A folder called $Recycle.Bin is displayed. Open it.
NOTE: The Recycle Bin is displayed on all the drives of your PC, not only on C:, so the path we used could easily become This PC > D:.
When you open the $Recycle.Bin folder, you can see the Windows 10 Recycle Bin folder.
6. Access the Recycle Bin location using the Run window
You can also use the Run window to access the Windows 10 Recycle Bin location. First, use the keyboard shortcut Win + R or another way to open Run. Then, insert the command shell:desktop and either press the Enter key, or click or tap the OK button.
If the Desktop window that opens next looks familiar, that’s because we also accessed it from File Explorer’s address bar in the fourth section of this tutorial. You can see the Windows 10 Recycle Bin displayed in it.
You can also open the Windows 10 Recycle Bin directly from the Run window by inserting a slightly longer command: shell:RecycleBinFolder.
Press OK or Enter on your keyboard, and the Recycle Bin immediately opens.
7. Use File Explorer’s Quick access to open the Windows 10 Recycle Bin
If you use File Explorer often, you might want to open the Windows 10 Recycle Bin more easily from it. You can create a Recycle Bin shortcut in File Explorer’s Quick access. Grab the Recycle Bin icon by pressing-and-holding on it, and then drag and drop it onto the File Explorer’s shortcut displayed on your taskbar. The “Pin to File Explorer” message is displayed.
You can then see a pane with your Pinned and Frequent locations. The Recycle Bin is added to the list.
You can now open the Windows 10 Recycle Bin from the Quick access shortcuts in File Explorer.
8. Access the Recycle Bin from its taskbar shortcut
In Windows 10, you can create a shortcut for the Recycle Bin and pin it to the taskbar. The process is a bit complicated, and we go over it in detail in 9 ways to pin shortcuts to the Windows 10 taskbar.
9. Open the Recycle Bin from PowerShell
You can also start PowerShell, and type the command: start shell:RecycleBinFolder. Don’t forget to press Enter on your keyboard, and the Recycle Bin is opened in File Explorer.
How do you prefer to access the Windows 10 Recycle Bin?
We prefer using our Desktop shortcut to interact with the Recycle Bin folder. However, we do sometimes use File Explorer’s address bar to reach the Windows 10 Recycle Bin location also. What about you? Which way to access the Recycle Bin do you prefer? Let us know in a comment below.