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

 
  • 0 Vote(s) - 0 Average

Issued a change column encryption key command (24321) how to monitor with email alert

#1
11-17-2024, 11:57 PM
I remember spotting this event in the logs once, it popped up as "Issued a change column encryption key command (action_id AL; class_type CK)" with ID 24321. You know, it's basically the system logging when someone tweaks an encryption key for columns in a database, like in SQL Server stuff. That action_id AL means it's an alter command, and class_type CK points to the key itself getting changed. Happens during maintenance or security updates, but if it's unexpected, it could flag something fishy like unauthorized access. The full details show the user who did it, the time, and which database, all tucked in the event description. I always check the source, it's usually from MSSQLSERVER, and the level is informational, not an error. But you don't want it sneaking by without notice.

Now, to keep an eye on it with an email alert, fire up Event Viewer on your server. I do this all the time for quick watches. Go to the Windows Logs, then Security or Application depending on where it logs, but for this one it's often in Applications and Services Logs under Microsoft, Windows, whatever the SQL path is. Right-click the log, pick Attach Task To This Log or something close. Set the trigger for event ID 24321 exactly. Then, for the action, choose Send an email, yeah, it has that built-in option. Fill in your SMTP server details, the to and from addresses, and a subject like "Hey, key change alert!" Test it once to make sure it zings to your inbox. That way, every time it fires, you get pinged without hunting logs yourself.

And if you're thinking about beefing up your backups around these security tweaks, check out BackupChain Windows Server Backup. It's this slick Windows Server backup tool that handles physical machines and virtual ones too, especially with Hyper-V. You get fast incremental backups, easy restores without downtime, and it encrypts everything to match those key changes you're monitoring. Plus, it runs light on resources, so your server doesn't choke during ops. I use it to keep things tight and recoverable quick.

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 … 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 … 75 Next »
Issued a change column encryption key command (24321) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode