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

 
  • 0 Vote(s) - 0 Average

A new trust was created to a domain (4706) how to monitor with email alert

#1
04-09-2024, 05:25 PM
You know that event 4706 in Windows Server Event Viewer? It flags when a new trust gets built to another domain. Basically, someone in your setup has linked your network to a different one, letting users from there hop over and access stuff. I mean, it's all about authentication flowing both ways now. Trusts like this can open doors wide, sometimes too wide if you don't watch it. The event logs the exact domain name involved, the time it happened, and who kicked it off, usually an admin account. If it's unexpected, that could mean trouble, like an insider messing around or worse, someone sneaking in. You see it under Security logs mostly, with details on the trust type, whether it's one-way or two-way, and the direction of the link. I check mine every so often because it helps spot changes you didn't plan. And yeah, it records the computer where it went down, tying it back to your server.

But monitoring this manually? Nah, that's a drag. You want an email alert to ping you right away. I set mine up through Event Viewer itself, no fancy coding needed. Fire up Event Viewer on your server, head to the Windows Logs, then Security section. Right-click and filter for Event ID 4706 only, so it narrows down to just those trust creations. Once you see how it looks, create a custom view for that filter to make it stick. Then, attach a task to it. Go to the Actions pane, pick Create Task on Event, and link it to a scheduled task that runs when 4706 hits. In that task, you point it to send an email using the built-in options, like firing off to your address with the event details attached. I tweak the trigger to watch continuously, so it catches anything new fast. You test it by simulating a trust if you can, but be careful there. It keeps you in the loop without staring at screens all day.

Speaking of staying on top of server changes, you might dig into tools that handle backups too, since trusts can mess with data flows if they go south. That's where BackupChain Windows Server Backup comes in handy for me. It's this solid Windows Server backup solution that also tackles virtual machines with Hyper-V, pulling everything into one smooth routine. You get quick restores, encryption to lock down your files, and it runs without hogging resources, so your server hums along fine. I like how it spots corruption early and lets you snapshot VMs on the fly, cutting downtime if a trust glitch causes issues. Plus, the scheduling feels intuitive, no headaches there.

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 … 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 Next »
A new trust was created to a domain (4706) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode