Hi Abdul Wakil Zamani,
You can use FSRM (built into Windows Server) with file management tasks or scripts.
Replace “delete” with “move to archive”. Create a scheduled file management task that:
Detects files flagged for deletion (via a classification property, or via special ACL trick). Moves them to \Shared_Deleted instead of purging.
==> SMB delete requests are hard to intercept natively — so you’d likely need a combination of permissions + scripts.
Or you can Change Delete Permissions → Replace with Move Process
Instead of giving “Delete” rights:
Deny Delete and Delete Subfolders and Files NTFS permissions. Grant users only Modify (minus delete). Provide them a simple script / context menu / PowerShell shortcut (or even a file explorer extension) that moves files into \Shared_Deleted.
This way, nobody can hard-delete from the live share, but they can archive files themselves. IT or managers can later purge \Shared_Deleted periodically.
For most orgs, the permission + archive model is the cleanest:
Remove “Delete” NTFS permission on the shared folders.
Train users to move unwanted files into a special _Deleted folder instead of deleting.
Periodically clean _Deleted (script or scheduled task).
Optionally, enable Shadow Copies for safety net recovery.
This way, you achieve the “no permanent delete” policy preventively, not just forensically.
=============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.