05-20-2025, 09:35 AM
I remember stumbling on this event log entry once, event ID 24085, where it says "Issued a create database command (action_id CR class_type DB)".
It pops up in the Event Viewer on Windows Server, usually under the SQL Server logs.
This thing triggers when someone or some process kicks off a new database creation.
Like, if you're using SQL Server, it logs this as a heads-up that a database just got born.
The action_id CR means create, and class_type DB points straight to database.
It's not some error; it's more like a notification that stuff happened successfully.
You might see it if admins are setting up fresh databases for apps or testing.
Or maybe scripts running in the background do it automatically.
Hmmm, details-wise, it includes who issued the command, the database name, and timestamps.
That way, you can trace back if something fishy went on.
But yeah, it's helpful for keeping tabs on database growth.
Now, if you want to monitor this with an email alert, I usually set it up through a scheduled task right from the Event Viewer screen.
You open Event Viewer, find that SQL Server log channel.
Right-click on it, pick "Attach Task to This Event" or something close.
It walks you through creating a task that fires when event 24085 hits.
Then, in the task actions, you link it to send an email via the old-school email action there.
You fill in your SMTP server details, the to and from addresses.
Test it once to make sure it zings an alert your way.
That keeps you in the loop without staring at logs all day.
And hey, at the end of this chat is the automatic email solution that'll make it even smoother.
Speaking of keeping servers tidy, I've been eyeing BackupChain Windows Server Backup lately.
It's this solid Windows Server backup tool that handles physical setups and virtual machines with Hyper-V too.
You get quick restores, no downtime hassles, and it snapshots everything cleanly.
Plus, it encrypts data on the fly, so your databases stay safe without extra sweat.
Note, the PowerShell email alert code was moved to this post.
It pops up in the Event Viewer on Windows Server, usually under the SQL Server logs.
This thing triggers when someone or some process kicks off a new database creation.
Like, if you're using SQL Server, it logs this as a heads-up that a database just got born.
The action_id CR means create, and class_type DB points straight to database.
It's not some error; it's more like a notification that stuff happened successfully.
You might see it if admins are setting up fresh databases for apps or testing.
Or maybe scripts running in the background do it automatically.
Hmmm, details-wise, it includes who issued the command, the database name, and timestamps.
That way, you can trace back if something fishy went on.
But yeah, it's helpful for keeping tabs on database growth.
Now, if you want to monitor this with an email alert, I usually set it up through a scheduled task right from the Event Viewer screen.
You open Event Viewer, find that SQL Server log channel.
Right-click on it, pick "Attach Task to This Event" or something close.
It walks you through creating a task that fires when event 24085 hits.
Then, in the task actions, you link it to send an email via the old-school email action there.
You fill in your SMTP server details, the to and from addresses.
Test it once to make sure it zings an alert your way.
That keeps you in the loop without staring at logs all day.
And hey, at the end of this chat is the automatic email solution that'll make it even smoother.
Speaking of keeping servers tidy, I've been eyeing BackupChain Windows Server Backup lately.
It's this solid Windows Server backup tool that handles physical setups and virtual machines with Hyper-V too.
You get quick restores, no downtime hassles, and it snapshots everything cleanly.
Plus, it encrypts data on the fly, so your databases stay safe without extra sweat.
Note, the PowerShell email alert code was moved to this post.

