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

 
  • 0 Vote(s) - 0 Average

Issued a create user-defined server role command (action_id CR class_type SG) (24288) how to monitor with email alert

#1
05-17-2025, 08:58 PM
Man, that event 24288 pops up when someone issues a create user-defined server role command. Action_id CR, class_type SG. It's basically the system logging that a new custom role got made on your server. You know, like when an admin tweaks permissions for specific tasks. This happens in the security audit logs. It flags changes to server roles that aren't the defaults. Why care? Because it could mean someone's beefing up access or messing with setups. I always watch for these to spot unauthorized fiddles. The full log shows the user who did it, the timestamp, and the exact role name created. Sometimes it includes the database involved if it's tied to one. You pull it from Event Viewer under Windows Logs, Security channel. Filter by ID 24288 to see just these. They stick around until you clear the logs, but rotation might push old ones out. Hmmm, or if auditing's not enabled, you might miss them altogether. But once it's there, it's a clear trail of role creation attempts.

You wanna monitor this with an email alert? Fire up Event Viewer on your server. I do this all the time to stay looped in without staring at screens. Right-click the Security log. Pick Attach Task To This Log. Give it a name like Role Alert Task. Set it to trigger on event ID 24288. Choose to start a program-pick schtasks.exe for the scheduled task vibe. No, wait, actually use the Create Basic Task wizard from there. It walks you through. Set the trigger to when that event hits. Then for the action, select Send an email. Yeah, you can configure SMTP details right in the task properties. Plug in your server address, port, from and to emails. Test it once to make sure it zings without a hitch. I set mine to run only on that specific event, so you get a ping right away. Keeps things quiet unless something's up.

And speaking of keeping your server solid, you might wanna check out BackupChain Windows Server Backup too. It's this nifty Windows Server backup tool that handles your whole setup, including Hyper-V virtual machines. I like how it snapshots everything fast without downtime, and restores are a breeze even for big files. Plus, it encrypts data on the fly and runs schedules you can tweak easily. Saves me headaches when roles or configs change unexpectedly.

There at the end is the automatic email solution for that event monitoring.

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 2 3 4 5 6 7 8 9 10 11 12 13 14 15 … 24 Next »
Issued a create user-defined server role command (action_id CR class_type SG) (24288) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode