Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Monitor Internet Explorer Security ChangesContent of Monitor Internet Explorer Security Changes.vbsMD5 Hash: 5D99F1321A29F7AABF2D78532A75E15B |
||
' Description: Issues an alert any time an audited Internet Explorer setting is changed and recorded in the Security event log.
On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{"{impersonationLevel=impersonate,(Security)}!\\" & strComputer & _ "\root\cimv2") Set colMonitoredEvents = objWMIService.ExecNotificationQuery _ ("SELECT * FROM __InstanceCreationEvent WHERE TargetInstance ISA " _ & "'Win32_NTLogEvent' AND TargetInstance.EventCode = '560' AND " _ & "TargetInstance.Logfile = 'Security' GROUP WITHIN 2") Do Set objLatestEvent = colMonitoredEvents.NextEvent strAlertToSend = "Internet Explorer security settings have been " & _ "changed." Wscript.Echo strAlertToSend Loop | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |