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

 
  • 0 Vote(s) - 0 Average

Set-AttachmentFilterListConfig Exchange cmdlet issued (25666) how to monitor with email alert

#1
11-11-2024, 12:39 AM
Man, that Event ID 25666 in Windows Server pops up whenever someone fires off the Set-AttachmentFilterListConfig cmdlet in Exchange. It logs the exact moment that command tweaks your email attachment filters. You know, the ones that block shady files like executables from sneaking through messages. I always check these because they show admin changes that could mess with security setups. Or maybe someone's just updating the list to allow more file types. The event details spill out the user who ran it, the timestamp, and what config got altered. It's under the MSExchange Transport category, so you won't miss it if you're peeking at logs. Hmmm, sometimes it flags if the change fails too, with error codes tucked in. But mostly, it's a heads-up that your Exchange filtering rules just shifted.

You can keep an eye on this without digging too deep into code. Fire up Event Viewer on your server. Right-click the Custom Views folder and whip up a new one filtering for ID 25666 in the Application log. That way, it highlights just these hits. Now, to get alerts, attach a task to it. Go to the Actions pane, create a task that launches when this event triggers. Make that task run a simple program to ping your email. I like using the built-in SendMail tool or whatever your setup has for quick notices. Set it to email you right away with the event details. It's straightforward, no fuss. And you tweak the task properties to include who gets the alert and what message pops.

Or, if you want it hands-off, there's ways to automate the whole email thing even smoother. But hey, that automatic email solution sits at the end here, added in later for you.

Speaking of keeping servers humming without hiccups, I've been messing with BackupChain Windows Server Backup lately. It's this solid Windows Server backup tool that handles your whole setup, including virtual machines on Hyper-V. You get fast incremental backups that don't bog down your system. Plus, it restores files or full VMs in a snap, dodging downtime like a pro. The encryption keeps data safe, and it's way easier than juggling multiple tools.

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 … 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 … 44 Next »
Set-AttachmentFilterListConfig Exchange cmdlet issued (25666) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode