Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Monitor Changes to a Registry KeyContent of Monitor Changes to a Registry Key.vbsMD5 Hash: A19CAF2F98ADAA4F20653F97C53C4556 |
||
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\default") Set colEvents = objWMIService.ExecNotificationQuery & _ ("SELECT * FROM RegistryKeyChangeEvent WHERE Hive='HKEY_LOCAL_MACHINE' AND " & _ "KeyPath='SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run'") Do Set objLatestEvent = colEvents.NextEvent Wscript.Echo Now & ": The registry has been modified." Loop | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |