Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Tip: Network Recycle bin

  1. #11
    MDL Guru
    Join Date
    24 Jul 2008
    Location
    Island
    Posts
    5,468
    Thanks Information

    Default

    That would copy the deleted file to local machine Recycle Bin, right?
    Which would be far from acceptable...

    sebus
    Last edited by sebus; 14 Nov 2015 at 23:40.

  2. #12
    MDL Novice
    Join Date
    06 Oct 2016
    Posts
    1
    Thanks Information

    Default Strange anomaly

    Quote Originally Posted by rusabus View Post
    edit: I've written a much better version of this guide and posted it to the technet forums. The improved version allows you to protect any arbitrary mapped drive without relying on folder redirection. social.technet.microsoft.com/Forums/windows/en-US/a349801f-398f-4139-8e8b-b0a92f599e2b/enable-recycle-bin-on-mapped-network-drives?forum=w8itpronetworking

    You may have noticed that when you delete a file stored on a network location or mapped network drive that the file is permanently deleted. It does not go to the local computer's recycle bin and does not go to the server's recycle bin. I have discovered a work-around that extends recycle bin coverage to include mapped network drives. The solution is not 100% perfect, but works extremely well and does not rely on Shadow Copies or 3rd-party software.

    Here's how:
    1. Map a network drive to the network share you want to use. Make sure that the drive is re-connected on logon. If you don't know how to do this, search Google.
    2. Browse to C:\users\<user name>.
    3. Right-click on one of the folders in this location (I chose saved games) and click properties.
    4. Select the Location tab.
    5. Click Move, browse to to root of the drive you mapped in step 1, and click Select Folder.
    6. Click Ok and click yes in the dialogue box that appears.
    7. Repeat these same steps for all users on the computer.

    You can now verify that the network drive is protected by the recycle bin by right-clicking on the recycle bin and clicking properties. The network drive should be listed in the Recycle Bin Locations column.

    Some warnings:
    1. This only protects files accessed through the mapped network drive, and not by UNC paths. So for example, if you mapped \\server\share to z:, and delete something off the z drive, it will go to the recycle bin. However, if you browse to \\server\share and delete a file, it will be deleted directly.
    2. I don't know what will happen if your network drive is not available, so beware. This may not work well with laptops.
    3. What ever files that were supposed to be stored in the folder you select in step 3 will now be stored on your mapped network drive by default. This can actually be quite useful.

    Future goals:
    I don't currently know how to add this functionality to additional folders. As far as I can tell, only folders stored in C:\users\<user name> get this functionality. I'm still looking into this, but will update this post if I find additional information.

    --Russel

    Hi Russel,

    I have followed your excellent guide and it really saved the day for me.

    The workstation is Win 7 64 and I moved unused "My Music" and "Contacts" across to the two mirrored sets of drives on a Win 2008 R2 server - thus preserving the Recycle Bin option.

    However, yesterday, about a week after the above moves I discovered a strange anomaly on the server. When accessing the server using Remote Desktop Connection I noticed that Drive C: had 'lost' my web server folder and Drive D 'lost' my master data folder. Strangely, the correctly mapped folders were still visible and running fine when accessed via the workstation.

    After the panic subsided.... I discovered that each 'missing' folders had mysteriously assumed the name of the moved folder on both drive sets - i.e Web became My Music and Master Data had assumed the identity of Contacts.

    Cobian Backup is installed on the server and scheduled backups are running fine so it is still seeing the correct paths.

    I have subsequently renamed the moved folders but that might have been a foolish thing to do, perhaps.

    Normally the server is considered a hallowed place and system changes are very infrequent and carefully considered. The only change yesterday was upgrading MS OneDrive to 1Tb but it is only backing up a trial dataset at present.

    I wonder if there are any others who have experienced this phenomenon and would appreciate any guidance. Alternatively a recommendation as to where to ask. I must add that I am a programmer and not greatly experienced in server management!

  3. #13
    MDL Novice
    Join Date
    29 Jan 2017
    Posts
    21
    Thanks Information
    Last edited by Scr4tch; 17 Feb 2017 at 09:33.

  4. #14
    MDL Novice
    Join Date
    18 Feb 2017
    Posts
    1
    Thanks Information

    Default How can i undo it?

    Quote Originally Posted by rusabus View Post
    edit: I've written a much better version of this guide and posted it to the technet forums. The improved version allows you to protect any arbitrary mapped drive without relying on folder redirection. social.technet.microsoft.com/Forums/windows/en-US/a349801f-398f-4139-8e8b-b0a92f599e2b/enable-recycle-bin-on-mapped-network-drives?forum=w8itpronetworking

    You may have noticed that when you delete a file stored on a network location or mapped network drive that the file is permanently deleted. It does not go to the local computer's recycle bin and does not go to the server's recycle bin. I have discovered a work-around that extends recycle bin coverage to include mapped network drives. The solution is not 100% perfect, but works extremely well and does not rely on Shadow Copies or 3rd-party software.

    Here's how:
    1. Map a network drive to the network share you want to use. Make sure that the drive is re-connected on logon. If you don't know how to do this, search Google.
    2. Browse to C:\users\<user name>.
    3. Right-click on one of the folders in this location (I chose saved games) and click properties.
    4. Select the Location tab.
    5. Click Move, browse to to root of the drive you mapped in step 1, and click Select Folder.
    6. Click Ok and click yes in the dialogue box that appears.
    7. Repeat these same steps for all users on the computer.

    You can now verify that the network drive is protected by the recycle bin by right-clicking on the recycle bin and clicking properties. The network drive should be listed in the Recycle Bin Locations column.

    Some warnings:
    1. This only protects files accessed through the mapped network drive, and not by UNC paths. So for example, if you mapped \\server\share to z:, and delete something off the z drive, it will go to the recycle bin. However, if you browse to \\server\share and delete a file, it will be deleted directly.
    2. I don't know what will happen if your network drive is not available, so beware. This may not work well with laptops.
    3. What ever files that were supposed to be stored in the folder you select in step 3 will now be stored on your mapped network drive by default. This can actually be quite useful.

    Future goals:
    I don't currently know how to add this functionality to additional folders. As far as I can tell, only folders stored in C:\users\<user name> get this functionality. I'm still looking into this, but will update this post if I find additional information.

    --Russel
    hi Rusabus,

    How can I undo that? I need to do it in a differet folder??

    Thanks a lot

    Juan

Similar Threads

  1. Replies: 1
    Last Post: 22 Jul 2014, 03:58
  2. Bug with external HDD and recycle bin
    By coleoptere2007 in forum Windows 8
    Replies: 7
    Last Post: 10 May 2013, 20:31
  3. Small Recycle Bin Problem
    By Marucins in forum Windows 7
    Replies: 2
    Last Post: 13 Jul 2012, 17:54
  4. Recycle Bin Sort by Name Bug
    By hellcry in forum Windows 7
    Replies: 2
    Last Post: 20 Aug 2010, 05:06
  5. Can Anybody help with $Recycle.Bin
    By bijusebsa in forum Windows Vista
    Replies: 3
    Last Post: 26 May 2010, 20:22

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •