Unable to backup the Security event log. (NETIQKB72022)

  • 7772022
  • 08-Jan-2010
  • 11-Jan-2010

Environment

Security Manager 6.x

Situation

Security Manager contains contains 2 rules/scripts that allows user to backup and clear event logs on agent machines. Whenever the script runs, it fails on the following error:

idEvent: {0ED9C212-1B58-40EC-83BF-33E6C9794674}
ProviderType: Generic Provider
ProviderInstance: Script-generated Data
Type: Error
Computer: SERVERNAME
Source: Clear EventLog
Description: Unable to backup the Security event log. Error connecting to the output path C:\SERVERNAMEEventLogs\. 429 - ActiveX component can't create object

Alerts

ConfigurationName: netiqsvc

idAlert: {179C05A2-5334-44E6-B290-F84747D093CA}
Culprit: Security: Clear EventLog
Name: Security: Clear EventLog Script Failed
Description: Unable to backup the Security event log. Error connecting to the output path C:\SERVERNAMEEventLogs\. 429 - ActiveX component can't create object
ComputerDomain: SEAS
ComputerName: SERVERNAME
TimeRaised: 12/11/2009 9:00:10 AM

Resolution

Register SCRRUN.DLL on the problem servers, then the vbscript should run without any problems.

 

To register SCRRUN.DLL:

  1. Go to C:\Windows\System32
  2. Right click SCRRUN.DLL and Select 'open with regsvr32.exe

 

Cause

SCRRUN.DLL is not registered.  Thus the scripting engine will not allow object creation which causes Security Manager scripts to fail.

Additional Information

Formerly known as NETIQKB72022

If regsvr32.exe is not available in the program list, browse to C:\Windows\System32  and highlight regsvr32.exe and click open.  It should now appear in the list.