Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


How do I remove the delete file confirmation on network shares

  • Please log in to reply
2 replies to this topic

#1 KayJayDK


  • Members
  • 28 posts
  • Local time:11:07 AM

Posted 15 July 2014 - 01:36 PM

I have encountered an annoyance in Winddows 8.1. Whenever I delete a file from my network shares I get the confirmation prompt, if I really want to delete this file (or folder). I have, of course, unticked the option for the prompt in my Recycle Bin settings but it only affects the local drive.


Surprisingly, I haven't been able to find a solution anywhere but I found a lot of instructions how to enable the Recycle Bin prompt.

BC AdBot (Login to Remove)


#2 dc3


    Bleeping Treehugger

  • Members
  • 30,690 posts
  • Gender:Male
  • Location:Sierra Foothills of Northern Ca.
  • Local time:02:07 AM

Posted 15 July 2014 - 04:25 PM

The following is a direct quote from the Windows server website.


I hope this provides some additional insight.


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.

Family and loved ones will always be a priority in my daily life.  You never know when one will leave you.





#3 KayJayDK

  • Topic Starter

  • Members
  • 28 posts
  • Local time:11:07 AM

Posted 16 July 2014 - 03:02 AM

Thank you for a very comprehensive answer.
I have mapped several network drives on different NAS servers and on Windows 7 I had done exactly what you described. I had moved the location of the 'known folders' (as the special user folders are named in the registry) to one of my mapped drives. I didn't do that on the windows 8 installation or else it would have given me a clue.

Moving the location of one of those folders to a network folder, does indeed give that folder and subfolders their own recycle bin folder (something that was annoying me on windows 7).


Now, that I knew what to look for, I found a more elaborate, but elegant, way to achieve the same effect from this post http://social.technet.microsoft.com/Forums/en-US/a349801f-398f-4139-8e8b-b0a92f599e2b/enable-recycle-bin-on-mapped-network-drives.

You create some new, unique known folders in the registry and add then to the recycle bin list.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users