4 Replies Latest reply on Nov 4, 2015 1:44 PM by Muthuraman Renganathan

    Agent remediation script

    Sean Berry

      Here are some agent remediation scripts to fix common Windows agent problems in older 8.2 agents.  Especially fixes for Domain Controller issues, Citrix, and service dependencies.


      These are unsupported/community supported.


      Example DC2 version:


      On Error Resume Next



      'Add registry entry for DC

      Set WshShell = WScript.CreateObject("WScript.Shell")

      strComputerName = WshShell.ExpandEnvironmentStrings( "%COMPUTERNAME%" )

      RegEntry = "BLRSCD_" & strComputerName

      'WshShell.RegWrite "HKLM\Software\BladeLogic\RSCD Agent\", 1, "REG_BINARY"

      WshShell.RegWrite "HKLM\Software\BladeLogic\RSCD Agent\BladelogicRSCDUser", RegEntry, "REG_SZ"


      strMsg= WshShell.RegRead("HKLM\Software\BladeLogic\RSCD Agent\BladelogicRSCDUser") & " added to registry"


      MsgBox strMsg