Track Who Deleted a Folder on Windows Server
Track Who Deleted a Folder on Windows Server
1. Ensure Audit Object Access Is Enabled
On the system where the folder existed:
Open Group Policy Editor (
gpedit.msc
)Navigate to:
Computer Configuration > Windows Settings > Security Settings > Local Policies > Audit Policy
Enable:
Audit object access (Set to Success and Failure)
Run
gpupdate /force
in Command Prompt to apply changes.
Note: This must have been enabled before the deletion to capture the event.
2. Set Auditing on the Specific Folder
(Only works if set before the deletion)
Right-click the folder
Test Folder
→ PropertiesGo to Security > Advanced > Auditing
Add an audit entry for:
Everyone or specific users
Delete and Delete Subfolders and Files
3. Check the Event Viewer Logs
Open Event Viewer (
eventvwr.msc
)Go to:
Windows Logs > Security
Look for:
Event ID 4660 – Object deleted
Event ID 4656 – Access attempt (including delete)
Event ID 4663 – Access to an object (file/folder)
Use filters or search for keywords like:
Test Folder
The “Subject” field shows which user performed the deletion.
If Auditing Was Not Enabled Before
Unfortunately, if auditing wasn’t enabled before the folder was deleted, you won’t be able to see who deleted it using built-in logs.
Last updated
Was this helpful?