Published by


Brink's Avatar
Administrator

Posts: 24,467

Show Printable Version 


How to Customize Delete Confirmation Dialog Prompt Details in Windows

information   Information
When you delete a single file or folder, the delete confirmation dialog displays basic details (metadata) like the file or folder name, date created, file type, and date modified by default, but will vary with each file type.

A prop: value indicates a individual property or metadata within the Windows Property System that can be set on files/folders. You can customize the prop: value for the delete confirmation dialog to show any file and folder details you like in the prompt. The details you set to show in the prompt will only show if the property or metadata is available for the deleted file or folder.

This tutorial will show you how to customize the delete confirmation dialog to show any file and folder details you want in the prompt for all users in Vista, Windows 7, Windows 8, and Windows 10.

You must be signed in as an administrator to be able to customize what file/folder details show in the delete confirmation dialog.


CONTENTS:
  • Option One: To Customize Delete Confirmation Dialog Prompt Details using a REG file
  • Option Two: To Customize Delete Confirmation Dialog Prompt Details in Registry Editor



EXAMPLE: File or Folder default and full details in Delete confirmation dialog
Click image for larger version. 

Name:	Delete_access_denied_prompt.png 
Views:	173 
Size:	32.9 KB 
ID:	57213
Click image for larger version. 

Name:	Delete_image_file_prompt.png 
Views:	149 
Size:	54.2 KB 
ID:	57215
Click image for larger version. 

Name:	Delete_folder_prompt.png 
Views:	176 
Size:	41.1 KB 
ID:	57214






Customize Delete Confirmation Dialog Prompt Details in Windows OPTION ONE Customize Delete Confirmation Dialog Prompt Details in Windows
To Customize Delete Confirmation Dialog Prompt Details using a REG file

Note   Note
This option does the same thing as Option Two below, but automatically sets the prompt to show full details using the prop: values and order below:

System.PropGroup.FileSystem
System.ItemNameDisplay
System.ItemTypeText
System.ItemFolderPathDisplay
System.Size
System.DateCreated
System.DateModified
System.FileAttributes
System.OfflineAvailability
System.OfflineStatus
System.SharedWith
System.FileOwner
System.ComputerName


1. Do step 2 (full) or step 3 (default) below for what you would like to do.


 2. To Show Full Details in Delete Confirmation Dialog Prompt

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Show_Full_Details_to_Delete_Confirmation_Prompt.reg

download


 3. To Show Default Details in Delete Confirmation Dialog Prompt

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Show_Default_Details_from_Delete_Confirmation_Prompt.reg

download

4. Save the .reg file to your desktop.

5. Double click/tap on the downloaded .reg file to merge it.

6. If prompted, click on Run, Yes (UAC), Yes, and OK to approve the merge.

7. You can now delete the downloaded .reg file if you like.






Customize Delete Confirmation Dialog Prompt Details in Windows OPTION TWO Customize Delete Confirmation Dialog Prompt Details in Windows
To Customize Delete Confirmation Dialog Prompt Details in Registry Editor

Note   Note
If you need any help with this option, then please feel free to post what you need help with in this tutorial thread. I'll be happy to help.


1. Press the Win+R keys to open Run, type regedit, and click/tap on OK to open Registry Editor.

2. If prompted by UAC, click/tap on Yes.

3. In Registry Editor, browse to the key location below. (see screenshot below)

HKEY_CLASSES_ROOT\AllFilesystemObjects

Click image for larger version. 

Name:	FileOperationPrompt-1.png 
Views:	234 
Size:	62.8 KB 
ID:	57216

4. Do step 5 (default) or step 6 (custom) below for what you would like to do.


 5. To Show Default Details in Delete Confirmation Dialog Prompt

A) In the right pane of the AllFilesystemObjects key, right click or press and hold on the FileOperationPrompt string value, and click/tap on Delete. (see screenshot below step 3)

B) Click/tap on Yes to confirm, and go to step 7 below. (see screenshot below)

Name:  FileOperationPrompt-3.png
Views: 1769
Size:  6.5 KB


 6. To Show Custom Details in Delete Confirmation Dialog Prompt

A) In the right pane of the AllFilesystemObjects key, double click/tap on the FileOperationPrompt string value to modify it. (see screenshot below step 3)
Note   Note
If you don't have the FileOperationPrompt string value (you don't by default), then right click or press and hold on an empty area in the right pane of the AllFilesystemObjects key, click/tap on New, click/tap on String Value, type FileOperationPrompt, and press Enter.


B) Type the data value below for the property values you want with each separated by a semicolon ; in the order you want them to show, click/tap on OK, and go to step 7 below. (see screenshot below)

prop:value 1;value 2; etc....

Name:  FileOperationPrompt-2.png
Views: 1766
Size:  6.1 KB

Note   Note
Substitute value # in the value above with the actual properties you want.

The link below at Microsoft will give you a full list of Windows properties that you can use. Click on a property type (ex: System) link at the link below to see a full list of individual properties (ex: System.ItemNameDisplay) for that type to use.

Windows Properties (Windows)


For example: The Show_Full_Details_to_Delete_Confirmation_Prompt.reg file from Option One above uses the data value below.

prop:System.PropGroup.FileSystem;System.ItemNameDisplay;System.ItemTypeText;System.ItemFolderPathDisplay;System.Size;System.DateCreated;System.DateModified;System.FileAttributes;System.OfflineAvailability;System.OfflineStatus;System.SharedWith;System.FileOwner;System.ComputerName



7. When finished, you can close Registry Editor if you like.



That's it,
Shawn