Hello there,
I am not sure of GPO but you can make use of CMD to achieve this.
Type the following command and press Enter.
fsutil behavior query disabledeletenotify
If the command returns DisableDeleteNotify = 1, the command is already disabled. If the command returns DisableDeleteNotify = 0, the command is enabled, and you need to disable it. Here's how to do it:
Type the following command and press Enter.
fsutil behavior set disabledeletenotify 1
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–