Policy
Display confirmation dialog when deleting files
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2003, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista, WindowsXP
Allows you to have File Explorer display a confirmation dialog whenever a file is deleted or moved to the Recycle Bin. If you enable this setting, a confirmation dialog is displayed when a file is deleted or moved to the Recycle Bin by the user. If you disable or do not configure this setting, the default behavior of not displaying a confirmation dialog occurs.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ConfirmFileDelete | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- UserAllow only per user or approved shell extensionsAt least Windows 2000
- ComputerAllow the use of remote paths in file shortcut iconsAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerConfigure Windows Defender SmartScreenAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerDisable binding directly to IPropertySetStorage without intermediate layers.At least Windows Vista
- UserDisable binding directly to IPropertySetStorage without intermediate layers.At least Windows Vista
- UserDisable Known FoldersAt least Windows Server 2008 R2 or Windows 7
- UserDisplay the menu bar in File ExplorerAt least Windows Vista
- UserDo not allow Folder Options to be opened from the Options button on the View tab of the ribbonAt least Windows 2000
- ComputerDo not apply the Mark of the Web tag to files copied from insecure sourcesAt least Windows Server 2012, Windows 8 or Windows RT
- UserDo not display the Welcome Center at user logonWindows Vista only
- UserDo not move deleted files to the Recycle BinAt least Windows Server 2003 operating systems or Windows XP Professional
- ComputerDo not reinitialize a pre-existing roamed user profile when it is loaded on a machine for the first timeAt least Windows Server 2012, Windows 8 or Windows RT