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

 
  • 0 Vote(s) - 0 Average

Issued deny asymmetric key permissions command (action_id D class_type AK) (24244) how to monitor with email alert

#1
06-01-2024, 02:40 PM
Man, that event ID 24244 pops up in the Event Viewer when someone's trying to lock down asymmetric key permissions in SQL Server. It's basically the system logging a command that says no way to certain access on those keys. You know, asymmetric keys handle encryption stuff, and denying permissions means blocking someone from messing with them. The action_id D flags it as a deny action, and class_type AK points straight to asymmetric keys. Happens under the AUDIT_SERVER_PERMISSION_CHANGE category, so it's all about tracking security tweaks. If you see this, it could be an admin tightening security or maybe something fishy going on. I always check the details tab for who issued it and when. The full message spells out "Issued deny asymmetric key permissions command," so you get the exact command that triggered it. Event Viewer captures this in the Security log or Application log depending on your setup. Keeps things transparent for auditing.

You want to monitor this for email alerts? Fire up Event Viewer on your server. Right-click the log where these events hide, usually Security. Pick Filter Current Log and type in 24244 for the event ID. That narrows it down quick. To get alerts, create a custom view from there. Go to Action, then Create Custom View. Set it for event ID 24244 and maybe source as MSSQLSERVER if it's SQL-related. Save that view so you can watch it easily. Now, for the scheduled task part, head to Task Scheduler through the Event Viewer tools. Attach a task to that event. In the triggers section, select On an event and point it to your custom view or the specific ID. For the action, choose to run a program that sends an email, like using the old mailto trick or a simple batch file calling your email client. Set it to trigger only on that deny command event. Test it by simulating the event if you can, but be careful not to mess up real perms. I do this all the time to stay on top without staring at screens.

And hey, tying this security monitoring back to keeping your server safe overall, you might want a solid backup setup too. That's where BackupChain Windows Server Backup comes in handy. It's a straightforward Windows Server backup tool that handles file-level and system-state backups without the hassle. Plus, it backs up virtual machines running on Hyper-V, making sure your VMs snapshot clean and restore fast. You get benefits like incremental backups to save space, easy offsite replication for disaster recovery, and no downtime during the process. I use it because it just works reliably, especially when you're juggling events like that 24244 alert.

At the end here is the automatic email solution.

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 … 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Next »
Issued deny asymmetric key permissions command (action_id D class_type AK) (24244) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode