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

 
  • 0 Vote(s) - 0 Average

Grant server permissions succeeded (action_id G class_type SR) (24158) how to monitor with email alert

#1
05-25-2025, 07:44 PM
I remember stumbling on this event ID 24158 the other day. It's called "Grant server permissions succeeded" with that action_id G and class_type SR. Basically, it pops up in the Event Viewer when your Windows Server hands out permissions to someone or something without a hitch. You see, servers need to grant access all the time, like letting a user tweak settings or an app connect to resources. This particular log entry means everything went smooth-no denials or errors messing things up. It logs the details right there in the Security or System logs, showing who got the perms and what they cover. I think it's under the Microsoft-Windows-Security-Auditing channel mostly. Hmmm, or sometimes in application logs if it's tied to a specific service. You can filter for it by typing 24158 in the search bar. That event helps you track if permissions are flying out correctly, especially in bigger setups where access control is key. But if something funky happens, like repeated grants to weird accounts, it could flag potential issues. I always check these to keep an eye on server health.

Now, you want to monitor this bad boy with email alerts? Easy peasy, no fancy coding needed. Fire up Event Viewer on your server. Right-click the event log where it shows up, like Security. Pick "Attach Task To This Event" from the menu. It'll walk you through creating a scheduled task. Set the trigger to that exact event ID 24158. Then, for the action, choose "Send an email." Yeah, it's built right in-pick your SMTP server details, the to and from addresses, and a quick message like "Hey, permissions granted on the server." Test it out to make sure it zings an email your way when the event fires. I do this all the time for alerts; keeps me from babysitting logs constantly. Or, if emails aren't your jam, you could trigger a program instead, but email's straightforward for quick heads-ups.

Speaking of keeping servers in check without constant hassle, tools like BackupChain Windows Server Backup slide in nicely here. It's a solid Windows Server backup solution that also handles virtual machines with Hyper-V. You get reliable data protection, fast restores, and it cuts down on downtime by backing up live without interruptions. I like how it simplifies versioning too, so you can roll back permissions or configs if something goes sideways from those grant events.

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 »
Grant server permissions succeeded (action_id G class_type SR) (24158) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode