Page 2 of 3 FirstFirst 123 LastLast
  1.    03 Aug 2017 #10
    Join Date : Oct 2013
    Posts : 25,267
    64-bit Windows 10 Pro build 17046
    Thread Starter

    Thank you DMD.

    The values for that will vary depending on the selected drive, and will not always be the same everyone.
      My ComputersSystem Spec
  2.    03 Aug 2017 #11
    Join Date : Aug 2015
    Posts : 14
    W10 Pro 64 bit b15063

    The key only affects the current user, but I have verified that the selection remains active even on other HDDs.
    If you want you can try to give a confirmation.

    Thank you

      My ComputerSystem Spec
  3.    03 Aug 2017 #12
    Join Date : Oct 2013
    Posts : 25,267
    64-bit Windows 10 Pro build 17046
    Thread Starter

    I tested it on a few of my other systems, and the data value for "ShellState" varied on all of them. In addition, "ShellState" includes other settings than this one.

    If you have another PC to test on, you'll notice the data value will not be the same.

    This would be fine to export and import for a specific PC, but it just wouldn't be good to import on all systems.
      My ComputersSystem Spec
  4.    04 Aug 2017 #13
    Join Date : Aug 2015
    Posts : 14
    W10 Pro 64 bit b15063

    Thank you for your confirmation.
    A better solution is to act through the policy command
    Value "1" On and value "0" off

    Code:
    @echo off
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "ConfirmFileDelete" /t REG_DWORD /d "1" /f
    taskkill /im explorer.exe /f & explorer.exe
    exit
      My ComputerSystem Spec
  5.    04 Aug 2017 #14
    Join Date : Oct 2013
    Posts : 25,267
    64-bit Windows 10 Pro build 17046
    Thread Starter

    Quote Originally Posted by DMD View Post
    Thank you for your confirmation.
    A better solution is to act through the policy command
    Value "1" On and value "0" off

    Code:
    @echo off
    reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "ConfirmFileDelete" /t REG_DWORD /d "1" /f
    taskkill /im explorer.exe /f & explorer.exe
    exit

    Actually:

    Allows you to have File Explorer display a confirmation dialog whenever a file is deleted or moved to the Recycle Bin.

    If you enable ("1") this setting, a confirmation dialog is displayed when a file is deleted or moved to the Recycle Bin by the user.

    If you disable ("0") or do not configure (delete "ConfirmFileDelete") this setting, the default behavior of not displaying a confirmation dialog occurs. Basically, just whatever the user has set.

    (see option 2 and 3 below)
    Recycle Bin Delete Confirmation - Turn On or Off - Windows 7 Help Forums
      My ComputersSystem Spec
  6.    04 Aug 2017 #15
    Join Date : Jan 2017
    Posts : 77
    Windows 10

    A reg-file would be very welcome for emptying the recycle bin without confirmation in Win10............
      My ComputerSystem Spec
  7.    04 Aug 2017 #16
    Join Date : Oct 2013
    Posts : 25,267
    64-bit Windows 10 Pro build 17046
    Thread Starter

    Quote Originally Posted by pietcorus2 View Post
    A reg-file would be very welcome for emptying the recycle bin without confirmation in Win10............
    @pietcorus2,

    If you like, I just created a new tutorial for a "Empty Recycle Bin" context menu that has an option to empty the Recycle Bin without confirmation.

    Add Empty Recycle Bin to Context Menu in Windows 10 Windows 10 Customization Tutorials
      My ComputersSystem Spec
  8.    04 Aug 2017 #17
    Join Date : Jan 2017
    Posts : 77
    Windows 10

    We only want to empty without any asking , better no context-menu.....
      My ComputerSystem Spec
  9.    04 Aug 2017 #18
    Join Date : Oct 2013
    Posts : 25,267
    64-bit Windows 10 Pro build 17046
    Thread Starter

    Quote Originally Posted by pietcorus2 View Post
    We only want to empty without any asking , better no context-menu.....

    You can't stop the confirmation to empty the Recycle Bin.

    However, you use the .bat file below that uses the command from Option Six in the tutorial below to do so as a workaround.

    Empty Recycle Bin.bat

    PowerShell Clear-RecycleBin -force -ErrorAction:Ignore

    Empty Recycle Bin in Windows 10 Windows 10 Performance Maintenance Tutorials
      My ComputersSystem Spec
  10.    04 Aug 2017 #19
    Join Date : Jan 2017
    Posts : 77
    Windows 10

    Thanks Brink , its very nice if you can manage your OS the way you like it...............
      My ComputerSystem Spec

 
Page 2 of 3 FirstFirst 123 LastLast


Similar Threads
Tutorial Category
Disable Permanently Delete Files confirmation
I want to disable the Permanently Delete Files confirmation How i Can do that?
General Support
windows taskbar flickering after delete something to empty recycle
So, when I delete folders or files from desktop or other palces my taskbar icons flicker. And they flickr only if Recycle Bin is empty. if there are already icons in Recycle Bin there is no flickering. i do a lot of stuff and i need to prevent...
General Support
Solved Can't delete item in recycle bin.
What is this? How to fix? Long green progress bar that never finishes in explorer. 35702
General Support
Solved DELETE Recycle Bin & Contents in Windows 10 ??
I used Unlocker to get rid of ALL the "Protected" Files I had in C:\ temp folder from a NovaBackup Restore. ALL deleted files went into the Recycle Bin. I forgot to change setting in Recycle Bin Properties to Delete files and NOT save them. Well,...
General Support
Solved WINDOWS 10 always asks for delete confirmation.
I have unchecked delete confirmation in the recycle bin properties, but whenever I delete a file or folder on a removable drive or a network drive, the delete confirmation pops up. This does not happen on Windows 7 or 8.
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 17:12.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums