HP XP P9000 Command View Advanced Edition Suite Software 7.5.0-00 Installation and Configuration Guide (TB581-96344, July 2013)

Device Manager agent unattended removal
The unattended removal of an agent eliminates the need for user responses during agent removal.
This function is useful when agents are installed on multiple hosts.
To perform an unattended agent removal, you create and execute a script file.
Removing a Device Manager agent from a Windows host (unattended removal)
You can perform an unattended Device Manager agent removal in a Windows environment.
1. Log in to the Windows operating system with a user ID that has administrator permissions.
2. Copy the following file to any location:
Device-Manager-agent-installation-folder\bin\agent_uninstShortcut.bat
3. Execute the following command at the command prompt:
NOTE:
In Windows Server 2008, Windows Server 2008 R2, or Windows Server 2012, use the command
prompt you started as administrator.
copy-destination-folder\agent_uninstShortcut.bat /s
4. To verify removal, enter the following command:
echo %ERRORLEVEL%
If the returned value is 0x00, the Device Manager agent is removed.
5. Delete the copy of agent_uninstShortcut.bat you made in step 2.
Removing a Device Manager agent from a UNIX host (unattended removal)
You can perform an unattended Device Manager agent removal in a UNIX environment.
1. Log in to UNIX as the root user.
2. Open a shell, and enter the following command:
Solaris, Linux, HP-UX
/opt/HDVM/HBaseAgent/bin/.uninstall.sh -s
AIX
/usr/HDVM/HBaseAgent/bin/.uninstall.sh -s
3. To check the success of the removal, enter the following command:
#echo $?
If the value returned is 0x00, the Device Manager agent is successfully removed.
Unattended installation and removal70