Tech

Guides
 

Bypass the Recycle Bin when deleting files

By Scott Lowe, Special to ZDNet Asia
Tuesday, August 29, 2006 09:56 AM
If you don't clean out the Recycle Bin every once in a while, the files can produce erroneous free disk space reports. If you're sure you no longer need the file, it's sometimes better to skip the Recycle Bin altogether. Scott Lowe shares three methods for deleting files without first sending them to the Recycle Bin.
The Recycle Bin exists in Windows for a very good reason--people make mistakes. However, files in the Recycle Bin still take up space. If you don't clean out the Recycle Bin every once in a while, these files can produce erroneous free disk space reports.

Windows Server 2003 offers a couple methods for deleting files without first sending them to the Recycle Bin. Be aware, however, that using these methods really deletes the files immediately.

The easiest way is to press the [Shift] key while you delete a file. You can also modify the way the system handles file deletion via Group Policy. Follow these steps:

  1. Go to Start | Run, enter gpedit.msc at the command prompt, and click OK.
  2. Select User Configuration | Administrative Templates | Windows Components | Windows Explorer.
  3. Find the Do Not Move Deleted Files To The Recycle Bin entry.
  4. Change Not Configured or Disabled to Enabled.

You can also modify this behavior by editing the registry. Follow these steps:

  1. Open the Registry Editor (Regedit.exe).
  2. Navigate to HKEY_CURRENT_USER\ Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.
  3. Add a DWORD value named NoRecycleFiles, and give it a value of 1.
  4. Close the Registry Editor, and restart the system for the change to take effect.

Note: Editing the registry is risky, so be sure you have a verified backup before making any changes.



WORTHWHILE?

0

0 votes
Blog

Talkback 0 comments

There are currently no comments for this post.


Guest user

Guest user

Level: 
Joined: —
Already a member? Log in »



 

Loading...

Whitepapers/Case Studies

Downloads

Windows Server News



Tech Jobs Now!

Tags

  1. domain controller
  2. environment
  3. group policy
  4. hardware
  5. infrastructure / architecture management
  6. microsoft server 2003
  7. microsoft windows
  8. microsoft windows active directory
  9. microsoft windows powershell
  10. microsoft windows server
  11. microsoft windows server 2008
  12. network
  13. ohio
  14. rick vanover
  15. server
  16. server platforms
  17. servers
  18. storage
  19. tool
  20. virtualization