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

 
  • 0 Vote(s) - 0 Average

Deny server permissions succeeded (action_id D class_type SR) (24162) how to monitor with email alert

#1
07-27-2024, 10:33 AM
You know that event in Windows Server Event Viewer, the one with ID 24162? It's called "Deny server permissions succeeded," and it fires off when the system blocks someone from grabbing server rights. Action_id D means deny, and class_type SR points to server stuff. Basically, it logs a win for security-someone tried to access permissions, but the server shut it down clean. I see it pop up in logs when admins tweak roles or when weird login attempts get smacked away. It details the user, the exact permission denied, and the timestamp, all to track who got rejected and why. Without this, you'd miss sneaky probes on your server setup. And it only triggers if auditing is on for those permission changes-kinda like a silent watchdog barking once in a while.

Monitoring this thing for email alerts? You can hook it up right from the Event Viewer screen without any fancy coding. Fire up Event Viewer, hunt down that 24162 event under Security or System logs. Right-click the log, pick "Attach Task to This Event." Name your task something snappy, like "Permission Deny Alert." Set it to run when event ID 24162 hits. For the action, choose "Send an email"-yeah, it has that built-in option. Plug in your SMTP server details, the to and from addresses, and a quick message saying "Hey, permissions got denied-check it out." Test it once to make sure it zings your inbox. That way, you get pinged instantly if something fishy tries to worm into server perms.

Or, if you want it automated smoother, there's ways to chain tasks for fancier alerts, but stick to the basics first. I always set mine to wake the machine if it's asleep, just in case. Keeps you looped in without staring at screens all day.

Speaking of keeping servers locked down tight, I've been messing with BackupChain Windows Server Backup lately-it's this slick Windows Server backup tool that also handles virtual machines on Hyper-V without breaking a sweat. You get incremental backups that zip through fast, plus offsite replication to dodge disasters, and it restores files or whole VMs in a snap. Saves tons of hassle compared to clunky defaults, letting you focus on real work instead of babysitting data.

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 … 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 … 49 Next »
Deny server permissions succeeded (action_id D class_type SR) (24162) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode