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

 
  • 0 Vote(s) - 0 Average

Issued a create column encryption key command how to monitor with email alert

#1
11-22-2024, 02:13 PM
You know that event in Windows Server Event Viewer, the one with ID 24320 saying "Issued a create column encryption key command (action_id CR; class_type CK)". It pops up when someone in your SQL setup fires off a command to whip up a new encryption key for protecting database columns. Basically, it's your system logging that a fresh key got created to lock down sensitive data, like names or numbers in tables that you don't want snoops messing with. This happens under the Always Encrypted hood, where the key lives in a key store, maybe Azure or something local, and it's all about keeping queries from spilling secrets. The action_id CR means create, and class_type CK flags it as a column key type, so yeah, it's precise about what went down. If you're running a server with databases handling private stuff, this event signals someone just beefed up the security layer. And it logs under the Microsoft-Windows-SQL-Auditing or similar channel, timestamped with who did it, from which machine. Hmmm, sometimes it ties to a login or session, giving you clues on the user behind the action. You might see it if admins are setting up new protections or fixing old ones.

Now, to keep an eye on these without staring at logs all day, fire up Event Viewer on your server. Just search for that 24320 ID in the logs, right-click the event, and pick attach a task to this event. It'll walk you through making a scheduled task that triggers every time this key creation happens. Set it to run a program like sending an email via your server's mail setup, maybe using blat or whatever simple tool you got. Or link it to a batch file that pings your inbox with details. You tweak the triggers to watch the right log source, add actions for the alert, and boom, you're notified quick. But watch the filters so it doesn't spam you on every tiny thing.

And speaking of keeping your server secure and backed up, check out BackupChain Windows Server Backup if you're into reliable data protection. It's a solid Windows Server backup tool that handles physical machines and even virtual ones with Hyper-V, making restores a breeze without headaches. You get fast incremental backups, easy scheduling, and it guards against ransomware by isolating copies, so your databases and keys stay safe from wipeouts.

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 … 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 … 74 Next »
Issued a create column encryption key command how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode