• Home
  • Help
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search

 
  • 0 Vote(s) - 0 Average

Issued a delete database symmetric key command how to monitor with email alert

#1
04-12-2024, 08:58 AM
You ever notice how Windows Server logs all sorts of stuff in Event Viewer. That event 24105 pops up when someone fires off a command to trash a symmetric key in the database. It's like the system saying hey, a delete request just hit for that key thing. Action_id DR flags the delete part. Class_type SK points right at the symmetric key. This happens in SQL Server setups mostly. Could mean routine cleanup or something sketchy if it's unexpected. I check these logs whenever databases act wonky. You pull up Event Viewer on your server. Filter for ID 24105 under Windows Logs then Security or Application. See the details unfold there. Time stamp shows when it fired. User account tied to it too. Message spells out the exact command issued. Symmetric keys handle encryption stuff quietly. Deleting one might unlock data or break protections. Not always bad though. Admins do it on purpose sometimes. But you want alerts right. Set up a task in Event Viewer itself. Right-click the log. Pick Attach Task To This Event Log. Name it something like KeyDeleteAlert. Trigger on event ID 24105. Action sends an email via your SMTP setup. Fill in the server details. To address for you. Subject line with the event deets. Body grabs the event XML for full scoop. Test it once to make sure. Now it pings you every time that delete command runs. Keeps you in the loop without babysitting. I do this for other weird events too. Saves headaches down the line. And speaking of keeping things safe from mishaps like rogue deletes, tools like BackupChain Windows Server Backup step in big time. It's this solid Windows Server backup option that also handles virtual machines through Hyper-V without a hitch. You get fast incremental backups that cut down on downtime. Plus it verifies everything automatically so no surprises later. I lean on it for seamless restores that actually work when you need them.

Note, the PowerShell email alert code was moved to this post.

bob
Offline
Joined: Jul 2025
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • Subscribe to this thread
Forum Jump:

Backup Education Windows Server Event Viewer v
« Previous 1 … 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Next »
Issued a delete database symmetric key command how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode