Possible to remove just HPOM install of whole Operation Agent using the oacleanall.vbs script?

Hi experts,

We are just testing the removal of HPOM from some Windows Servers, and are following the guide here - https://docs.microfocus.com/doc/Operations_Agent/12.21/CleanAll

The description for the script states: "The oacleanall script isn't recommended to remove the Operations Agent on a system running other Operations Bridge Software products." - This is a great warning, however given there may be Operation Bridge products in our environment using OBM monitoring, I really want to know how to remove just the HPOM components, and that's it. Ideally, I am trying to get a script that should only remove the HPOM and should check the dependency, since OM is use by both toolset (HPOM and OBM).

Is this something anyone has done before or has any experience?

Or is this something which simply cannot be done?

Really appreciate any help given.

  • Suggested Answer

    0  

    Hello there,

    If you need to remove the agent, then please use the method https://docs.microfocus.com/doc/Operations_Agent/12.21/Uninstall.  This uses msiexec to remove the agent and clean up the registry.

    oacleanall isn't something I like using and I think times have changed (for the better in this case) since it's conception.  When it was first written, Customers needed someway to remove the agent as the de-installation methods may not have worked brilliantly.  I think this has changed.

    I've asked for the documentaiton to be changed here.  Let me try to explain.

    This about how OA12 is installed.  OA12 installation is based around registry keys Datadir and Installdir under “HKLM\SOFTWARE\Hewlett-Packard\HP OpenView”.  These directories are used by both OA12 and NNMi:

    C:\>reg query "HKLM\SOFTWARE\Hewlett-Packard\HP OpenView"

    HKEY_LOCAL_MACHINE\SOFTWARE\Hewlett-Packard\HP OpenView
    InstallDir REG_SZ C:\Program Files (x86)\HP\HP BTO Software\
    DataDir REG_SZ C:\ProgramData\HP\HP BTO Software\
    CommonInstallerComponents REG_SZ {21255F0C-1A97-4F8D-9B26-47230EE50A1D}
    ShareDir REG_SZ C:\Program Files (x86)\HP\HP BTO Software\\shared

    OA12 documentation states “The oacleanall script isn't recommended to remove the Operations Agent on a system running other Operations Bridge Software products” which isn’t in my opinion very helpful and I've asked the Documentation Team to change this.  It's not just Operations Bridge Software products, it also includes all software which is installed under directories defined by the registry key "HKLM\SOFTWARE\Hewlett-Packard\HP OpenView" which includes NNMi.

    I'll try to explain:

    When NNMi is installed, it uses the same installaton directory (ovdatadir/ovinstalldir) where are set in the registry.  Since NNMi uses the same registry keys as OA12, the oaclean script does this:

    DeleteFolderandSubfolders(OVINSTALLDIR_LBIN)
    DeleteFolderandSubfolders(OVINSTALLDIR_MSG)
    DeleteFolderandSubfolders(OVDATADIR_TMP)
    DeleteFolderandSubfolders(OvInstallDir)
    DeleteFolderandSubfolders(OvDataDir)

    Where the function does:
    '******************************************************
    'Function Name: DeleteFolderandSubfolders
    'This function will delete the folders and sub folder
    '******************************************************

    Private function DeleteFolderandSubfolders(Foldername)
    On Error resume next
    Dim Fso,f,SubFolderName
    Set fso = CreateObject ("Scripting.FileSystemObject")
    for each f in fso.getfolder(Foldername).subfolders
       SubFolderName=FolderName & "\"& f.Name
       DeleteFolderandSubfolders(f.Path)
       If fso.FolderExists(SubFolderName) Then
         f.delete
       End If
    Next
    fso.deletefolder (fso.getfolder(FolderName))

    End function

    Meaning the NNMi installation is removed and it's time to find the backups - so not ideal.  

    I would like/have asked the Dev Team to change the command to be changed to prompt the user:

    '******************************************************
    'Function Name: DeleteFolderandSubfolders
    'This function will delete the folders and sub folder
    '******************************************************

    Private Function DeleteFolderandSubfolders(Foldername)
      On Error Resume Next
      Dim Fso, f, SubFolderName
      Set Fso = CreateObject("Scripting.FileSystemObject")

      ' If a NNMi directory exists, exit:
      If Fso.FolderExists(Foldername & "\NNMi") Then
         WScript.StdOut.WriteLine "Directory NNMi exists. Exiting script."
         WScript.Quit 1 ' non-zero exit if NNMi exists
      End If
      
      ' Prompt the user to confirm they really want to delete:
      WScript.StdOut.Write "Are you sure you want to remove these directories? (Y/N): "
      Dim confirmation
      confirmation = WScript.StdIn.ReadLine()

      If UCase(confirmation) = "Y" Then
        for Each f In Fso.GetFolder(Foldername).SubFolders
          SubFolderName = Foldername & "\" & f.Name
          DeleteFolderandSubfolders(f.Path)
          If Fso.FolderExists(SubFolderName) Then
            f.Delete
          End If
        next
        Fso.DeleteFolder(Fso.GetFolder(Foldername))
      Else
        WScript.StdOut.WriteLine "Deletion cancelled."
        WScript.Quit 1 ' non-zero exit as cancelled by user
      End If
    End Function

    ...so at least you get some kind of warning.

    Usage of oaclean is interesting.  It become one of these mythical commands which was originally intended for a very specific task which was removing everything from the file system and registry, yet over time has changed and OA12 deinstalls and upgrade usually without any problem.  Personally, I’ve never liked or recommended using oacleanall – it’s blunt and offers no control.  But there are times I've used it.  

    There are also issues if oaclean is run on an OBM server, though the consequences are less dire.  As mentioned above, directories are deleted but OBM itself is installed under %topaz_home% which is usually <some_drive>:\HPBSM so it's not likely to get removed.  However, OBM uses directories under %ovdatadir% during discovery.  But you would have to reinstall OA12 so all the data files and directories needed are recreated.

    If you don't have any other software installed under these directories, and https://docs.microfocus.com/doc/Operations_Agent/12.21/Uninstall isn't working as expected, then you can run oaclean.

    If you have a problem upgrading or installing a new OA12 version, then please contact Opentext Support.

    I hope this answers your question and I'll discuss this once again with the Docs Team citing this as another example.

    All the best.

  • 0 in reply to   

    Mate, this is great thanks. Really appreciate the detailed reply.

    We'll do this in some dev testing tomorrow and advise how it went.

    Cheers

  • 0   in reply to 

    Anytime, let me know how you get on...

  • 0   in reply to   

    For information, I just added this "Idea":

     oaclean needs a "yes I really, really want to delete these directories" option. 

    Please vote for it if you have a moment...

  • 0 in reply to   

    Hi Duncan,

    I'm facing the same issues as well with Open Bridge Software and require to remove just HP Open View Operation Agent.

    Some of these servers requires to use oacleanall.vbs to full remove but obviously it caused issues to Open Bridge Software. I just wonder if keeping the NNMi subfolder will be suffice? Because I noticed a lot of GUID uninstall in the script and not sure if it will impact Open Bridge Software

    dctPackageGUID.Add "HPOvLcde", "{70B0CE3A-4EEA-4A43-AB90-0C7C0F8411BD}"
    dctPackageGUID.Add "HPOvLces", "{C3084B86-9527-42C5-8432-5A295F686671}"
    dctPackageGUID.Add "HPOvLcfr", "{18D3931B-5723-4F3F-AD87-0A9281AFCE0D}"
    dctPackageGUID.Add "HPOvLcja", "{B2422FF1-081B-4AD4-B77B-9007F532DB96}"
    dctPackageGUID.Add "HPOvLcko", "{12368FFE-07E7-4F91-8B11-92643C66F288}"
    dctPackageGUID.Add "HPOvLcnl", "{993403DF-9EBB-4DFE-956B-8721C611FC02}"
    dctPackageGUID.Add "HPOvLcpB", "{9EFDD0CA-3886-4A0A-97A8-0644B42ADF19}"
    dctPackageGUID.Add "HPOvLcru", "{1DF2D917-3270-4283-8445-4495D9754C87}"
    dctPackageGUID.Add "HPOvLczC", "{9A6A55C8-1496-4DE6-A4EF-4A92E667CFED}"
    dctPackageGUID.Add "HPOvEaAes", "{9E669239-6C16-4E58-BB4B-669A1B9ACFE0}"
    dctPackageGUID.Add "HPOvEaAja", "{33031540-B025-4509-ACAC-D1682E0111B1}"
    dctPackageGUID.Add "HPOvEaAko", "{60FA76B2-E431-4056-9613-9365709DFF0E}"
    dctPackageGUID.Add "HPOvEaAzC", "{E04C77CD-FAED-4A03-BD9F-B52DFF9C47D3}"

    GUIDArray(0) = "{92DBFB0F-BCF3-42F5-B6F2-746934AC631E}"
    GUIDArray(1) = "{46577A87-2556-4206-A3D7-8CA972206ECE}"


    GUIDArrayUpgradeCode(0) = "\Installer\UpgradeCodes\C677E5EEFF6993B4EB0D35930AA81631"
    GUIDArrayUpgradeCode(1) = "\Installer\UpgradeCodes\A398032C72821884699F33A9363E264F"
    GUIDArrayUpgradeCode(2) = "\Installer\UpgradeCodes\C5CB8E59D83C0E249938EF07CF8EF12A"
    GUIDArrayUpgradeCode(3) = "\Installer\UpgradeCodes\6E091A15CAD2E93468F6D0522A5E4FE6"
    GUIDArrayUpgradeCode(4) = "\Installer\UpgradeCodes\29C4836290F6D0847A12A8CEE18189DA"
    GUIDArrayUpgradeCode(5) = "\Installer\UpgradeCodes\CB283C07ACA72F344B6C27BF749D73A1"
    GUIDArrayUpgradeCode(6) = "\Installer\UpgradeCodes\4878ADC87E73E1844A04012F3610387A"
    GUIDArrayUpgradeCode(7) = "\Installer\UpgradeCodes\DC77C40EDEAF30A4DBF95BD2FFC9743D"
    GUIDArrayUpgradeCode(8) = "\Installer\UpgradeCodes\04513033520B9054CACA1D86E210111B"
    GUIDArrayUpgradeCode(9) = "\Installer\UpgradeCodes\2B67AF06134E65046931395607D9FFE0"
    GUIDArrayUpgradeCode(10) = "\Installer\UpgradeCodes\932966E961C685E4BBB466A9B1A9FC0E"
    GUIDArrayUpgradeCode(11) = "\Installer\UpgradeCodes\D457A97AE70F50847975234FA1336C51"


    GUIDArrayProduct(0) = "\Installer\Products\AABC49F4E10411E1919285A56188709B"
    GUIDArrayProduct(1) = "\Installer\Products\DDFB7614E10411E19C1693A56188709B"
    GUIDArrayProduct(2) = "\Installer\Products\F37EAF38E10411E1AF1A97A56188709B"
    GUIDArrayProduct(3) = "\Installer\Products\0D1276D2E10511E1BFDCA0A56188709B"
    GUIDArrayProduct(4) = "\Installer\Products\5FF41426E1E311E18F8694506188709B"
    GUIDArrayProduct(5) = "\Installer\Products\587DB91CE4A511E1AC347BB96188709B"
    GUIDArrayProduct(6) = "\Installer\Products\8EF5584EE4A811E1A646DDBB6188709B"
    GUIDArrayProduct(7) = "\Installer\Products\E1BEAAD4E4A911E1B36DEABC6188709B"
    GUIDArrayProduct(8) = "\Installer\Products\2E220546E4AB11E1BFBBEABD6188709B"
    GUIDArrayProduct(9) = "\Installer\Products\19ACA9E6E4AF11E18498DAC06188709B"
    GUIDArrayProduct(10) = "\Installer\Products\51C67B66E4B111E1B36D8DC26188709B"
    GUIDArrayProduct(11) = "\Installer\Products\16ABD178E4B311E1BDF1CBC36188709B"


    InstallProdGUIDArray(0) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\AABC49F4E10411E1919285A56188709B"
    InstallProdGUIDArray(1) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\DDFB7614E10411E19C1693A56188709B"
    InstallProdGUIDArray(2) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\F37EAF38E10411E1AF1A97A56188709B"
    InstallProdGUIDArray(3) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\0D1276D2E10511E1BFDCA0A56188709B"
    InstallProdGUIDArray(4) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\5FF41426E1E311E18F8694506188709B"
    InstallProdGUIDArray(5) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\16ABD178E4B311E1BDF1CBC36188709B"
    InstallProdGUIDArray(6) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\587DB91CE4A511E1AC347BB96188709B"
    InstallProdGUIDArray(7) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\8EF5584EE4A811E1A646DDBB6188709B"
    InstallProdGUIDArray(8) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\E1BEAAD4E4A911E1B36DEABC6188709B"
    InstallProdGUIDArray(9) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\2E220546E4AB11E1BFBBEABD6188709B"
    InstallProdGUIDArray(10) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\19ACA9E6E4AF11E18498DAC06188709B"
    InstallProdGUIDArray(11) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\51C67B66E4B111E1B36D8DC26188709B"


    InstallUninstallGUIDArray(0) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6E9ACA91-FA4E-1E11-4889-AD0C168807B9}"
    InstallUninstallGUIDArray(1) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{66B76C15-1B4E-1E11-3BD6-D82C168807B9}"
    InstallUninstallGUIDArray(2) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{645022E2-BA4E-1E11-FBBB-AEDB168807B9}"
    InstallUninstallGUIDArray(3) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C19BD785-5A4E-1E11-CA43-B79B168807B9}"
    InstallUninstallGUIDArray(4) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E4855FE8-8A4E-1E11-6A64-DDBB168807B9}"
    InstallUninstallGUIDArray(5) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4167BFDD-401E-1E11-C961-395A168807B9}"
    InstallUninstallGUIDArray(6) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{83FAE73F-401E-1E11-FAA1-795A168807B9}"
    InstallUninstallGUIDArray(7) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2D6721D0-501E-1E11-FBCD-0A5A168807B9}"
    InstallUninstallGUIDArray(8) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{871DBA61-3B4E-1E11-DB1F-BC3C168807B9}"
    InstallUninstallGUIDArray(9) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{62414FF5-3E1E-1E11-F868-4905168807B9}"
    InstallUninstallGUIDArray(10) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4DAAEB1E-9A4E-1E11-3BD6-AECB168807B9}"
    InstallUninstallGUIDArray(11) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4F94CBAA-401E-1E11-1929-585A168807B9}"
    InstallUninstallGUIDArray(12) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{15443F53-CC08-41C6-8DB7-870B68EDCE27}"
    InstallUninstallGUIDArray(13) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{49AC5F69-7CE1-4389-906A-5B34BA168BDF}"
    InstallUninstallGUIDArray(14) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E1C11737-539D-494B-8761-3541AB4D64AA}"
    InstallUninstallGUIDArray(15) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2E2CD678-CA99-46C3-9D49-EF0EF5C5F5EA}"
    InstallUninstallGUIDArray(16) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{36DE73C2-4F0B-48DF-9057-88E0DC2B2888}"
    InstallUninstallGUIDArray(17) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0E9C0BFC-BA4F-40E6-B868-9245913B03C2}"
    InstallUninstallGUIDArray(18) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{70433D0F-D5B2-433A-904B-9A909F3DF4A6}"
    InstallUninstallGUIDArray(19) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6A2563A6-02F0-422C-A01C-B7F7E8D2697F}"
    InstallUninstallGUIDArray(20) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3F9A7028-4E2F-4413-B804-02142FB27817}"
    InstallUninstallGUIDArray(21) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2D5D018A-0C6B-4F6B-8A17-8AF8229982B3}"
    InstallUninstallGUIDArray(22) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9D4ADBF3-DC7D-44C2-BBE2-74F3C236BE65}"
    InstallUninstallGUIDArray(23) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{32552DEB-C1C1-43C9-B080-642B16E9E666}"


    OpenviewGUIDS(0) = "SOFTWARE\Hewlett-Packard\HP OpenView\{26384C92-6F09-480D-A721-8AEC1E1898AD}"
    OpenviewGUIDS(1) = "SOFTWARE\Hewlett-Packard\HP OpenView\{70C382BC-7ACA-43F2-B4C6-72FB47D9371A}"
    OpenviewGUIDS(2) = "SOFTWARE\Hewlett-Packard\HP OpenView\{8CDA8784-37E7-481E-A440-10F2630183A7}"
    OpenviewGUIDS(3) = "SOFTWARE\Hewlett-Packard\HP OpenView\{E04C77CD-FAED-4A03-BD9F-B52DFF9C47D3}"
    OpenviewGUIDS(4) = "SOFTWARE\Hewlett-Packard\HP OpenView\{33031540-B025-4509-ACAC-D1682E0111B1}"
    OpenviewGUIDS(5) = "SOFTWARE\Hewlett-Packard\HP OpenView\{60FA76B2-E431-4056-9613-9365709DFF0E}"
    OpenviewGUIDS(6) = "SOFTWARE\Hewlett-Packard\HP OpenView\{9E669239-6C16-4E58-BB4B-669A1B9ACFE0}"
    OpenviewGUIDS(7) = "SOFTWARE\Hewlett-Packard\HP OpenView\{A79A754D-F07E-4805-9757-32F41A33C615}"
    OpenviewGUIDS(8) = "SOFTWARE\Hewlett-Packard\HP OpenView\{51A190E6-2DAC-439E-866F-0D25A2E5F46E}"
    OpenviewGUIDS(9) = "SOFTWARE\Hewlett-Packard\HP OpenView\{95E8BC5C-C38D-42E0-9983-FE70FCE81FA2}"
    OpenviewGUIDS(10) = "SOFTWARE\Hewlett-Packard\HP OpenView\{C230893A-2827-4881-96F9-339A63E362F4}"
    OpenviewGUIDS(11) = "SOFTWARE\Hewlett-Packard\HP OpenView\{EE5E776C-96FF-4B39-BED0-5339A08A6113}"


    GUIDArrayUpgradeCodeLcore(0) = "\Installer\UpgradeCodes\05962E39786372048840D56000C2A8D5"
    GUIDArrayUpgradeCodeLcore(1) = "\Installer\UpgradeCodes\AE1BF7FF56D74894C8037027F108F4D9"
    GUIDArrayUpgradeCodeLcore(2) = "\Installer\UpgradeCodes\3F3BAB1F3F522EE40BD792DE68CD3262"
    GUIDArrayUpgradeCodeLcore(3) = "\Installer\UpgradeCodes\7F3783E183264514B9D425F14531773B"
    GUIDArrayUpgradeCodeLcore(4) = "\Installer\UpgradeCodes\561AF874DF40F934B8B55D8AE7061695"
    GUIDArrayUpgradeCodeLcore(5) = "\Installer\UpgradeCodes\57D875FFCD1B78E4C8558DEF14EF26DF"
    GUIDArrayUpgradeCodeLcore(6) = "\Installer\UpgradeCodes\27DA8928DDA7C5745965298F779C33E3"
    GUIDArrayUpgradeCodeLcore(7) = "\Installer\UpgradeCodes\F0F0D2B3E244B274FBCCE0D139BF7CD0"
    GUIDArrayUpgradeCodeLcore(8) = "\Installer\UpgradeCodes\99CBB88E7C55AF64FA1F0CAD5B0EB5D8"
    GUIDArrayUpgradeCodeLcore(9) = "\Installer\UpgradeCodes\866221FEE1D831C4E92F3369AD648B61"
    GUIDArrayUpgradeCodeLcore(10) = "\Installer\UpgradeCodes\DF76A27F5A4CD294695CA4278ECD9263"
    GUIDArrayUpgradeCodeLcore(11) = "\Installer\UpgradeCodes\E53505BC4AE962C479105D2A51B59E92"
    GUIDArrayUpgradeCodeLcore(12) = "\Installer\UpgradeCodes\CFBFA910DA3011E18AAD3A026288709B"
    GUIDArrayUpgradeCodeLcore(13) = "\Installer\UpgradeCodes\68B4803C72595C244823A592F5866617"
    GUIDArrayUpgradeCodeLcore(14) = "\Installer\UpgradeCodes\EFF863217E7019F4B8112946C3662F88"
    GUIDArrayUpgradeCodeLcore(15) = "\Installer\UpgradeCodes\1FF2242BB1804DA47BB709705F23BD69"
    GUIDArrayUpgradeCodeLcore(16) = "\Installer\UpgradeCodes\8C55A6A969416ED44AFEA4296E76FCDE"


    GUIDArrayProductLcore(0) = "\Installer\Products\D6D59B6BBC2002D4EAD3F731B244AB17"
    GUIDArrayProductLcore(1) = "\Installer\Products\4FD35A6927AB3404B917C24A35E5CF91"
    GUIDArrayProductLcore(2) = "\Installer\Products\9F4ED3A8803B3F148A8DD6BE472A851D"
    GUIDArrayProductLcore(3) = "\Installer\Products\E6DDEDB4E7C63FF4891FC4081BA6C208"
    GUIDArrayProductLcore(4) = "\Installer\Products\93062701233B6CC479F5734C7B228A17"
    GUIDArrayProductLcore(5) = "\Installer\Products\0E724B331F8E7E34990BA8990193E55A"
    GUIDArrayProductLcore(6) = "\Installer\Products\D78C67EA3F239404BB40BAEDD37A6384"
    GUIDArrayProductLcore(7) = "\Installer\Products\DB58A90CF95D96445BEE3D65ABC068C0"
    GUIDArrayProductLcore(8) = "\Installer\Products\DAAF02F4F9C54334DBE545F6085EADC7"
    GUIDArrayProductLcore(9) = "\Installer\Products\3BA6BF4A62274D0409056EDD621CF06D"
    GUIDArrayProductLcore(10) = "\Installer\Products\5E5B6A8E5E92C4C43977C5A9BD605E58"
    GUIDArrayProductLcore(11) = "\Installer\Products\E46D4FDB36C4D8C4BAFBF490DC74EF79"
    GUIDArrayProductLcore(12) = "\Installer\Products\1D0A468C6AE8C884889D254B325E0097"
    GUIDArrayProductLcore(13) = "\Installer\Products\D7D0ACEEE1D811E199C69A486188709B"
    GUIDArrayProductLcore(14) = "\Installer\Products\C52C4CE8E1E611E1B4376C536188709B"
    GUIDArrayProductLcore(15) = "\Installer\Products\7370DDB2E38D11E1B326850B6288709B"
    GUIDArrayProductLcore(16) = "\Installer\Products\8FE8D114E4A211E1A2135BB76188709B"

    InstallProdGUIDArrayLcore(0) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\D6D59B6BBC2002D4EAD3F731B244AB17"
    InstallProdGUIDArrayLcore(1) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\93062701233B6CC479F5734C7B228A17"
    InstallProdGUIDArrayLcore(2) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\0E724B331F8E7E34990BA8990193E55A"
    InstallProdGUIDArrayLcore(3) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\3BA6BF4A62274D0409056EDD621CF06D"
    InstallProdGUIDArrayLcore(4) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\4FD35A6927AB3404B917C24A35E5CF91"
    InstallProdGUIDArrayLcore(5) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\5E5B6A8E5E92C4C43977C5A9BD605E58"
    InstallProdGUIDArrayLcore(6) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\9F4ED3A8803B3F148A8DD6BE472A851D"
    InstallProdGUIDArrayLcore(7) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\D78C67EA3F239404BB40BAEDD37A6384"
    InstallProdGUIDArrayLcore(8) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\DAAF02F4F9C54334DBE545F6085EADC7"
    InstallProdGUIDArrayLcore(9) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\E46D4FDB36C4D8C4BAFBF490DC74EF79"
    InstallProdGUIDArrayLcore(10) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\E6DDEDB4E7C63FF4891FC4081BA6C208"
    InstallProdGUIDArrayLcore(11) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\DB58A90CF95D96445BEE3D65ABC068C0"
    InstallProdGUIDArrayLcore(12) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\CFBFA910DA3011E18AAD3A026288709B"
    InstallProdGUIDArrayLcore(13) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\D7D0ACEEE1D811E199C69A486188709B"
    InstallProdGUIDArrayLcore(14) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\C52C4CE8E1E611E1B4376C536188709B"
    InstallProdGUIDArrayLcore(15) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\7370DDB2E38D11E1B326850B6288709B"
    InstallProdGUIDArrayLcore(16) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\8FE8D114E4A211E1A2135BB76188709B"

    InstallUninstallGUIDArrayLcore(0) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BDF4D64E-4C63-4C8D-ABBF-4F09CD47FE97}"
    InstallUninstallGUIDArrayLcore(1) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{33B427E0-E8F1-43E7-99B0-8A9910395EA5}"
    InstallUninstallGUIDArrayLcore(2) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A4FB6AB3-7226-40D4-9050-E6DD26C10FD6}"
    InstallUninstallGUIDArrayLcore(3) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{96A53DF4-BA72-4043-9B71-2CA4535EFC19}"
    InstallUninstallGUIDArrayLcore(4) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E8A6B5E5-29E5-4C4C-9377-5C9ADB06E585}"
    InstallUninstallGUIDArrayLcore(5) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{10726039-B332-4CC6-975F-37C4B722A871}"
    InstallUninstallGUIDArrayLcore(6) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8A3DE4F9-B308-41F3-A8D8-6DEB74A258D1}"
    InstallUninstallGUIDArrayLcore(7) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{019AFBFC-03AD-1E11-A8DA-A320268807B9}"
    InstallUninstallGUIDArrayLcore(8) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B6B95D6D-02CB-4D20-AE3D-7F132B44BA71}"
    InstallUninstallGUIDArrayLcore(9) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4F20FAAD-5C9F-4334-BD5E-546F80E5DA7C}"
    InstallUninstallGUIDArrayLcore(10) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C09A85BD-D59F-4469-B5EE-D356BA0C860C}"
    InstallUninstallGUIDArrayLcore(11) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4BDEDD6E-6C7E-4FF3-98F1-4C80B16A2C80}"
    InstallUninstallGUIDArrayLcore(12) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AE76C87D-32F3-4049-BB04-ABDE3DA73648}"
    InstallUninstallGUIDArrayLcore(13) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{411D8EF8-2A4E-1E11-2A31-B57B168807B9}"
    InstallUninstallGUIDArrayLcore(14) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2BDD0737-D83E-1E11-3B62-58B0268807B9}"
    InstallUninstallGUIDArrayLcore(15) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{EECA0D7D-8D1E-1E11-996C-A984168807B9}"
    InstallUninstallGUIDArrayLcore(16) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8EC4C25C-6E1E-1E11-4B73-C635168807B9}"
    InstallUninstallGUIDArrayLcore(17) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{840F982F-01D0-4DFD-A7E7-0318D3551F08}"
    InstallUninstallGUIDArrayLcore(18) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A536D125-E296-4884-B384-83B6D8523803}"
    InstallUninstallGUIDArrayLcore(19) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4252B8C1-49D8-4F72-8842-3AC6B692369F}"
    InstallUninstallGUIDArrayLcore(20) = "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E58889D3-4FDB-41C8-A09E-82DFE0DC82D4}"

    OpenviewGUIDSLcore(0) = "SOFTWARE\Hewlett-Packard\HP OpenView\{1E3873F7-6238-4154-9B4D-521F541377B3}"
    OpenviewGUIDSLcore(1) = "SOFTWARE\Hewlett-Packard\HP OpenView\{3B2D0F0F-442E-472B-BFCC-0E1D93FBC70D}"
    OpenviewGUIDSLcore(2) = "SOFTWARE\Hewlett-Packard\HP OpenView\{478FA165-04FD-439F-8B5B-D5A87E606159}"
    OpenviewGUIDSLcore(3) = "SOFTWARE\Hewlett-Packard\HP OpenView\{8298AD72-7ADD-475C-9556-92F877C9333E}"
    OpenviewGUIDSLcore(4) = "SOFTWARE\Hewlett-Packard\HP OpenView\{93E26950-3687-4027-8804-5D06002C8A5D}"
    OpenviewGUIDSLcore(5) = "SOFTWARE\Hewlett-Packard\HP OpenView\{CB50535E-9EA4-4C26-9701-D5A2155BE929}"
    OpenviewGUIDSLcore(6) = "SOFTWARE\Hewlett-Packard\HP OpenView\{E88BBC99-55C7-46FA-AFF1-C0DAB5E05B8D}"
    OpenviewGUIDSLcore(7) = "SOFTWARE\Hewlett-Packard\HP OpenView\{EF122668-8D1E-4C13-9EF2-3396DA46B816}"
    OpenviewGUIDSLcore(8) = "SOFTWARE\Hewlett-Packard\HP OpenView\{F1BAB3F3-25F3-4EE2-B07D-29ED86DC2326}"
    OpenviewGUIDSLcore(9) = "SOFTWARE\Hewlett-Packard\HP OpenView\{F72A67FD-C4A5-492D-96C5-4A72E8DC2936}"
    OpenviewGUIDSLcore(10) = "SOFTWARE\Hewlett-Packard\HP OpenView\{FF578D75-B1DC-4E87-8C55-D8FE41FE62FD}"
    OpenviewGUIDSLcore(11) = "SOFTWARE\Hewlett-Packard\HP OpenView\{FF7FB1EA-7D65-4984-8C30-07721F804F9D}"
    OpenviewGUIDSLcore(12) = "SOFTWARE\Hewlett-Packard\HP OpenView\{C864A0D1-8EA6-488C-88D9-52B423E50079}"
    OpenviewGUIDSLcore(13) = "SOFTWARE\Hewlett-Packard\HP OpenView\{C3084B86-9527-42C5-8432-5A295F686671}"
    OpenviewGUIDSLcore(14) = "SOFTWARE\Hewlett-Packard\HP OpenView\{12368FFE-07E7-4F91-8B11-92643C66F288}"
    OpenviewGUIDSLcore(15) = "SOFTWARE\Hewlett-Packard\HP OpenView\{B2422FF1-081B-4AD4-B77B-9007F532DB96}"
    OpenviewGUIDSLcore(16) = "SOFTWARE\Hewlett-Packard\HP OpenView\{9A6A55C8-1496-4DE6-A4EF-4A92E667CFED}"

    Regards,

    Derek

  • 0 in reply to   

    Hi Duncan,

    I'm facing the same issues as well with Open Bridge Software and require to remove just HP Open View Operation Agent.

    Some of these servers requires to use oacleanall.vbs to full remove but obviously it caused issues to Open Bridge Software. I just wonder if keeping the NNMi subfolder will be suffice? Because I noticed a lot of GUID uninstall in the script and not sure if it will impact Open Bridge Software

    Some of the example GUID

    dctPackageGUID.Add "HPOvLcde", "{70B0CE3A-4EEA-4A43-AB90-0C7C0F8411BD}"
    dctPackageGUID.Add "HPOvLces", "{C3084B86-9527-42C5-8432-5A295F686671}"
    dctPackageGUID.Add "HPOvLcfr", "{18D3931B-5723-4F3F-AD87-0A9281AFCE0D}"
    dctPackageGUID.Add "HPOvLcja", "{B2422FF1-081B-4AD4-B77B-9007F532DB96}"
    dctPackageGUID.Add "HPOvLcko", "{12368FFE-07E7-4F91-8B11-92643C66F288}"
    dctPackageGUID.Add "HPOvLcnl", "{993403DF-9EBB-4DFE-956B-8721C611FC02}"
    dctPackageGUID.Add "HPOvLcpB", "{9EFDD0CA-3886-4A0A-97A8-0644B42ADF19}"
    dctPackageGUID.Add "HPOvLcru", "{1DF2D917-3270-4283-8445-4495D9754C87}"
    dctPackageGUID.Add "HPOvLczC", "{9A6A55C8-1496-4DE6-A4EF-4A92E667CFED}"
    dctPackageGUID.Add "HPOvEaAes", "{9E669239-6C16-4E58-BB4B-669A1B9ACFE0}"
    dctPackageGUID.Add "HPOvEaAja", "{33031540-B025-4509-ACAC-D1682E0111B1}"
    dctPackageGUID.Add "HPOvEaAko", "{60FA76B2-E431-4056-9613-9365709DFF0E}"
    dctPackageGUID.Add "HPOvEaAzC", "{E04C77CD-FAED-4A03-BD9F-B52DFF9C47D3}"

    GUIDArray(0) = "{92DBFB0F-BCF3-42F5-B6F2-746934AC631E}"
    GUIDArray(1) = "{46577A87-2556-4206-A3D7-8CA972206ECE}"


    GUIDArrayUpgradeCode(0) = "\Installer\UpgradeCodes\C677E5EEFF6993B4EB0D35930AA81631"
    GUIDArrayUpgradeCode(1) = "\Installer\UpgradeCodes\A398032C72821884699F33A9363E264F"
    GUIDArrayUpgradeCode(2) = "\Installer\UpgradeCodes\C5CB8E59D83C0E249938EF07CF8EF12A"
    GUIDArrayUpgradeCode(3) = "\Installer\UpgradeCodes\6E091A15CAD2E93468F6D0522A5E4FE6"
    GUIDArrayUpgradeCode(4) = "\Installer\UpgradeCodes\29C4836290F6D0847A12A8CEE18189DA"
    GUIDArrayUpgradeCode(5) = "\Installer\UpgradeCodes\CB283C07ACA72F344B6C27BF749D73A1"
    GUIDArrayUpgradeCode(6) = "\Installer\UpgradeCodes\4878ADC87E73E1844A04012F3610387A"
    GUIDArrayUpgradeCode(7) = "\Installer\UpgradeCodes\DC77C40EDEAF30A4DBF95BD2FFC9743D"
    GUIDArrayUpgradeCode(8) = "\Installer\UpgradeCodes\04513033520B9054CACA1D86E210111B"
    GUIDArrayUpgradeCode(9) = "\Installer\UpgradeCodes\2B67AF06134E65046931395607D9FFE0"
    GUIDArrayUpgradeCode(10) = "\Installer\UpgradeCodes\932966E961C685E4BBB466A9B1A9FC0E"
    GUIDArrayUpgradeCode(11) = "\Installer\UpgradeCodes\D457A97AE70F50847975234FA1336C51"

    OpenviewGUIDSLcore(0) = "SOFTWARE\Hewlett-Packard\HP OpenView\{1E3873F7-6238-4154-9B4D-521F541377B3}"
    OpenviewGUIDSLcore(1) = "SOFTWARE\Hewlett-Packard\HP OpenView\{3B2D0F0F-442E-472B-BFCC-0E1D93FBC70D}"
    OpenviewGUIDSLcore(2) = "SOFTWARE\Hewlett-Packard\HP OpenView\{478FA165-04FD-439F-8B5B-D5A87E606159}"
    OpenviewGUIDSLcore(3) = "SOFTWARE\Hewlett-Packard\HP OpenView\{8298AD72-7ADD-475C-9556-92F877C9333E}"
    OpenviewGUIDSLcore(4) = "SOFTWARE\Hewlett-Packard\HP OpenView\{93E26950-3687-4027-8804-5D06002C8A5D}"
    OpenviewGUIDSLcore(5) = "SOFTWARE\Hewlett-Packard\HP OpenView\{CB50535E-9EA4-4C26-9701-D5A2155BE929}"
    OpenviewGUIDSLcore(6) = "SOFTWARE\Hewlett-Packard\HP OpenView\{E88BBC99-55C7-46FA-AFF1-C0DAB5E05B8D}"
    OpenviewGUIDSLcore(7) = "SOFTWARE\Hewlett-Packard\HP OpenView\{EF122668-8D1E-4C13-9EF2-3396DA46B816}"
    OpenviewGUIDSLcore(8) = "SOFTWARE\Hewlett-Packard\HP OpenView\{F1BAB3F3-25F3-4EE2-B07D-29ED86DC2326}"
    OpenviewGUIDSLcore(9) = "SOFTWARE\Hewlett-Packard\HP OpenView\{F72A67FD-C4A5-492D-96C5-4A72E8DC2936}"
    OpenviewGUIDSLcore(10) = "SOFTWARE\Hewlett-Packard\HP OpenView\{FF578D75-B1DC-4E87-8C55-D8FE41FE62FD}"
    OpenviewGUIDSLcore(11) = "SOFTWARE\Hewlett-Packard\HP OpenView\{FF7FB1EA-7D65-4984-8C30-07721F804F9D}"
    OpenviewGUIDSLcore(12) = "SOFTWARE\Hewlett-Packard\HP OpenView\{C864A0D1-8EA6-488C-88D9-52B423E50079}"
    OpenviewGUIDSLcore(13) = "SOFTWARE\Hewlett-Packard\HP OpenView\{C3084B86-9527-42C5-8432-5A295F686671}"
    OpenviewGUIDSLcore(14) = "SOFTWARE\Hewlett-Packard\HP OpenView\{12368FFE-07E7-4F91-8B11-92643C66F288}"
    OpenviewGUIDSLcore(15) = "SOFTWARE\Hewlett-Packard\HP OpenView\{B2422FF1-081B-4AD4-B77B-9007F532DB96}"
    OpenviewGUIDSLcore(16) = "SOFTWARE\Hewlett-Packard\HP OpenView\{9A6A55C8-1496-4DE6-A4EF-4A92E667CFED}"

    Regards,

    Derek

  • 0   in reply to 

    Hello there,

    These GUIDs refer to softwareand upgrade codes related to what look like OA12 software packages.  The HPOvLc are language components and HPOvEa are related to "Event Action" language components.

    Have you tried deinstalling the agents based on https://docs.microfocus.com/doc/Operations_Agent/12.24/Uninstall?

    NNMi uses just one component which is perl.  Perl is importaint to NNMi.  This is what it looks like in the registry:

    This is the documented OA12 removal process:

    Stop all agent processes by running the following commands:

    opcagt -stop

    ttd -k

    Run the following command:

    On Windows 64-bit

    cscript %OvInstallDir%bin\win64\OpC\install\oainstall.vbs -r -a

    On Windows x86

    cscript %OvInstallDir%bin\OpC\install\oainstall.vbs -r -a

    On a Windows system, if the Operations Agent is in NPU mode, you must give the NPU password in the command line to remove patches or hotfixes.

    cscript %OvInstallDir%bin\win64\OpC\install\oainstall.vbs -r -a -npu_password <password>

    On Linux/HP-UX/Solaris

    /opt/OV/bin/OpC/install/oainstall.sh -r -a

    Did this process not work?  I guess so - what happened?

    Thanks,

    Duncan