VMware

This Question is Answered

1 2 3 4 5 Previous Next 64 Replies Last post: Apr 8, 2009 3:55 AM by M1NZ   Go to original post
Click to view jcerroni's profile Enthusiast 20 posts since
Mar 24, 2006

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.


Attachments:
Click to view jcerroni's profile Enthusiast 20 posts since
Mar 24, 2006

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.

Click to view jcerroni's profile Enthusiast 20 posts since
Mar 24, 2006
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.

Attachments:
Click to view dustant's profile Novice 3 posts since
Apr 3, 2008
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.
Click to view mdswen's profile Novice 23 posts since
Jun 24, 2005
Why not use netcfg?
Click to view Lawrence's profile Enthusiast 90 posts since
Oct 28, 2004
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

[code]
@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
[/code]
Click to view mbs01's profile Lurker 2 posts since
Apr 22, 2008

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!

Click to view hfourie's profile Enthusiast 27 posts since
May 18, 2007

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.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities