1. Pengenalan
The Recycle Bin is Windows’ built-in safety net for deleted files. As long as a file is still inside it, recovering it takes only a few clicks. This guide explains how to recover deleted files from Recycle Bin on Windows, including files on external, network, and OneDrive-synced locations.
1.1 Perkara yang Dicakupi oleh Panduan Ini
- Recovering files that are still in the Recycle Bin
- Restoring deleted files to their original location
- Retrieving deleted files to a new location when the original folder is missing
1.2 What This Guide Does Not Cover
- Files deleted with Beralih + Padam, which bypass the Recycle Bin entirely
- Files deleted or emptied from the Recycle Bin
- Files that exceeded the Recycle Bin storage limit and were permanently deleted
2. Recover Deleted Files from Recycle Bin
If the file was deleted from a local drive with the Padam key or the right-click Padam command, it goes straight to the Recycle Bin. Recovering it with the following 3 steps:
2.1 Open the Recycle Bin
Use any of the following methods:
- Klik dua kali Recycle Bin icon on the desktop
- Open File Explorer and enter Recycle Bin di bar alamat
- Jenis Recycle Bin into Windows Search and select it from the results
- Keratan Akhbar Menang + R, jenis shell:RecycleBinFolder, dan tekan Masukkan
2.2 Find the Deleted File or Folder
Once the Recycle Bin is open, locate the wanted items with one of these approaches:
- Type the file name into the search box in the top-right corner
- Klik Tarikh Dipadam column header to sort by the most recent deletions
- Periksa Lokasi Asal column to confirm the file came from the folder you expect
2.3 Restore Files or Folders
To restore one or more items:
- Select a single file, or hold Ctrl and click to select multiple files, or hold Beralih and click to select a range
- Right-click the selection and choose Simpan semula
- Open the original folder to confirm the file is back
To restore every item in the Recycle Bin at once, click Restore all items in the toolbar without selecting any individual file first.
3. Restore Deleted Files from Recycle Bin to a Different Location
. Simpan semula command always returns a file to its original folder. Some situations call for moving it somewhere else instead.
3.1 When You Should Use This Method
- The original folder no longer exists
- A new file with the same name already exists in the original folder
- You do not have permission to access the original folder
- You are not sure which folder the file came from
- You want to review the file before putting it back in its original place
3.2 Drag or Cut the File Out of Recycle Bin
To move a file out of the Recycle Bin to a folder of your choice:
- Open the Recycle Bin
- Select the file or folder to be restored.
- Use one of the following methods to move the file or folder to the target folder:
- Drag it directly into the target folder window
- Keratan Akhbar Ctrl + X to cut it, open the target folder, and press Ctrl + V to paste it
- Right-click the selection and select Potong, open the target folder, right-click and select Inti to paste it
4. Recovering Files from Recycle Bin on External, Network and Cloud Drives
Langkah-langkah masuk Seksyen 2 assume the file was deleted from your computer’s main drive. External, network, and cloud-synced storage behave differently.
4.1 External Hard Drives and USB Flash Drives
Windows treats external hard drives (including SSDs connected over USB) the same as internal drives: each one gets its own hidden Recycle Bin folder by default. Removable media such as USB flash drives and SD cards are treated differently and do not get a Recycle Bin by default, so files deleted from them are removed immediately.
4.1.1 Enabling Recycle Bin Support for the Drive
For an external hard drive, confirm Recycle Bin support is turned on:
- Klik kanan pada Recycle Bin icon on the desktop and select Hartanah
- Dalam Recycle Bin Location list, select the row for the external drive. It only appears here once the drive is connected and has a drive letter
- Di bawah Settings for selected location, pastikan Saiz tersuai is selected, not Don’t move files to the Recycle Bin. Remove files immediately when deleted
- Klik Memohon, Maka OK
Each drive keeps this setting independently, so an external drive can have Recycle Bin support turned off even while it stays on for the system drive.
For a USB flash drive or SD card, it will not appear in Recycle Bin Properties at all, because Windows does not create a Recycle Bin folder on removable media by default. Enabling it requires a registry edit:
- Keratan Akhbar Menang + R, jenis regedit, tekan Masukkan, and approve the prompt
- Navigasi ke HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer. Jika Explorer key does not exist under Polisi, Klik kanan Polisi, pilih Baru -> Utama, and name it Explorer
- Right-click an empty area in the right pane, select Baru -> Nilai DWORD (32-bit), and name it RecycleBinDrives
- Klik dua kali RecycleBinDrives, tetapkan Asas kepada Perenambelasan, masukkan ffffffff as the value data, and click OK
- Repeat steps 2 to 4 under HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer
- Mulakan semula komputer
To reverse the change, delete the RecycleBinDrives value from both locations. Because this involves editing the registry, create a restore point first, and consider whether relying on backups is simpler for drives you use only occasionally.
4.1.2 Restoring Files
Once Recycle Bin is enabled for the drive, restoring a file follows the same process described in Seksyen 2.3.
Deleting a file from a mapped network drive or a shared folder removes it directly from the server. It does not pass through your computer’s local Recycle Bin. But if a server-side recycle bin is enabled, you can recover deleted files from it.
4.2.1 Server-Side Recycle Bin (if enabled)
Some file servers enable Shadow Copies (Volume Shadow Copy Service), which lets you restore to earlier versions of a shared folder, so that you can recover deleted files with this feature:
- Right-click the parent folder on the network share and select Hartanah
- Buka Sejarah sebelumnya tab
- Select a version dated before the deletion and click Simpan semula
4.2.2 What to Do If No Server-Side Recycle Bin Exists
Jika Sejarah sebelumnya tab is empty or unavailable, the share has no snapshot-based recovery configured. Contact your network administrator to check whether the server has its own backup schedule.
4.3 OneDrive Recycle Bin (Cloud-Synced Folders)
OneDrive-synced folders can involve two separate Recycle Bins: the local Windows Recycle Bin and the web-based OneDrive Recycle Bin. Which one holds your file depends on where the deletion happened.
4.3.1 Local Deletion of a Synced File (Goes to Both Local and Web Recycle Bin)
If you delete a synced file from File Explorer on your PC, it goes to the local Recycle Bin exactly as described in Seksyen 2, and the OneDrive sync client also mirrors the deletion to the cloud, so the file becomes recoverable from the OneDrive web Recycle Bin as well.
4.3.2 Cloud-Initiated Deletion (Web Recycle Bin Only, Since May 2026)
If the file is deleted from the cloud side instead, for example through the OneDrive website or another synced device, the behavior changed since May 2026: Microsoft stopped sending cloud-initiated deletions to the local Windows Recycle Bin. A file removed this way disappears from your local folder without appearing in the local Recycle Bin, and recovery is only possible from the OneDrive or SharePoint web Recycle Bin.
4.3.3 Restoring from OneDrive.com
To restore a file from the OneDrive web Recycle Bin:
- Sign in at onedrive.live.com or onedrive.com
- pilih Tong kitar semula dalam anak tetingkap navigasi
- Select the file or folder and click Simpan semula
Personal Microsoft accounts keep deleted items for up to 30 days; work or school accounts keep them for up to 93 days.
5. Troubleshooting Recycle Bin Recovery Issues
5.1 Recycle Bin Icon Missing from Desktop
The Recycle Bin still exists even if its desktop icon has been hidden. To restore the icon:
- Right-click the desktop and select Peribadikan
- Buka Tema, Maka Tetapan ikon desktop
- daftar Recycle Bin dan klik OK
You can also open it directly by typing Recycle Bin in Windows Search, File Explorer or using Win + R, as described in Seksyen 2.1.
5.2 The File Is Not in the Recycle Bin
If your wanted files are not in the Recycle Bin, consider these causes:
- It was deleted from an external drive without Recycle Bin support (see Seksyen 4.1)
- It was deleted from a network drive (see Seksyen 4.2)
- It was deleted directly from OneDrive on the web (see Seksyen 4.3)
- It was permanently deleted, for example with Beralih + Padam, or the Recycle Bin has been emptied
If the file was permanently deleted, recovering it requires dedicated data recovery software, such as DataNumen Data Recovery, rather than the Recycle Bin. Stop saving new files to that drive first to reduce the chance the data gets overwritten.
5.3 Restore Option Grayed Out, Missing or Not Working
This usually happens when the selected items came from a location that no longer exists, or the Recycle Bin’s internal index is out of sync. Try these fixes:
- Restart File Explorer: use Ctrl + Alt + Del to open Task Manager, right-click Windows Explorer, And select restart
- Restore items one at a time instead of as a batch
- If Simpan semula still does not appear, drag the file out manually as described in Seksyen 3.2
5.4 “Access Denied” or Permission Errors When Restoring
This points to a permissions issue on the original folder, not the file itself. Check that:
- You are signed in with the same account that deleted the file
- The destination folder’s permissions still allow write access for your account
- File Explorer is not blocked by a policy on a managed or work computer
If the original folder’s permissions have changed, restore the file to a different location instead, following Seksyen 3.
5.5 Recycle Bin Appears Empty But I Don’t Empty It
Files can disappear from the Recycle Bin without anyone manually emptying it:
- Storage Sense may be configured to delete items automatically after a set number of days
- The Recycle Bin reached its size limit, so Windows purged the oldest items to make room (see Seksyen 6.1)
- Another account on a shared computer emptied it
- A Group Policy on a managed device enforces automatic emptying
5.6 Restored File Is Corrupted, Blank, or Won’t Open
Restoring only moves the file back; it does not repair it. If the file was already damaged before deletion, or if it was being written to at the moment it was deleted, it may still fail to open after restoration. In that case, the issue is file corruption, not a Recycle Bin problem, and needs a repair tool suited to that file format rather than another recovery attempt.
6. Managing and Configuring the Recycle Bin
6.1 Changing Recycle Bin Storage Size
Each drive has its own Recycle Bin allocation. To review or change it:
- Klik kanan pada Recycle Bin ikon dan pilih Hartanah
- Select a drive from the list of Recycle Bin locations
- Pilih Saiz tersuai dan masukkan a Saiz maksimum (MB), atau pilih Don’t move files to the Recycle Bin. Remove files immediately when deleted to disable it for that drive
- Klik OK
Windows also offers a separate, age-based cleanup option: go to Settings -> System -> Storage -> Storage Sense dan tetapkan Delete files in my recycle bin if they have been there for over a chosen number of days. The default retention period is hari 30.
6.2 Enabling the Delete Confirmation Dialog
Windows 11 does not show a confirmation prompt before moving files to the Recycle Bin by default. To turn it on:
- Klik kanan pada Recycle Bin ikon dan pilih Hartanah
- daftar Display delete confirmation dialog
- Klik OK
This setting does not prevent permanent deletions, such as Beralih + Padam or deletions from drives without Recycle Bin support.
6.3 Setting Files to Bypass the Recycle Bin (and Why to Avoid It)
Sama Don’t move files to the Recycle Bin. Remove files immediately when deleted option covered in Seksyen 6.1 can be applied to any drive to make every deletion permanent. This frees disk space immediately but removes the only quick-recovery option this guide describes, so it is best reserved for drives that hold no personal files, such as a dedicated scratch or temp volume.
7. Best Practices to Prevent Future Data Loss
7.1 Enable File History or a Backup Solution
The Recycle Bin only protects against accidental deletion, not drive failure or a Recycle Bin that has already been emptied. Turning on File History (Control Panel -> System and Security -> File History)
or a third-party backup tool adds a second layer of protection with its own version history.
7.2 Use Cloud Sync for Important Folders
Syncing Desktop, Documents, and Pictures to OneDrive or another cloud service gives you the web Recycle Bin described in Seksyen 4.3 as an additional recovery path, independent of the local Recycle Bin.
7.3 Double-Check Before Emptying the Recycle Bin
Sebelum klik Binatang Kitar Semula Kosong, sort by Tarikh Dipadam and scan for anything recent. Once it is emptied, the only remaining option is dedicated data recovery software, and success is not guaranteed.
8. Soalan Lazim
Q: Can I still recover a file after emptying the Recycle Bin?
A: Not through the Recycle Bin itself. At that point the file is marked as deleted at the file-system level but may still be physically present on the drive until overwritten. Tools such as DataNumen Data Recovery are built to scan for and reconstruct this kind of data. Stop using the drive as soon as possible to improve the odds of a successful recovery.
Q: Does Mac have something similar to the Windows Recycle Bin?
A: Yes, it is called Trash, and it works the same way: open Trash, right-click the file, and select Put Back. This guide covers the Windows Recycle Bin specifically.
Q: How long do files stay in the Recycle Bin before they are deleted automatically?
A: The local Recycle Bin has no fixed time limit by default; items are removed only when the size limit is reached or when Storage Sense is configured to purge old items (see Seksyen 6.1). The OneDrive web Recycle Bin does use a fixed window: 30 days for personal accounts and up to 93 days for work or school accounts (see Seksyen 4.3).
Q: Should I restore a file to its original location or to a new one?
A: Restoring to the original location (Seksyen 2) is simpler and preserves the file’s original path. Restore to a different location (Seksyen 3) instead if that original folder no longer exists or already contains a same-named file.
Q: Can I recover files deleted from a USB flash drive using the Recycle Bin?
A: Not by default. Flash drives and SD cards do not get a Recycle Bin folder unless you enable one manually, as explained in Seksyen 4.1.
Q: Why is the Restore option grayed out or missing?
A: This is usually caused by a missing original folder or an out-of-sync Recycle Bin index. See Seksyen 5.3 untuk pembaikan.
Q: What if the Recycle Bin is empty but I never emptied it?
A: Storage Sense, a reached size limit, another user account, or a Group Policy setting can all clear it automatically. See Seksyen 5.5.
Q: What software can recover files that are no longer in the Recycle Bin?
A: Dedicated data recovery software, such as DataNumen Data Recovery, scans the drive at a lower level to find data that the file system no longer references, which is not something the Recycle Bin interface itself can do.
Q: Does restoring a file guarantee that it will open correctly?
A: No. Restoring only returns the file to a folder; it does not fix any damage the file already had before or during deletion. See Seksyen 5.6.
9. kesimpulan
Recovering deleted files from the Recycle Bin is straightforward as long as the item is still there: open the Recycle Bin, find the file, and restore it. External drives, network shares, and OneDrive-synced folders each add their own conditions, and the troubleshooting and configuration sections above cover the situations where the standard restore process does not go as expected. If the file was permanently deleted or the Recycle Bin has already been emptied, dedicated data recovery software is the next step, not the Recycle Bin itself.
Mengenai Penulis
Qian Gua ialah pakar pemulihan data dengan lebih 10 tahun pengalaman dalam sistem fail Windows, teknologi storan dan penyelesaian pemulihan bencana. Beliau telah berjaya membimbing beribu-ribu pengguna melalui senario kehilangan data kritikal merentasi persekitaran peribadi dan perusahaan.
Qian pakar dalam metodologi pemulihan data Windows, analisis sistem fail dan strategi sandaran pencegahan. Pengalamannya yang luas termasuk memulihkan data daripada pemacu, melaksanakan penyelesaian sandaran yang komprehensif dan menyelesaikan masalah sistem fail yang kompleks merentasi NTFS, FAT, exFAT dan jilid ReFS. Beliau telah menggunakan pelbagai alatan dan teknik pemulihan, daripada utiliti Windows terbina dalam hingga perisian pemulihan data profesional.
Melalui penulisan teknikalnya, Qian berdedikasi untuk memperkasakan pengguna dengan pengetahuan praktikal untuk melindungi dan memulihkan data berharga mereka. Beliau sentiasa mengikuti perkembangan terkini dalam teknologi pemulihan fail Windows, inovasi peranti storan dan amalan terbaik perlindungan data. Apabila tidak membantu pengguna memulihkan fail merekaost files, Qian gemar menyelidik teknologi storan baharu dan berkongsi petua keselamatan data yang dapat mencegah kehilangan data pada masa hadapan.
Ada soalan tentang panduan ini atau memerlukan bantuan dengan pemulihan data? Qian mengalu-alukan maklum balas dan cadangan untuk menambah baik sumber pemulihan data ini.














