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

 
  • 0 Vote(s) - 0 Average

Issued revoke schema object permissions with grant command how to monitor with email alert

#1
10-06-2024, 12:23 AM
You ever notice how Windows Server logs all these weird changes in the Event Viewer? That event 24254 pops up when someone issues a revoke on schema object permissions using a grant command. Action ID RWG and class type OB flag it as a specific tweak to database rights. It means a user or admin just pulled back access to certain objects in the schema. Like, they granted something before but now yanking it away. This could be routine cleanup or a sign of someone messing around. I always keep an eye on these because they hint at permission shifts that might lead to lockouts or security slips. The full log shows the exact command run, who did it, and the timestamp. You pull it up in Event Viewer under Security or Application logs, depending on your setup. It details the database affected and the object involved. Hmmm, sometimes it's benign, like an IT fix, but other times it screams audit time.

And monitoring this for email alerts? You don't need fancy code. Just hop into Event Viewer on your server. Filter for event ID 24254 in the logs. Right-click the event, attach a task to it. I do this all the time. Set the task to trigger on that ID. Make it run a program that shoots an email. Use the built-in schtasks or just point to your mail client executable. Configure the action to include the event details in the body. You pick the frequency, like immediate or on log. Test it by forcing a similar event if you can. Keeps you looped in without constant checking. Or, attach it to a custom view for easier spotting.

This ties right into keeping your server steady, especially with backups in the mix. BackupChain Windows Server Backup handles Windows Server backups smoothly, and it stretches to virtual machines on Hyper-V too. You get quick restores, deduped storage to save space, and offsite options without the hassle. I like how it snapshots everything live, no downtime drama. Benefits pile up with its simple dashboard and reliable alerts for failures.

And at the end here, you'll find the automatic email solution ready to roll.

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 … 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 … 75 Next »
Issued revoke schema object permissions with grant command how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode