VMware vSphere

 View Only
Expand all | Collapse all

Anyone have a script to remove all the HP/Compaq agents after conversion?

  • 1.  Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 02, 2007 05:05 AM

    Hi,

    With both old school P2V and the new converter tool, we have to uninstall about 10 HP agents/tools from "Add/Remove Programs", manually uninstall the HP Network Configuration Utility, and delete two registry keys that "Add/Remove Programs" does not remove after the conversion is completed.

    Does anyone have any sweet scripts or tools to do all this automatically?

    Thanks

    SlickBag



  • 2.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?
    Best Answer

    Posted Feb 05, 2007 02:09 PM

    Look in the registry...

    Look in HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\(HP Software Name)

    You'll probably see a "QuietUninstallString" value in some of them.

    An example would be: "C:\Program Files\Compaq\hpadu\hpuninst.exe /s" for the HP Array Diagnostic Utility.

    Copy all of these to a .bat file, and then execute the .bat. You may run into some dependencies, but when you figure those out, you'll be good to go.



  • 3.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 05, 2007 02:13 PM

    Thanks - I'll try it out!

    SlickBag



  • 4.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 05, 2007 02:18 PM

    If you get one together... Pass it along to me...

    I'll have a bunch of HP's to Convert in the next couple months...

    Many thanks!



  • 5.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 05, 2007 02:35 PM

    Will do!

    SlickBag



  • 6.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 05, 2007 04:29 PM

    There is also a bunch of old hardware that does not get cleaned up. If you do the "set devmgr=show_nonpresent_devices=1" go into device manager and select "show hidden devices" you'll see lots of old HP hardware drivers in there. It would be nice to automate that whole cleanup also.



  • 7.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 05, 2007 04:35 PM

    Thanks for the information in this topic. I have the same issues here. This will defiantly short my overall prep time for a converted server!



  • 8.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 05, 2007 11:02 PM

    OK - I think I have something somewhat useful working - need to tweak it a bit.

    The one think I can't figure out how to remove is the "HP Network Configuration Utility". There is no "Add/Remove Programs" for it that I can find and it has to be removed by right-clicking on a NIC, selecting properties, clicking on it in the list, and then clicking the "Uninstall" button.

    Anyone have any ideas how to automate removing that?

    SlickBag



  • 9.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 02:19 AM

    I'll take a look at it when I get in tomorrow...



  • 10.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 03:37 AM

    I think that you can '86 this registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\{4D36E975-E325-11CE-BFC1-08002BE10318}\{FD0FF0D6-4876-4894-9274-258564E35C07}

    But I'm not 100% sure...



  • 11.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 06:31 AM

    Here is what I came up with so far - not pretty, and not 100% tested so USE CAUTION!!!

    @ECHO OFF

    ECHO.

    ECHO HP Physcial to Virtual Cleaner Utility

    ECHO Author: your name here[/i]

    ECHO.

    ECHO.

    ECHO *******************************************************

    ECHO * This batch file semi-automates the removal of the HP

    ECHO * software (agents and drivers) from a Virtaul server

    ECHO * that has been virtualized using P2V Helper, VMware

    ECHO * Converter, or similar software from an HP or Compaq

    ECHO * physical server. This batch file assumes relatively

    ECHO * newer versions of the support software, and may not

    ECHO * completely remove all the software for older versions.

    ECHO *******************************************************

    ECHO.

    ECHO.

    ECHO USE AT YOUR OWN RISK!!!

    ECHO.

    ECHO *****************************

    ECHO Type "ctrl-c" to quit now!!!

    ECHO *****************************

    ECHO.

    ECHO USE AT YOUR OWN RISK!!!

    ECHO.

    Pause

    cls

    If NOT Exist "%SYSTEMROOT%\system32\atiiiexx.dll" Goto HP

    ECHO Removing the "ATI Display Driver"...

    rundll32 %SYSTEMROOT%\system32\atiiiexx.dll,_InfEngUnInstallINFFile_RunDLL@16 -inf_class:DISPLAY -clean

    :HP

    ECHO Removing the "HP ProLiant Legacy Port Configuration Component"...

    "C:\Program Files\Compaq\CpqLpcc\hpuninst.exe" /s

    ECHO Removing the "HP ProLiant Remote Monitor Service"...

    %SYSTEMROOT%\system32\hpuninst.exe /s

    ECHO Removing the "HP Version Control Agent"...

    C:\hp\hpsmh\data\cgi-bin\vcagent\vcaremov.exe /silent C:\hp\hpsmh\data\cgi-bin\vcagent\vcagent.inf

    ECHO Removing the "HP Array Configuration Utility"...

    "C:\Program Files\Compaq\Cpqacuxe\hpuninst.exe" /s

    ECHO Removing the "HP Array Configuration Utility CLI"...

    "C:\Program Files\Compaq\Hpacucli\hpuninst.exe" /s

    ECHO Removing the "HP Array Diagnostic Utility"...

    "C:\Program Files\Compaq\hpadu\hpuninst.exe" /s

    ECHO Removing the "HP ProLiant Integrated Management Log Viewer"...

    "C:\Program Files\Compaq\Cpqimlv\hpuninst.exe" /s

    ECHO Removing the "HP Insight Management Agents"...

    %SYSTEMROOT%\system32\CPQMgmt\aguninst.exe /s

    If NOT Exist C:\hp\hpsmh\data\htdocs\DataProtection\UnInstall.exe GOTO OLDAGENTS

    ECHO Removing the "HP Protect Your Data"...

    C:\hp\hpsmh\data\htdocs\DataProtection\UnInstall.exe

    :OLDAGENTS

    If NOT Exist "C:\Program Files\HP\hponcfg\hpuninst.exe" GOTO NOMP

    ECHO Removing the "HP Lights-Out Online Configuration Utility"...

    "C:\Program Files\HP\hponcfg\hpuninst.exe" /s

    :NOMP

    ECHO Removing the "HP System Management Homepage"...

    RunDll32 C:\PROGRA1\COMMON1\INSTAL1\PROFES1\RunTime\11\00\Intel32\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{3C4DF0FD-95CF-4F7B-A816-97CEF616948F}\setup.exe" -l0x9 -removeonly

    ECHO Removing the "HP Insight Diagnostics Online Edition for Windows"...

    ECHO Older, problematic version...

    RunDll32 C:\PROGRA1\COMMON1\INSTAL1\engine\6\INTEL31\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{3754251E-100C-47D4-AB86-DC34047EE3C4}\setup.exe" -l0x9 UNINSTALL

    ECHO Newer, good version...

    MsiExec.exe /X\{04DDF575-93A4-4682-A4F1-ABD29ECDFE04}

    If NOT Exist "%PROGRAMFILES%\VMware\VMware Converter\InstMsi.exe" GOTO NOCONVERTER

    ECHO Removing the "VMware Converter" if left behind from VMware Convertor job...

    MsiExec.exe /I\{A4D04B1A-DCF1-4C8C-8FFE-07D145812742}

    :NOCONVERTER

    ECHO Removing registry keys for services without a "Removal Option"...

    regedit /s p2vcleaner.reg

    ECHO Deleting old HP and COmpaq directories that are no longer needed...

    rd /s/q c:\hp

    rd /s/q c:\compaq

    rd /s/q c:\cpqsystem

    rd /s/q "%PROGRAMFILES%\compaq

    rd /s/q "%PROGRAMFILES%\hp

    rd /s/q %SYSTEMROOT%\system32\CPQMgmt

    ECHO.

    PAUSE

    and the REG file in the same directory contains this:

    Windows Registry Editor Version 5.00

    I guess this can be a work in progress. As people find new, better ways to do this, feel free to update and post back for others to use. This is just my first shot at it, so I am sure there is a LOT that can be done to make it better.

    SlickBag



  • 12.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 06:39 AM

    Actually, change this:

    MsiExec.exe /I\{A4D04B1A-DCF1-4C8C-8FFE-07D145812742}

    to be this:

    MsiExec.exe /X\{A4D04B1A-DCF1-4C8C-8FFE-07D145812742}



  • 13.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 02:54 PM

    And change:

    C:\Program Files

    To:

    %PROGRAMFILES%



  • 14.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 03:08 PM

    I'm working on a new conversion today. I'll get the batch file with your updates a try.

    I'll post back here on how things turn out.

    LT.



  • 15.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 03:53 PM

    Great! I have not tried out Jase's step for removing the HP Network Configuration tool yet. So you may want to try that out as well.



  • 16.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 04:47 PM

    Looks like SNETCFG might be a solution to removing the HP Network Conifiguration tool...I just can't seem to find the INF for it. Heres an example of how they remove the MS Netware client:

    http://www.novell.com/coolsolutions/tip/15850.html



  • 17.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 06:14 PM

    I haven't used snetcfg, but netcfg should acomplish your goal.

    NETCFG.EXE -v -u cq_cpqteam

    NETCFG.EXE -v -u cpq_trmibdrv



  • 18.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 06:18 PM

    Cool. Except, NETCFG is MIA. Can't seem to locate a copy of it. I think its part of WinPE - but not certain. So that's when I found a copy of snetcfg floating around available for dl on the net.



  • 19.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 06:23 PM

    How about netsh?



  • 20.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 06:28 PM

    OK - I got SNETCFG working (thanks to the previous post; the same command line worked for SNETCFG as it did for NETCFG):

    snetcfg -v -u cq_cpqteam

    snetcfg can be downloaded at http://www.jsifaq.com/docs/files/76011/snetcfg.zip

    I will be posting an updated BAT file shortly.

    Thanks all so far for the awesome feedback and help. This is working out quite nicely so far.

    SlickBag



  • 21.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 06:36 PM

    Here it is:

    1) Create a new batch file (p2vcleaner.bat for example). The contents are listed below.

    2) Create a new REG file (must be called p2vcleaner.reg). The contents are listed below.

    3) Download snetcfg.exe off the Internet (http://www.jsifaq.com/docs/files/76011/snetcfg.zip)

    4) Put all three files in the same directory on your freshly P2Ved VM (c:\p2vscripts for example)

    5) Run the batch file.

    6) Manually uninstall any HP tools that the batch file choked on.

    7) Delete the P2VScripts directory.

    8) Reboot

    BATCH File:

    @ECHO OFF

    ECHO.

    ECHO HP Physcial to Virtual Cleaner Utility

    ECHO Author: SlickBag

    ECHO.

    ECHO.

    ECHO **********************************************************

    ECHO * This batch file semi-automates the removal of the HP *

    ECHO * software (agents and drivers) from a Virtaul server *

    ECHO * that has been virtualized using P2V Helper, VMware *

    ECHO * Converter, or similar software from an HP or Compaq *

    ECHO * physical server. This batch file assumes relatively *

    ECHO * newer versions of the support software, and may not *

    ECHO * completely remove all the software for older versions. *

    ECHO **********************************************************

    ECHO.

    ECHO.

    ECHO USE AT YOUR OWN RISK!!!

    ECHO.

    ECHO *****************************

    ECHO Type "ctrl-c" to quit now!!!

    ECHO *****************************

    ECHO.

    ECHO USE AT YOUR OWN RISK!!!

    ECHO.

    Pause

    cls

    If NOT Exist "%SYSTEMROOT%\system32\atiiiexx.dll" Goto HP

    ECHO Removing the "ATI Display Driver"...

    rundll32 %SYSTEMROOT%\system32\atiiiexx.dll,_InfEngUnInstallINFFile_RunDLL@16 -inf_class:DISPLAY -clean

    :HP

    ECHO Removing the "HP ProLiant Legacy Port Configuration Component"...

    "%PROGRAMFILES%\Compaq\CpqLpcc\hpuninst.exe" /s

    ECHO Removing the "HP ProLiant Remote Monitor Service"...

    %SYSTEMROOT%\system32\hpuninst.exe /s

    ECHO Removing the "HP Version Control Agent"...

    C:\hp\hpsmh\data\cgi-bin\vcagent\vcaremov.exe /silent C:\hp\hpsmh\data\cgi-bin\vcagent\vcagent.inf

    ECHO Removing the "HP Array Configuration Utility"...

    "%PROGRAMFILES%\Compaq\Cpqacuxe\hpuninst.exe" /s

    ECHO Removing the "HP Array Configuration Utility CLI"...

    "%PROGRAMFILES%\Compaq\Hpacucli\hpuninst.exe" /s

    ECHO Removing the "HP Array Diagnostic Utility"...

    "%PROGRAMFILES%\Compaq\hpadu\hpuninst.exe" /s

    ECHO Removing the "HP ProLiant Integrated Management Log Viewer"...

    "%PROGRAMFILES%\Compaq\Cpqimlv\hpuninst.exe" /s

    ECHO Removing the "HP Insight Management Agents"...

    %SYSTEMROOT%\system32\CPQMgmt\aguninst.exe /s

    If NOT Exist C:\hp\hpsmh\data\htdocs\DataProtection\UnInstall.exe GOTO OLDAGENTS

    ECHO Removing the "HP Protect Your Data"...

    C:\hp\hpsmh\data\htdocs\DataProtection\UnInstall.exe

    :OLDAGENTS

    If NOT Exist "C:\Program Files\HP\hponcfg\hpuninst.exe" GOTO NOMP

    ECHO Removing the "HP Lights-Out Online Configuration Utility"...

    "%PROGRAMFILES%\HP\hponcfg\hpuninst.exe" /s

    :NOMP

    ECHO Removing the "HP System Management Homepage"...

    RunDll32 C:\PROGRA1\COMMON1\INSTAL1\PROFES1\RunTime\11\00\Intel32\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{3C4DF0FD-95CF-4F7B-A816-97CEF616948F}\setup.exe" -l0x9 -removeonly

    ECHO Removing the "HP Insight Diagnostics Online Edition for Windows"...

    ECHO Older, problematic version...

    RunDll32 C:\PROGRA1\COMMON1\INSTAL1\engine\6\INTEL31\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{3754251E-100C-47D4-AB86-DC34047EE3C4}\setup.exe" -l0x9 UNINSTALL

    ECHO Newer, good version...

    MsiExec.exe /X\{04DDF575-93A4-4682-A4F1-ABD29ECDFE04}

    If NOT Exist "%PROGRAMFILES%\VMware\VMware Converter\InstMsi.exe" GOTO NOCONVERTER

    ECHO Removing the "VMware Converter" if left behind from VMware Convertor job.......requires a reboot...

    MsiExec.exe /X\{A4D04B1A-DCF1-4C8C-8FFE-07D145812742}

    ECHO Removing the "HP Network Congifuration Utility"....requires a reboot...

    snetcfg.exe -v -u cq_cpqteam

    :NOCONVERTER

    ECHO Removing registry keys for services without a "Removal Option"...

    regedit /s p2vcleaner.reg

    ECHO Deleting old HP and COmpaq directories that are no longer needed...

    rd /s/q c:\hp

    rd /s/q c:\compaq

    rd /s/q c:\cpqsystem

    rd /s/q "%PROGRAMFILES%\compaq

    rd /s/q "%PROGRAMFILES%\hp

    rd /s/q %SYSTEMROOT%\system32\CPQMgmt

    ECHO.

    PAUSE

    REG File:

    Windows Registry Editor Version 5.00

    Let me know how it works.

    SlickBag



  • 22.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 08:03 PM

    I just tried it on a DL360 G2 running Win2k and it worked perfectly!

    Thanks SlickBag! wish I could give you points!



  • 23.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 08:04 PM

    Saaaweeeet!



  • 24.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 08:05 PM

    Awesome!

    Now we just need to find a place to host it, so we don't have to search for this thread every time we lose it.



  • 25.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 08:17 PM

    Thanks Jase for the tip to use the UNINSTALL strings from the registry.



  • 26.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 09:39 PM

    Old trick... Been around since Win95.

    I'm just glad I could help!



  • 27.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 06, 2007 10:06 PM

    ... this kind of stuff is exactly what I want to run automated with this tool

    http://sanbarrow.com/moa2/a3.jpg



  • 28.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 07, 2008 07:49 PM

    Great Thread. Thanks for the information. I decided to go with a slightly different approach and want to show it to you. I created a vbscript that does the following:

    1. Reads a list of programs to uninstall from a file (listed by display name) called HPList.txt located in the same directory as this script

    2. Reads all the uninstall registry subkeys and stores the display name and uninstall string

    3. Sorts the stored registry information in descending order so the GUID keys are last

    4. Compares the two lists and runs the uninstall program for any matches.

    Note: You may get some messages that says program not installed. That's because there may be multiple reg keys. One under the name and one under the GUID.

    The reason why I chose to do it this way, is that it's less version specific. As long as the display name doesn't change it should work.

    The script is a little messy and it needs cleaned up, but it seems to work for me.

    I attached a zip file containing the script and the HPlist that has most of the programs that need removed.

    Any comments or suggstions are appreciated.



  • 29.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 07, 2008 07:58 PM

    Awesome! Looks very cool. I will be checking it out shortly.

    S.B.



  • 30.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 07, 2008 09:52 PM

    I'm an idiot.

    I didn't see page two of this thread. I can add the manual uninstalls like the network configuration utility as well as removing excess registry keys and files.

    I'm not sure when though. I wasted an awful lot of time doing what I did so far.



  • 31.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 08, 2008 09:11 PM

    OK. I made some changes:

    I renamed the HPlist.txt to HPAutoList.txt and adde HPManList.txt (manual)

    Inside the HPManList.txt you can add hopefully any command lines, like you would be able to in a batch file.

    I also fixed some other problems.

    One issue left open is that some of the uninstall strings in the registry might error out. The reason has to do with spaces in the paths when there is in argument with the exe.

    I still have to work on that. I attached the new files.



  • 32.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Apr 03, 2008 05:15 PM

    Can you post the snetcfg.exe since the download link no longer works? I'm trying to get rid of the HP Network that doesn't seem to want to uninstall/stop.



  • 33.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Apr 16, 2008 03:25 PM

    Why not use netcfg?



  • 34.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Apr 24, 2008 01:36 PM

    Same here, can't find snetcfg.exe anyway

    Other question: I see a lot of services like cpqasm, cpqphp etc...

    Which of these can be deleted? Do I need to delete these or don't they harm?

    Script is great, deletes almost all software

    thx!



  • 35.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Apr 24, 2008 10:26 PM

    Sorry guys, regarding the snetcfg.exe, I just don't feel comfortable posting software that I do not legally own. I know lots of people do it, and it would problably be OK, but I would rather not take the chance and get into legal trouble for it.

    I will dig around and see if I can find a site hosting it again.

    SB



  • 36.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Apr 24, 2008 10:34 PM

    I sent this email to Evan, who I believe wrote the utility. Waiting to see if he can provide us a new link:

    Hi Evan,

    A few of us have been using your snetcfg.exe utility to do some post P2V cleanup (converting HP servers to VMware virtual servers). However the link to your utility no longer works:

    http://www.jsifaq.com/docs/files/76011/snetcfg.zip

    Some people on the VMware forums are looking for this utility, and I did not feel comfortable just sending it to them, for legal reasons. I was wondering if you could provide us a link to where we can download it again.

    SB



  • 37.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Apr 25, 2008 10:34 AM

    First,

    Thanks to all for the helpfull script. This has taken me ages to do normally. Will try the script soon, but seems like it works fine from others comments.

    Don't know it you managed to find an easy solution to the "uninstall HP Networking" issue yet, but here is how I do it. And if you script the Agent uninstall, this shouldnt be such a big problem to do "manually".

    Go into the Nic'sproperties, and there you see IP , HP Networking, etc. Click HP Networking and uninstall. It reboots, and away you go.



  • 38.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Apr 25, 2008 02:07 PM

    Yep - you can always remove it manually following the instructions you provided. I was just trying to automate all of it, so I was using the SNETCFG to allow that portion to be scripted as well. It does work - assumming you have the SNETCFG utility :smileyhappy:

    SB



  • 39.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Apr 25, 2008 03:03 PM

    Here is an updated version of my batch file. It includes updates for the HP 8.00 Support Pack, including the new WBEM agents (although not quiet, as it uses a VB file to do the uninstall). I have also cleaned up some of the labels - I was a bit inconsistent earlier in my naming standards. It is somewhat tested...use at your own risk :smileyhappy:

    @ECHO OFF

    ECHO HP Physcial to Virtual Cleaner Utility (Version 04-25-2008)

    ECHO Author: SlickBag

    ECHO.

    ECHO ***********************************************************************

    ECHO * This batch file semi-automates the removal of management

    ECHO * agents and drivers from a virtual server that has been

    ECHO * virtualized from an HP or Compaq physical server using

    ECHO * P2V Helper, VMware Converter, or similar software. This

    ECHO * batch file assumes relatively newer versions of the HP

    ECHO * support software, and may not completely remove all the

    ECHO * software for older versions.

    ECHO ***********************************************************************

    ECHO.

    ECHO Note - The VMware Converter may leave some HP files corrupt.

    ECHO You may want to run a "chkdisk" on the system drive

    ECHO to fix any bad files before running this batch file.

    ECHO.

    ECHO USE AT YOUR OWN RISK!!!

    ECHO.

    ECHO *****************************

    ECHO Type "ctrl-c" to quit now!!!

    ECHO *****************************

    ECHO.

    ECHO USE AT YOUR OWN RISK!!!

    Pause

    cls

    :OLDARRAYCONFIG

    ECHO Removing the "HP Array Configuration Utility"...

    If NOT Exist "%PROGRAMFILES%\Compaq\Cpqacuxe\hpuninst.exe" GOTO NEWARRAYCONFIG

    "%PROGRAMFILES%\Compaq\Cpqacuxe\hpuninst.exe" /s

    GOTO OLDARRAYCONFIGCLI

    :NEWARRAYCONFIG

    MsiExec.exe /X{836DF43A-9008-4334-9D08-6CB8D742BC74} /quiet

    MsiExec.exe /X{0FC83811-F7AB-4D02-89EF-D86A7333C6C3} /quiet

    MsiExec.exe /X{52C53F6F-9F0B-4333-BA38-35DB5BE7C12E} /quiet

    :OLDARRAYCONFIGCLI

    ECHO Removing the "HP Array Configuration Utility CLI"...

    If NOT Exist "%PROGRAMFILES%\Compaq\Hpacucli\hpuninst.exe" GOTO NEWARRAYCONFIGCLI

    "%PROGRAMFILES%\Compaq\Hpacucli\hpuninst.exe" /s

    GOTO OLDARRAYDIAG

    :NEWARRAYCONFIGCLI

    MsiExec.exe /X{4C22F82F-389B-41C4-BD8E-96D5F3EAB5D9} /quiet

    MsiExec.exe /X{FC1534DB-31FE-4994-A91C-120A9AB7CE17} /quiet

    MsiExec.exe /X{34134D3E-AE5E-4CA5-A1DE-B0A3D9C19F77} /quiet

    :OLDARRAYDIAG

    ECHO Removing the "HP Array Diagnostic Utility"...

    If NOT Exist "%PROGRAMFILES%\Compaq\hpadu\hpuninst.exe" GOTO NEWARRAYDIAG

    "%PROGRAMFILES%\Compaq\hpadu\hpuninst.exe" /s

    GOTO SAENS

    :NEWARRAYDIAG

    MsiExec.exe /X{6FB456CA-B4B4-4B17-9CDD-A05B4E882E06} /quiet

    MsiExec.exe /X{E66B176F-F12D-45D9-9125-CC66C53FCB5C} /quiet

    MsiExec.exe /X{D7B169BD-D8BF-4520-B519-81F85AD91843} /quiet

    :SAENS

    If NOT Exist "%PROGRAMFILES%\HP\Cissesrv\cissesrv.exe" GOTO OLDDIAG

    Echo Removing the "HP Smart Array SAS/SATA Event Notification Service"...

    MsiExec.exe /X{2FB2F62B-C28F-43BA-82FC-6E782807B195} /quiet

    :OLDDIAG

    ECHO Removing the "HP Insight Diagnostics Online Edition for Windows"...

    If NOT Exist "%PROGRAMFILES%\InstallShield Installation Information\{3754251E-100C-47D4-AB86-DC34047EE3C4}\setup.exe" GOTO NEWDIAG

    RunDll32 C:\PROGRA1\COMMON1\INSTAL1\engine\6\INTEL31\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{3754251E-100C-47D4-AB86-DC34047EE3C4}\setup.exe" -l0x9 UNINSTALL

    :NEWDIAG

    MsiExec.exe /X{04DDF575-93A4-4682-A4F1-ABD29ECDFE04} /quiet

    MsiExec.exe /X{97D259B9-2076-4C25-97E1-440D9D038229} /quiet

    :OLDHPAGENTS

    ECHO Removing the "HP Insight Management Agents"...

    If NOT Exist %SYSTEMROOT%\system32\CPQMgmt\aguninst.exe GOTO NEWHPAGENTS

    %SYSTEMROOT%\system32\CPQMgmt\aguninst.exe /s

    GOTO OLDHPONCFG

    :NEWHPAGENTS

    MsiExec.exe /X{DFB7A687-8111-4CC2-B175-9431708F7902} /quiet

    MsiExec.exe /X{869F01A1-DB56-4876-8752-2C835BB6AB53} /quiet

    MsiExec.exe /X{50B62114-7AFE-4428-A778-16BFA8E93044} /quiet

    :OLDHPONCFG

    ECHO Removing the "HP Lights-Out Online Configuration Utility"...

    If NOT Exist "%PROGRAMFILES%\HP\hponcfg" GOTO CHECKIML

    If NOT Exist "%PROGRAMFILES%\HP\hponcfg\hpuninst.exe" GOTO NEWHPONCFG

    "%PROGRAMFILES%\HP\hponcfg\hpuninst.exe" /s

    GOTO OLDIML

    :NEWHPONCFG

    MsiExec.exe /X{F8C40C34-FF8A-4A4D-8FA4-8DFF4503A61C} /quiet

    MsiExec.exe /X{F1FA13C8-E4D8-45E4-B1A1-1984FE50B7F7} /quiet

    MsiExec.exe /X{2343987D-E96B-4670-96F6-99270DFC2F5F} /quiet

    :OLDIML

    ECHO Removing the "HP ProLiant Integrated Management Log Viewer"...

    If NOT Exist "%PROGRAMFILES%\Compaq\Cpqimlv\hpuninst.exe" GOTO NEWIML

    "%PROGRAMFILES%\Compaq\Cpqimlv\hpuninst.exe" /s

    GOTO LPC

    :NEWIML

    MsiExec.exe /X{B03AAFA3-07B7-4D93-8ECD-12B977BF861E} /quiet

    MsiExec.exe /X{1FCDA905-9C8F-4544-84C0-106CDAB7842C} /quiet

    MsiExec.exe /X{4F8D40CA-D8AB-4AA6-B47D-AA8FA845E530} /quiet

    MsiExec.exe /X{949F1167-A591-4DFE-944A-8D1FC68896D4} /quiet

    :LPC

    If NOT Exist "%PROGRAMFILES%\Compaq\CpqLpcc\hpuninst.exe" GOTO IPMI

    ECHO Removing the "HP ProLiant Legacy Port Configuration Component"...

    "%PROGRAMFILES%\Compaq\CpqLpcc\hpuninst.exe" /s

    :IPMI

    If NOT Exist "%PROGRAMFILEs%\HPWBEM\IPMI" GOTO OLDRMS

    ECHO Removing the "HP ProLiant IPMI WMI Provider"...

    MsiExec.exe /X{DF6412FA-0E25-4B23-9E80-116C061B4FD1} /quiet

    MsiExec.exe /X{6BD49497-AFE5-43D4-9B7B-AAD7B405E110} /quiet

    :OLDRMS

    ECHO Removing the "HP ProLiant Remote Monitor Service"...

    If NOT Exist %SYSTEMROOT%\system32\hpuninst.exe GOTO NEWRMS

    %SYSTEMROOT%\system32\hpuninst.exe /s

    GOTO DP

    :NEWRMS

    MsiExec.exe /X{0DEE841C-14D1-4497-8204-31B04370FDB7} /quiet

    MsiExec.exe /X{8562966D-9ACB-4496-A443-378C6E4A50BA} /quiet

    MsiExec.exe /X{93EF387B-6884-4ADE-806E-E98F05DD2A4C} /quiet

    MsiExec.exe /X{28F48D1F-C815-4236-BD96-1644263EC1DF} /quiet

    :DP

    If NOT Exist C:\hp\hpsmh\data\htdocs\DataProtection\UnInstall.exe GOTO OLDHPVCA

    ECHO Removing the "HP Protect Your Data"...

    C:\hp\hpsmh\data\htdocs\DataProtection\UnInstall.exe >Nul: 2>&1

    :OLDHPVCA

    ECHO Removing the "HP Version Control Agent"...

    If NOT Exist C:\hp\hpsmh\data\cgi-bin\vcagent\vcaremov.exe GOTO NEWHPVCA

    C:\hp\hpsmh\data\cgi-bin\vcagent\vcaremov.exe /silent C:\hp\hpsmh\data\cgi-bin\vcagent\vcagent.inf

    GOTO OLDSMH

    :NEWHPVCA

    MsiExec.exe /X{5A5F45AE-0250-4C34-9D89-F10BDDEE665F} /quiet

    :OLDSMH

    ECHO Removing the "HP System Management Homepage"...

    If NOT Exist "C:\PROGRA1\COMMON1\INSTAL1\PROFES1\RunTime\11\00\Intel32\Ctor.dll" GOTO NEWSMH

    If NOT Exist "C:\Program Files\InstallShield Installation Information\{3C4DF0FD-95CF-4F7B-A816-97CEF616948F}\setup.exe" GOTO NEWSMH

    RunDll32 C:\PROGRA1\COMMON1\INSTAL1\PROFES1\RunTime\11\00\Intel32\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{3C4DF0FD-95CF-4F7B-A816-97CEF616948F}\setup.exe" -l0x9 -removeonly

    :NEWSMH

    "C:\Program Files\InstallShield Installation Information\{3C4DF0FD-95CF-4F7B-A816-97CEF616948F}\setup.exe"

    :ARRAYDME

    Echo Removing the "HP ProLiant Smart Array Device Manager Extension"...

    MsiExec.exe /X{4FE559EC-C5CC-40AB-A7BE-A03C21ACCD2D} /quiet

    MsiExec.exe /X{5B9E3229-A5B3-459B-8B96-BA52A63BB140} /quiet

    If NOT Exist "%PROGRAMFILES%\VMware\VMware Converter\InstMsi.exe" GOTO HPWBEM

    ECHO Removing the "VMware Converter"...

    MsiExec.exe /X{A4D04B1A-DCF1-4C8C-8FFE-07D145812742} /quiet

    MsiExec.exe /X{EF8B6B5D-A38C-431A-81FF-2C8E3215C6A2} /quiet

    :HPWBEM

    If NOT Exist C:\CPQSYSTEM\uninstall\CB9CC4E0-ACBF-40C9-B1EF-F28CDF47486D.vbs GOTO HEADLESS

    ECHO Removing the "HP Insight Management WBEM Providers"...

    wscript.exe "C:\CPQSYSTEM\uninstall\CB9CC4E0-ACBF-40C9-B1EF-F28CDF47486D.vbs"

    :HEADLESS

    Echo Removing the "Headless Server Registry Update"...

    MsiExec.exe /X{4E5563B6-DE0A-4F3B-A5D6-15789FD12D9B} /quiet

    :HPNETCFG

    ECHO Removing the "HP Network Congifuration Utility"...

    snetcfg.exe -v -u cq_cpqteam >Nul: 2>&1

    ECHO Removing registry keys for services without a "Removal Option"...

    regedit /s p2vcleaner.reg

    ECHO Deleting old HP and Compaq directories that are not needed...

    rd /s/q c:\hp >Nul: 2>&1

    rd /s/q c:\compaq >Nul: 2>&1

    rd /s/q c:\cpqsystem >Nul: 2>&1

    rd /s/q "%PROGRAMFILES%\compaq" >Nul: 2>&1

    rd /s/q "%PROGRAMFILES%\hp" >Nul: 2>&1

    rd /s/q %SYSTEMROOT%\system32\CPQMgmt >Nul: 2>&1

    ECHO.

    ECHO All software has been removed...please reboot.

    PAUSE

    Enjoy!

    SB



  • 40.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Aug 30, 2008 10:43 AM

    Hey, great script.

    How about changing the .reg file into:

    reg delete HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\sysdown /FORCE

    reg delete HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\sysmgmt /FORCE

    Should work on both win2k and win2k3

    Sorry, the /FORCE switch only seems to be on win2k. Still, it works without it, you just have to answer Y twice then..



  • 41.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Jan 29, 2009 05:25 PM

    great work SlickBag. In the latest script, you have "GOTO CHECKIML" but there isn't a batch label of "CHECKIML" anywhere so it exits



  • 42.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Mar 04, 2009 09:28 PM

    I have the same issue when we P2V hundred of HP/Compaq servers to VMware ESX.

    I wrote a FREE application called HP Proliant Support Cleaner to remove PSP from servers.

    The app is available at



  • 43.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Apr 08, 2009 10:55 AM

    Hi Guys,

    Is there a tool to clean the network connections as when after p2v when we reassign the static ip address we have a warring for IP address for the existing network card. We have used the SET command to view any ghosted Device but cant see any hidden devices.

    Also is there an updated script to remove HP Software as we get WMI errors regarding HP Software once we use the script and reboot.



  • 44.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Aug 08, 2008 01:54 PM

    here some new links to the SNETCFG tools:

    http://network.mpei.ac.ru/lang/rus/faqw2kxp/jsifaq/rh4705.htm

    http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=186520

    not checked, so use your virusscanner first :smileyhappy:



  • 45.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 08, 2007 03:56 PM

    Finally got a chance to run the batch file and it worked for me as well. Thanks again.

    LT



  • 46.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 08, 2007 04:25 PM

    Great. Thanks for the feedback.



  • 47.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 09, 2007 01:42 PM

    Thanks for wrapping this up.

    My hardware guy decided to update some HP support packs on a bunch of HP Blades. He didn't know that, months ago, several of these systems were migrated to VM's.

    I got rid of the HP stuff back then, but his "list" wasn't correct, and he installed the latest support pack on a couple VM's.

    Needless to say, this helped me out quit a bit.

    You have put the script together nicely.

    Many thanks!

    Jase

    BTW, there's one that the script did miss:

    HP Proliant Integrated Management Log Viewer. The uninstall string is in the script, but it didn't work for me.

    I modified this portion...[code]ECHO Removing the "HP ProLiant Integrated Management Log Viewer"...

    "%PROGRAMFILES%\Compaq\Cpqimlv\hpuninst.exe" /s[/code][code]ECHO Removing the "HP ProLiant Integrated Management Log Viewer"...

    MsiExec.exe /X\{B03AAFA3-07B7-4D93-8ECD-12B977BF861E}[/code]

    became:[code]ECHO Removing the "HP ProLiant Integrated Management Log Viewer"...

    MsiExec.exe /X\{B03AAFA3-07B7-4D93-8ECD-12B977BF861E}[/code]

    And BTW, if you put \[ code ] and \[ /code ] around text (without the spaces) it will show up as code in your posts...



  • 48.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 09, 2007 03:07 PM

    Kewl - thanks for the tip about the code. I also made a few more changes to cleanup the output at the directory removal stage:

    \[Code]

    ECHO Deleting old HP and COmpaq directories that are no longer needed...

    rd /s/q c:\hp

    rd /s/q c:\compaq

    rd /s/q c:\cpqsystem

    rd /s/q "%PROGRAMFILES%\compaq

    rd /s/q "%PROGRAMFILES%\hp

    rd /s/q %SYSTEMROOT%\system32\CPQMgmt

    to this:

    \[Code]

    ECHO Deleting old HP and Compaq directories that are no longer needed...

    rd /s/q c:\hp >Nul: 2>&1

    rd /s/q c:\compaq >Nul: 2>&1

    rd /s/q c:\cpqsystem >Nul: 2>&1

    rd /s/q "%PROGRAMFILES%\compaq >Nul: 2>&1

    rd /s/q "%PROGRAMFILES%\hp >Nul: 2>&1

    rd /s/q %SYSTEMROOT%\system32\CPQMgmt >Nul: 2>&1

    ...little trick I picked up from Terminal Server scripts...

    Slickbag.



  • 49.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 09, 2007 03:09 PM

    Well didn't work :smileysad:



  • 50.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 09, 2007 03:19 PM

    it's case sensative, use lower case c's[/code]

    edit, looks like single quotes change the color too, weird

    Message was edited by:

    thanifan



  • 51.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 09, 2007 03:20 PM

    ECHO Deleting old HP and COmpaq directories that are no longer needed...

    rd /s/q c:\hp

    rd /s/q c:\compaq

    rd /s/q c:\cpqsystem

    rd /s/q "%PROGRAMFILES%\compaq"

    rd /s/q "%PROGRAMFILES%\hp"

    rd /s/q %SYSTEMROOT%\system32\CPQMgmt

    to this:

    ECHO Deleting old HP and Compaq directories that are no longer needed...

    rd /s/q c:\hp >Nul: 2>&1

    rd /s/q c:\compaq >Nul: 2>&1

    rd /s/q c:\cpqsystem >Nul: 2>&1

    rd /s/q "%PROGRAMFILES%\compaq" >Nul: 2>&1

    rd /s/q "%PROGRAMFILES%\hp" >Nul: 2>&1

    rd /s/q %SYSTEMROOT%\system32\CPQMgmt >Nul: 2>&1

    Thanks!



  • 52.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 09, 2007 03:39 PM

    Hmmm...

    I am looking at the uninstall string for the IML on a server running the 7.5 agents and it shows

    "%PROGRAMFILES%\Compaq\Cpqimlv\hpuninst.exe" /s[/code]

    Jase - do you know what version of the agents you had on the box that did not work with this? I am currently downloading the 7.7 version to see what that shows as the uninstall string. I also checked a server running version 7.3 and it was the same - so either you have an older version or you are at the newest version which changes the uninstall.

    Slickbag



  • 53.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 09, 2007 03:55 PM

    I'll have to touch base with the my hardware guy...

    I'm pretty sure it is the latest though...



  • 54.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 09, 2007 04:00 PM

    LOL!



  • 55.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 09, 2007 04:11 PM

    From the installer notes of the latest IML:

    Installation Notes

    • Installation is now based on the Microsoft Installer (MSI). If you wish to downgrade from this version of the service to version 5.3.0.0 or earlier, use "Add or Remove Programs" to uninstall this version of the utility before installing the earlier version.

    So I guess your uninstall string is correct for the version that comes with the 7.7 agents. Lovely...

    SlickBag



  • 56.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 09, 2007 04:28 PM

    Here is an updated Batch file - fixed some logic errors I had and added what Jase found:

    @ECHO OFF

    ECHO.

    ECHO HP Physcial to Virtual Cleaner Utility

    ECHO Author: Nelson Kaeppel

    ECHO.

    ECHO.

    ECHO **********************************************************

    ECHO * This batch file semi-automates the removal of the HP *

    ECHO * software (agents and drivers) from a Virtaul server *

    ECHO * that has been virtualized using P2V Helper, VMware *

    ECHO * Converter, or similar software from an HP or Compaq *

    ECHO * physical server. This batch file assumes relatively *

    ECHO * newer versions of the support software, and may not *

    ECHO * completely remove all the software for older versions. *

    ECHO **********************************************************

    ECHO.

    ECHO.

    ECHO USE AT YOUR OWN RISK!!!

    ECHO.

    ECHO *****************************

    ECHO Type "ctrl-c" to quit now!!!

    ECHO *****************************

    ECHO.

    ECHO USE AT YOUR OWN RISK!!!

    ECHO.

    Pause

    cls

    cls

    If NOT Exist "%SYSTEMROOT%\system32\atiiiexx.dll" Goto HP

    ECHO Removing the "ATI Display Driver"...

    rundll32 %SYSTEMROOT%\system32\atiiiexx.dll,_InfEngUnInstallINFFile_RunDLL@16 -inf_class:DISPLAY -clean

    :HP

    ECHO Removing the "HP ProLiant Legacy Port Configuration Component"...

    "%PROGRAMFILES%\Compaq\CpqLpcc\hpuninst.exe" /s

    ECHO Removing the "HP ProLiant Remote Monitor Service"...

    %SYSTEMROOT%\system32\hpuninst.exe /s

    If NOT Exist "%PROGRAMFILEs%\HPWBEM\IPMI" GOTO NOIPMI

    ECHO Removing the "HP ProLiant IPMI WMI Provider"...

    MsiExec.exe /X\{DF6412FA-0E25-4B23-9E80-116C061B4FD1}

    :NOIPMI

    ECHO Removing the "HP Version Control Agent"...

    C:\hp\hpsmh\data\cgi-bin\vcagent\vcaremov.exe /silent C:\hp\hpsmh\data\cgi-bin\vcagent\vcagent.inf

    ECHO Removing the "HP Array Configuration Utility"...

    "%PROGRAMFILES%\Compaq\Cpqacuxe\hpuninst.exe" /s

    ECHO Removing the "HP Array Configuration Utility CLI"...

    "%PROGRAMFILES%\Compaq\Hpacucli\hpuninst.exe" /s

    ECHO Removing the "HP Array Diagnostic Utility"...

    "%PROGRAMFILES%\Compaq\hpadu\hpuninst.exe" /s

    ECHO Removing the "HP ProLiant Integrated Management Log Viewer"...

    If NOT Exist "%PROGRAMFILES%\Compaq\Cpqimlv\hpuninst.exe" GOTO NEWLFV

    "%PROGRAMFILES%\Compaq\Cpqimlv\hpuninst.exe" /s

    GOTO HPAGENTS

    :NEWLFV

    MsiExec.exe /X\{B03AAFA3-07B7-4D93-8ECD-12B977BF861E}

    :HPAGENTS

    ECHO Removing the "HP Insight Management Agents"...

    %SYSTEMROOT%\system32\CPQMgmt\aguninst.exe /s

    If NOT Exist C:\hp\hpsmh\data\htdocs\DataProtection\UnInstall.exe GOTO NODATAPROTECT

    ECHO Removing the "HP Protect Your Data"...

    C:\hp\hpsmh\data\htdocs\DataProtection\UnInstall.exe

    :NODATAPROTECT

    If NOT Exist "C:\Program Files\HP\hponcfg\hpuninst.exe" GOTO NOMP

    ECHO Removing the "HP Lights-Out Online Configuration Utility"...

    "%PROGRAMFILES%\HP\hponcfg\hpuninst.exe" /s

    :NOMP

    ECHO Removing the "HP System Management Homepage"...

    RunDll32 C:\PROGRA1\COMMON1\INSTAL1\PROFES1\RunTime\11\00\Intel32\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{3C4DF0FD-95CF-4F7B-A816-97CEF616948F}\setup.exe" -l0x9 -removeonly

    ECHO Removing the "HP Insight Diagnostics Online Edition for Windows"...

    If NOT Exist "C:\Program Files\InstallShield Installation Information\{3754251E-100C-47D4-AB86-DC34047EE3C4}\setup.exe" GOTO NEWDIAG

    ECHO Older, problematic version...

    RunDll32 C:\PROGRA1\COMMON1\INSTAL1\engine\6\INTEL31\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{3754251E-100C-47D4-AB86-DC34047EE3C4}\setup.exe" -l0x9 UNINSTALL

    GOTO CHECKCONVERTER

    :NEWDIAG

    ECHO Newer, good version...

    MsiExec.exe /X\{04DDF575-93A4-4682-A4F1-ABD29ECDFE04}

    :CHECKCONVERTER

    If NOT Exist "%PROGRAMFILES%\VMware\VMware Converter\InstMsi.exe" GOTO NOCONVERTER

    ECHO Removing the "VMware Converter"...requires a reboot...

    MsiExec.exe /X\{A4D04B1A-DCF1-4C8C-8FFE-07D145812742}

    :NOCONVERTER

    ECHO Removing registry keys for services without a "Removal Option"...

    regedit /s p2vcleaner.reg

    ECHO Removing the "HP Network Congifuration Utility"...requires a reboot...

    snetcfg.exe -v -u cq_cpqteam

    ECHO Deleting old HP and Compaq directories that are no longer needed...

    rd /s/q c:\hp >Nul: 2>&1

    rd /s/q c:\compaq >Nul: 2>&1

    rd /s/q c:\cpqsystem >Nul: 2>&1

    rd /s/q "%PROGRAMFILES%\compaq" >Nul: 2>&1

    rd /s/q "%PROGRAMFILES%\hp" >Nul: 2>&1

    rd /s/q %SYSTEMROOT%\system32\CPQMgmt >Nul: 2>&1

    ECHO.

    PAUSE

    SlickBag



  • 57.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 09, 2007 05:22 PM

    Hmmm....

    Does not seem to work very well with the HP 7.7 agents installed. It generated a whole bunch of errors, and left about 5 things in "Add/Remove Programs" still. When I went in to manually remove them they generated some funky errors.

    You may want want to hold off on using the batch file if you are running 7.7 (or even maybe 7.6) agents on your source servers.

    SlickBag



  • 58.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Feb 09, 2007 08:09 PM

    OK - this time I actually tested "before" posting! :smileyhappy:

    Here is the updated batch file that "should" work with most versions of the HP agents. I also cleaned up some of the output. If you want more feedback from what is happening, remove some of the "/quiet" and other feedback limiting commands:

    @ECHO OFF

    ECHO HP Physcial to Virtual Cleaner Utility

    ECHO Author: SlickBag

    ECHO.

    ECHO **********************************************************

    ECHO * This batch file semi-automates the removal of the HP *

    ECHO * software (agents and drivers) from a Virtaul server *

    ECHO * that has been virtualized using P2V Helper, VMware *

    ECHO * Converter, or similar software from an HP or Compaq *

    ECHO * physical server. This batch file assumes relatively *

    ECHO * newer versions of the support software, and may not *

    ECHO * completely remove all the software for older versions. *

    ECHO **********************************************************

    ECHO.

    ECHO Note - VMware Converter may leave some HP files corrupt.

    ECHO You may want to run a "chkdisk" on the system drive

    ECHO to fix any bad files before running this batch file.

    ECHO.

    ECHO USE AT YOUR OWN RISK!!!

    ECHO.

    ECHO *****************************

    ECHO Type "ctrl-c" to quit now!!!

    ECHO *****************************

    ECHO.

    ECHO USE AT YOUR OWN RISK!!!

    Pause

    cls

    ECHO Removing the "HP Array Configuration Utility"...

    "%PROGRAMFILES%\Compaq\Cpqacuxe\hpuninst.exe" /s

    ECHO Removing the "HP Array Configuration Utility CLI"...

    "%PROGRAMFILES%\Compaq\Hpacucli\hpuninst.exe" /s

    ECHO Removing the "HP Array Diagnostic Utility"...

    "%PROGRAMFILES%\Compaq\hpadu\hpuninst.exe" /s

    ECHO Removing the "HP Insight Diagnostics Online Edition for Windows"...

    If NOT Exist "%PROGRAMFILES%\InstallShield Installation Information\{3754251E-100C-47D4-AB86-DC34047EE3C4}\setup.exe" GOTO NEWDIAG

    RunDll32 C:\PROGRA1\COMMON1\INSTAL1\engine\6\INTEL31\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{3754251E-100C-47D4-AB86-DC34047EE3C4}\setup.exe" -l0x9 UNINSTALL

    GOTO HPAGENTS

    :NEWDIAG

    MsiExec.exe /X\{04DDF575-93A4-4682-A4F1-ABD29ECDFE04} /quiet

    :HPAGENTS

    ECHO Removing the "HP Insight Management Agents"...

    IF NOT Exist %SYSTEMROOT%\system32\CPQMgmt\aguninst.exe GOTO NEWAGENTS

    %SYSTEMROOT%\system32\CPQMgmt\aguninst.exe /s

    GOTO CHECKMP

    :NEWAGENTS

    MsiExec.exe /X\{DFB7A687-8111-4CC2-B175-9431708F7902} /quiet

    :CHECKMP

    ECHO Removing the "HP Lights-Out Online Configuration Utility"...

    If NOT Exist "%PROGRAMFILES%\HP\hponcfg" GOTO CHECKIML

    If NOT Exist "%PROGRAMFILES%\HP\hponcfg\hpuninst.exe" GOTO NEWMP

    "%PROGRAMFILES%\HP\hponcfg\hpuninst.exe" /s

    GOTO CHECKIML

    :NEWMP

    MsiExec.exe /X\{F8C40C34-FF8A-4A4D-8FA4-8DFF4503A61C} /quiet

    :CHECKIML

    ECHO Removing the "HP ProLiant Integrated Management Log Viewer"...

    If NOT Exist "%PROGRAMFILES%\Compaq\Cpqimlv\hpuninst.exe" GOTO NEWIML

    "%PROGRAMFILES%\Compaq\Cpqimlv\hpuninst.exe" /s

    GOTO CHECKLPC

    :NEWIML

    MsiExec.exe /X\{B03AAFA3-07B7-4D93-8ECD-12B977BF861E} /quiet

    :CHECKLPC

    IF NOT Exist "%PROGRAMFILES%\Compaq\CpqLpcc\hpuninst.exe" GOTO NOLPC

    ECHO Removing the "HP ProLiant Legacy Port Configuration Component"...

    "%PROGRAMFILES%\Compaq\CpqLpcc\hpuninst.exe" /s

    :NOLPC

    If NOT Exist "%PROGRAMFILEs%\HPWBEM\IPMI" GOTO NOIPMI

    ECHO Removing the "HP ProLiant IPMI WMI Provider"...

    MsiExec.exe /X\{DF6412FA-0E25-4B23-9E80-116C061B4FD1} /quiet

    :NOIPMI

    ECHO Removing the "HP ProLiant Remote Monitor Service"...

    If NOT Exist %SYSTEMROOT%\system32\hpuninst.exe GOTO NEWRMS

    %SYSTEMROOT%\system32\hpuninst.exe /s

    GOTO CHECKDP

    :NEWRMS

    MsiExec.exe /X\{0DEE841C-14D1-4497-8204-31B04370FDB7} /quiet

    :CHECKDP

    If NOT Exist C:\hp\hpsmh\data\htdocs\DataProtection\UnInstall.exe GOTO NODATAPROTECT

    ECHO Removing the "HP Protect Your Data"...

    C:\hp\hpsmh\data\htdocs\DataProtection\UnInstall.exe >Nul: 2>&1

    :NODATAPROTECT

    ECHO Removing the "HP Version Control Agent"...

    IF NOT Exist C:\hp\hpsmh\data\cgi-bin\vcagent\vcaremov.exe GOTO NEWVCA

    C:\hp\hpsmh\data\cgi-bin\vcagent\vcaremov.exe /silent C:\hp\hpsmh\data\cgi-bin\vcagent\vcagent.inf

    GOTO CHECKSMH

    :NEWVCA

    MsiExec.exe /X\{5A5F45AE-0250-4C34-9D89-F10BDDEE665F} /quiet

    :CHECKSMH

    ECHO Removing the "HP System Management Homepage"...

    RunDll32 C:\PROGRA1\COMMON1\INSTAL1\PROFES1\RunTime\11\00\Intel32\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{3C4DF0FD-95CF-4F7B-A816-97CEF616948F}\setup.exe" -l0x9 -removeonly

    If NOT Exist "%PROGRAMFILES%\VMware\VMware Converter\InstMsi.exe" GOTO NOCONVERTER

    ECHO Removing the "VMware Converter"...

    MsiExec.exe /X\{A4D04B1A-DCF1-4C8C-8FFE-07D145812742} /quiet

    :NOCONVERTER

    ECHO Removing the "HP Network Congifuration Utility"...

    snetcfg.exe -v -u cq_cpqteam >Nul: 2>&1

    ECHO Removing registry keys for services without a "Removal Option"...

    regedit /s p2vcleaner.reg

    ECHO Deleting old HP and Compaq directories that are not needed...

    rd /s/q c:\hp >Nul: 2>&1

    rd /s/q c:\compaq >Nul: 2>&1

    rd /s/q c:\cpqsystem >Nul: 2>&1

    rd /s/q "%PROGRAMFILES%\compaq" >Nul: 2>&1

    rd /s/q "%PROGRAMFILES%\hp" >Nul: 2>&1

    rd /s/q %SYSTEMROOT%\system32\CPQMgmt >Nul: 2>&1

    ECHO.

    ECHO All software has been removed...please reboot.

    PAUSE

    and the REG file that must be in the same directory and called "p2vcleaner.reg":

    Windows Registry Editor Version 5.00

    SlickBag



  • 59.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Sep 02, 2007 05:50 PM

    Just wanted to say thanks for coming up with a working solution for getting rid of the old Compaq/HP Agents - I've P2Ved several Compaq & HP ProLiant servers and the script works perfectly on all of them.

    Cheers!!! :smileywink:



  • 60.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Jan 07, 2008 04:55 PM

    Hello again all you crazzzzzy P2Ver's. I have an updated script with some more error checking and new MSI uninstall strings (to account for the lastest HP Agents, such as 7.8 and 7.9). Its a moving target so it's not perfect yet and probably never will be, but here is is:

    Oops - see next post...



  • 61.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Jan 07, 2008 04:58 PM

    Yikes - that is some nasty formating. Let me try again:

    @ECHO OFF

    ECHO HP Physcial to Virtual Cleaner Utility (Version 01-07-2008)

    ECHO Author: HIDDEN

    ECHO.

    ECHO ************************************************************

    ECHO * This batch file semi-automates the removal of management *

    ECHO * agents and drivers from a virtual server that has been *

    ECHO * virtualized from an HP or Compaq physical server using *

    ECHO * P2V Helper, VMware Converter, or similar software. This *

    ECHO * batch file assumes relatively newer versions of the HP *

    ECHO * support software, and may not completely remove all the *

    ECHO * software for older versions. *

    ECHO ************************************************************

    ECHO.

    ECHO Note - The VMware Converter may leave some HP files corrupt.

    ECHO You may want to run a "chkdisk" on the system drive

    ECHO to fix any bad files before running this batch file.

    ECHO.

    ECHO USE AT YOUR OWN RISK!!!

    ECHO.

    ECHO *****************************

    ECHO Type "ctrl-c" to quit now!!!

    ECHO *****************************

    ECHO.

    ECHO USE AT YOUR OWN RISK!!!

    Pause

    cls

    :ARRAYCONFIG

    ECHO Removing the "HP Array Configuration Utility"...

    If NOT Exist "%PROGRAMFILES%\Compaq\Cpqacuxe\hpuninst.exe" GOTO NEWARRAYCONFIG

    "%PROGRAMFILES%\Compaq\Cpqacuxe\hpuninst.exe" /s

    GOTO ARRAYCONFIGCLI

    :NEWARRAYCONFIG

    MsiExec.exe /X{836DF43A-9008-4334-9D08-6CB8D742BC74} /quiet

    MsiExec.exe /X{0FC83811-F7AB-4D02-89EF-D86A7333C6C3} /quiet

    :ARRAYCONFIGCLI

    ECHO Removing the "HP Array Configuration Utility CLI"...

    If NOT Exist "%PROGRAMFILES%\Compaq\Hpacucli\hpuninst.exe" GOTO NEWARRAYCONFIGCLI

    "%PROGRAMFILES%\Compaq\Hpacucli\hpuninst.exe" /s

    GOTO ARRAYDIAG

    :NEWARRAYCONFIGCLI

    MsiExec.exe /X{4C22F82F-389B-41C4-BD8E-96D5F3EAB5D9} /quiet

    MsiExec.exe /X{FC1534DB-31FE-4994-A91C-120A9AB7CE17} /quiet

    :ARRAYDIAG

    ECHO Removing the "HP Array Diagnostic Utility"...

    If NOT Exist "%PROGRAMFILES%\Compaq\hpadu\hpuninst.exe" GOTO NEWARRAYDIAG

    "%PROGRAMFILES%\Compaq\hpadu\hpuninst.exe" /s

    GOTO DIAG

    :NEWARRAYDIAG

    MsiExec.exe /X{6FB456CA-B4B4-4B17-9CDD-A05B4E882E06} /quiet

    MsiExec.exe /X{E66B176F-F12D-45D9-9125-CC66C53FCB5C} /quiet

    :DIAG

    ECHO Removing the "HP Insight Diagnostics Online Edition for Windows"...

    If NOT Exist "%PROGRAMFILES%\InstallShield Installation Information\{3754251E-100C-47D4-AB86-DC34047EE3C4}\setup.exe" GOTO NEWDIAG

    RunDll32 C:\PROGRA1\COMMON1\INSTAL1\engine\6\INTEL31\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation

    Information\{3754251E-100C-47D4-AB86-DC34047EE3C4}\setup.exe" -l0x9 UNINSTALL

    :NEWDIAG

    MsiExec.exe /X{04DDF575-93A4-4682-A4F1-ABD29ECDFE04} /quiet

    MsiExec.exe /X{97D259B9-2076-4C25-97E1-440D9D038229} /quiet

    :HPAGENTS

    ECHO Removing the "HP Insight Management Agents"...

    If NOT Exist %SYSTEMROOT%\system32\CPQMgmt\aguninst.exe GOTO NEWAGENTS

    %SYSTEMROOT%\system32\CPQMgmt\aguninst.exe /s

    GOTO CHECKMP

    :NEWAGENTS

    MsiExec.exe /X{DFB7A687-8111-4CC2-B175-9431708F7902} /quiet

    MsiExec.exe /X{869F01A1-DB56-4876-8752-2C835BB6AB53} /quiet

    MsiExec.exe /X{50B62114-7AFE-4428-A778-16BFA8E93044} /quiet

    :CHECKMP

    ECHO Removing the "HP Lights-Out Online Configuration Utility"...

    If NOT Exist "%PROGRAMFILES%\HP\hponcfg" GOTO CHECKIML

    If NOT Exist "%PROGRAMFILES%\HP\hponcfg\hpuninst.exe" GOTO NEWMP

    "%PROGRAMFILES%\HP\hponcfg\hpuninst.exe" /s

    GOTO CHECKIML

    :NEWMP

    MsiExec.exe /X{F8C40C34-FF8A-4A4D-8FA4-8DFF4503A61C} /quiet

    MsiExec.exe /X{F1FA13C8-E4D8-45E4-B1A1-1984FE50B7F7} /quiet

    :CHECKIML

    ECHO Removing the "HP ProLiant Integrated Management Log Viewer"...

    If NOT Exist "%PROGRAMFILES%\Compaq\Cpqimlv\hpuninst.exe" GOTO NEWIML

    "%PROGRAMFILES%\Compaq\Cpqimlv\hpuninst.exe" /s

    GOTO CHECKLPC

    :NEWIML

    MsiExec.exe /X{B03AAFA3-07B7-4D93-8ECD-12B977BF861E} /quiet

    MsiExec.exe /X{1FCDA905-9C8F-4544-84C0-106CDAB7842C} /quiet

    MsiExec.exe /X{4F8D40CA-D8AB-4AA6-B47D-AA8FA845E530} /quiet

    :CHECKLPC

    If NOT Exist "%PROGRAMFILES%\Compaq\CpqLpcc\hpuninst.exe" GOTO NOLPC

    ECHO Removing the "HP ProLiant Legacy Port Configuration Component"...

    "%PROGRAMFILES%\Compaq\CpqLpcc\hpuninst.exe" /s

    :NOLPC

    If NOT Exist "%PROGRAMFILEs%\HPWBEM\IPMI" GOTO NOIPMI

    ECHO Removing the "HP ProLiant IPMI WMI Provider"...

    MsiExec.exe /X{DF6412FA-0E25-4B23-9E80-116C061B4FD1} /quiet

    MsiExec.exe /X{6BD49497-AFE5-43D4-9B7B-AAD7B405E110} /quiet

    :NOIPMI

    ECHO Removing the "HP ProLiant Remote Monitor Service"...

    If NOT Exist %SYSTEMROOT%\system32\hpuninst.exe GOTO NEWRMS

    %SYSTEMROOT%\system32\hpuninst.exe /s

    GOTO CHECKDP

    :NEWRMS

    MsiExec.exe /X{0DEE841C-14D1-4497-8204-31B04370FDB7} /quiet

    MsiExec.exe /X{8562966D-9ACB-4496-A443-378C6E4A50BA} /quiet

    MsiExec.exe /X{93EF387B-6884-4ADE-806E-E98F05DD2A4C} /quiet

    :CHECKDP

    If NOT Exist C:\hp\hpsmh\data\htdocs\DataProtection\UnInstall.exe GOTO NODATAPROTECT

    ECHO Removing the "HP Protect Your Data"...

    C:\hp\hpsmh\data\htdocs\DataProtection\UnInstall.exe >Nul: 2>&1

    :NODATAPROTECT

    ECHO Removing the "HP Version Control Agent"...

    If NOT Exist C:\hp\hpsmh\data\cgi-bin\vcagent\vcaremov.exe GOTO NEWVCA

    C:\hp\hpsmh\data\cgi-bin\vcagent\vcaremov.exe /silent C:\hp\hpsmh\data\cgi-bin\vcagent\vcagent.inf

    GOTO CHECKSMH

    :NEWVCA

    MsiExec.exe /X{5A5F45AE-0250-4C34-9D89-F10BDDEE665F} /quiet

    :CHECKSMH

    ECHO Removing the "HP System Management Homepage"...

    If NOT Exist "C:\PROGRA1\COMMON1\INSTAL1\PROFES1\RunTime\11\00\Intel32\Ctor.dll" GOTO NEWHP

    If NOT Exist "C:\Program Files\InstallShield Installation Information\{3C4DF0FD-95CF-4F7B-A816-97CEF616948F}\setup.exe" GOTO NEWHP

    RunDll32 C:\PROGRA1\COMMON1\INSTAL1\PROFES1\RunTime\11\00\Intel32\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation

    Information\{3C4DF0FD-95CF-4F7B-A816-97CEF616948F}\setup.exe" -l0x9 -removeonly

    :NEWHP

    "C:\Program Files\InstallShield Installation Information\{3C4DF0FD-95CF-4F7B-A816-97CEF616948F}\setup.exe"

    :ARRAYDME

    Echo Removing the "HP ProLiant Smart Array Device Manager Extension"...

    MsiExec.exe /X{4FE559EC-C5CC-40AB-A7BE-A03C21ACCD2D} /quiet

    MsiExec.exe /X{5B9E3229-A5B3-459B-8B96-BA52A63BB140} /quiet

    If NOT Exist "%PROGRAMFILES%\VMware\VMware Converter\InstMsi.exe" GOTO NOCONVERTER

    ECHO Removing the "VMware Converter"...

    MsiExec.exe /X{A4D04B1A-DCF1-4C8C-8FFE-07D145812742} /quiet

    MsiExec.exe /X{EF8B6B5D-A38C-431A-81FF-2C8E3215C6A2} /quiet

    :NOCONVERTER

    ECHO Removing the "HP Network Congifuration Utility"...

    snetcfg.exe -v -u cq_cpqteam >Nul: 2>&1

    ECHO Removing registry keys for services without a "Removal Option"...

    regedit /s p2vcleaner.reg

    ECHO Deleting old HP and Compaq directories that are not needed...

    rd /s/q c:\hp >Nul: 2>&1

    rd /s/q c:\compaq >Nul: 2>&1

    rd /s/q c:\cpqsystem >Nul: 2>&1

    rd /s/q "%PROGRAMFILES%\compaq" >Nul: 2>&1

    rd /s/q "%PROGRAMFILES%\hp" >Nul: 2>&1

    rd /s/q %SYSTEMROOT%\system32\CPQMgmt >Nul: 2>&1

    ECHO.

    ECHO All software has been removed...please reboot.

    PAUSE



  • 62.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Jan 14, 2008 05:19 PM

    Hey folks, nice work on the script. I noticed that there's a typo in the latest version you posted under the section for the System Management Homepage/NEWHP. You're missing a "/" between the InstallShield folder and the CLSID folder name. Also, as an alternative for the registry cleanup, you could call the commmand "sc delete sysdown". The SC command is available in W2003, or available as a part of the resource kit for earlier releases. If you prefer to use the registry file, you might also want to include the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_SYSDOWN.

    As a side note, I've found the P2V process to be a lot smoother if you disable the HP services on the target server prior to starting your image (the HP Insight Server Agents service in particular). On the majority of my HP servers, this process would max out the CPU of the VM guest until it was killed.

    Cheers,

    -Joshua



  • 63.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Jan 14, 2008 05:39 PM

    Awesome! Thank you very much for finding the typo error and the suggestion on the registry thing. I am always looking for ways to improve this.

    And "yep" on the HP services thing. I too stop (and disable) those as well as Symantec services prior to the conversion.

    Take care!



  • 64.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Jan 14, 2008 05:45 PM

    Interesting, I went back to check my script and the "backslashes" are there...yet they got missed when I copied and pasted them into this posting. Not sure how that happened; very wierd.



  • 65.  RE: Anyone have a script to remove all the HP/Compaq agents after conversion?

    Posted Apr 22, 2008 05:01 PM

    Comment regarding the CPU impact of the HP services in a VM

    I have seen this as well, and created the script below to deal with that. I also found that this CPU impact does NOT happen when the VM is on a HP server ESX host (at least when the going from a DL380G4 physical to a DL380G5 ESX host)

    I left the serivces installed (1 didn't have time or interest for a lab environment to uninstall, 2 with thoughts of V2P desirable to leave items installed.)

    This CMD script is run on Windows 2003 Server SP1

    @echo off

    REM Created Feb 13 2008 by Lawrence Dee

    REM-----

    REM INSTRUCTIONS:

    REM This is a script to disable the HP services

    REM to ease use in a Virtual Machine

    REM-----

    REM - Set services to Manual (='demand' in SC) rather than Auto start

    pause

    sc config "Cissesrv" start= demand

    sc config "CpqNicMgmt" start= demand

    sc config "CpqRcmc" start= demand

    sc config "cpqvcagent" start= demand

    sc config "cqmghost" start= demand

    sc config "CqMgServ" start= demand

    sc config "CqMgStor" start= demand

    sc config "sysdown" start= demand

    sc config "SysMgmtHp" start= demand

    :STOPServices

    REM - stop services

    sc stop "Cissesrv"

    sc stop "CpqNicMgmt"

    sc stop "CpqRcmc"

    sc stop "cpqvcagent"

    sc stop "cqmghost"

    sc stop "CqMgServ"

    sc stop "CqMgStor"

    sc stop "sysdown"

    sc stop "SysMgmtHp"

    pause

    GOTO EXIT

    REM Notes and descriptions from SC Query

    SERVICE_NAME: Cissesrv

    DISPLAY_NAME: HP Smart Array SAS/SATA Event Notification Service

    SERVICE_NAME: CpqNicMgmt

    DISPLAY_NAME: HP Insight NIC Agents

    SERVICE_NAME: CpqRcmc

    DISPLAY_NAME: HP ProLiant Remote Monitor Service

    SERVICE_NAME: cpqvcagent

    DISPLAY_NAME: HP Version Control Agent

    SERVICE_NAME: CqMgServ

    DISPLAY_NAME: HP Insight Server Agents

    SERVICE_NAME: CqMgStor

    DISPLAY_NAME: HP Insight Storage Agents

    SERVICE_NAME: sysdown

    DISPLAY_NAME: HP ProLiant System Shutdown Service

    SERVICE_NAME: SysMgmtHp

    DISPLAY_NAME: HP System Management Homepage

    REM - not listed in SC Query

    cqmghost.exe

    HP Insight Foundation Agents

    :EXIT