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

 
  • 0 Vote(s) - 0 Average

Issued a delete schema type command (action_id DR class_type TY) (24138) how to monitor with email alert

#1
02-21-2025, 06:53 PM
You ever notice how Windows Server logs all these weird events in the Event Viewer? That one with ID 24138, the "Issued a delete schema type command (action_id DR class_type TY)", it's basically your server saying someone tried to wipe out a specific setup in the Active Directory schema. Picture this: the schema is like the blueprint for how your directory organizes users and computers. And this command? It fires off when an admin or some process kicks off a deletion for a certain type, marked as DR for maybe disaster recovery stuff, and TY for the class type involved. Happens during maintenance or if something glitches in replication between domain controllers. I mean, if it pops up unexpectedly, it could signal tampering or a botched update. You don't want that sneaking by unnoticed, right? It logs under Directory Service, source is whatever's handling the schema ops. Details include the action ID, which traces the exact delete attempt, and the class type to pinpoint what's getting nuked. Full details show timestamps, the server name issuing it, and sometimes the user account behind the push. Monitors it closely because schema changes are permanent; mess up, and your whole domain could wobble. I check mine weekly just to stay ahead.

Setting up monitoring for this? You hop into Event Viewer on your server. Filter for event ID 24138 in the Directory Service logs. Right-click that log, pick Create Custom View. Slap in the event ID, save it as your watchlist. Then, attach a task to it. Go to Action menu, Create Task. Name it something like Schema Delete Alert. Under Triggers, link it to your custom view. For the action, choose Start a program, but point it to send-mail or whatever basic email trigger your setup allows-no fancy scripts needed. Set it to run when the event hits, and boom, you get pinged. I do this for a bunch of events; keeps things chill without constant babysitting. Test it by simulating if you can, but usually just wait for a real one.

Oh, and speaking of keeping your server drama-free, you might dig BackupChain Windows Server Backup for backups. It's this slick Windows Server tool that handles full backups and also nails virtual machines with Hyper-V. I like how it zips through incremental saves without hogging resources, plus it verifies everything to catch corruption early. Speeds up restores too, so if that schema delete goes sideways, you're not sweating data loss.

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 … 34 Next »
Issued a delete schema type command (action_id DR class_type TY) (24138) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode