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