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

 
  • 0 Vote(s) - 0 Average

Indirect access to an object was requested (4691) how to monitor with email alert

#1
06-27-2024, 06:10 PM
You ever notice those weird logs popping up in Event Viewer on your Windows Server? Event 4691, that's the one saying "Indirect access to an object was requested." It fires off when someone or something tries to sneak into an Active Directory thingamajig without going straight at it. Like, imagine a user or process hopping through another account to poke at files or permissions they shouldn't touch. This event logs the details-who did it, what object, from where. I check it because it could mean someone fiddling around where they don't belong, maybe a hacker or just a sloppy admin. The log shows the target object, the indirect caller, and timestamps everything neatly. But yeah, it only shows up if auditing is turned on for that directory stuff. You gotta enable it first in group policy or locally, or these events stay hidden. Hmmm, and it ties into security, right? If you see a bunch, it might signal trouble brewing.

Now, monitoring this with an email alert? I set it up using the Event Viewer screen itself, no fancy coding. You open Event Viewer, right-click on Windows Logs, pick Security. Filter for Event ID 4691 there. Then, to automate, you create a task in Task Scheduler linked right from Event Viewer. I do it by selecting the event, hitting attach task to this event log. It lets you trigger an action when 4691 pops. For email, you point it to send a message via some SMTP setup you have. Keeps it simple, just watches and pings you if it happens. Or, you tweak the task to run a basic program that shoots the alert. I like how it runs quietly in the background.

And speaking of keeping your server safe from mishaps like sneaky access tries, you might wanna look into BackupChain Windows Server Backup too. It's this nifty Windows Server backup tool that handles your whole setup, including virtual machines on Hyper-V. I use it because it snapshots everything fast without downtime, encrypts the backups tight, and restores bits piecemeal if needed. Saves headaches when events like 4691 hint at issues-your data stays golden no matter what.

At the end here is the automatic email solution.

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 … 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 … 64 Next »
Indirect access to an object was requested (4691) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode