Perform a Silent Installation or Uninstallation of the Windows Toolkit

You can use the Windows command line to perform a silent (unattended) installation or uninstallation of either the full toolkit or specific components. Before you perform a silent installation, ensure that all prerequisites specified for either a server installation or a client installation have been met. See Install the Windows Toolkit on a Server or Install the Windows Toolkit on a Client for details.

Windows reboots without any user intervention following a silent installation or uninstallation. You can set the RebootYesNo parameter to Yes to ensure the system reboots.

Important points to remember:
  • You must have Power User or above privileges.
  • VSS requirement: In HPE Storage Toolkit for Windows 7.0.0 and later, you must provide the Group Management IP address and the username/password credentials for the array if you want to use the application-synchronized snapshot creation feature of VSS. You must register at least one group. If you do not provide this information during the installation, you can use the toolkit PowerShell cmdlet Set-Configuration to specify the array credentials for VSS.
  • Host Diagnostics requirement: In HPE Storage Toolkit for Windows 7.1.0 and later, you can select the Host Diagnostics feature. When you choose this feature, you must provide the Group Management IP address and the username/password credentials for the array. If you provided this information for VSS, you can use the same information for Host Diagnostics, or you can enter a different Group Management IP address and credentials. You must also provide a TCP port. You can use the default port (21344) or enter a different port. You can register 48 Windows hosts for each array. If you do not register the host during the installation, you can run the Host Diagnostics Registration Tool later to register the host.
    NOTE: Unlike VSS, you cannot use an PowerShell cmdlet to register the host.

Options for performing silent installations and uninstallations include the following:

  • To perform a silent installation of all toolkit components using the original version of the installation file:

    <installation_file_name> EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=Yes ADDLOCAL="NSM,NDU,VSS,NCS" ISFeatureInstall="NDSM,HD" /silent

    or

    <installation_file_name> EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=Yes /silent

    Examples:

    Setup-HPEStorage-x64.0.0.0.XXX.exe EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=Yes ADDLOCAL="NSM,NDU,VSS,NCS" ISFeatureInstall="NDSM,HD" /silent
    Setup-HPEStorage-x64.0.0.0.XXX.exe EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=Yes /silent 
  • To perform a silent installation of all toolkit components and optionally set the logs directory:

    <installation_file_name> EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=No ADDLOCAL="NSM,NDU,VSS,NCS" ISFeatureInstall="NDSM,HD" NLOGSDIR=C:\logs /silent

    Example:

    Setup-HPEStorage-x64.0.0.0.XXX.exe EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=Yes ADDLOCAL="NSM,NDU,VSS,NCS" ISFeatureInstall="NDSM,HD" NIMBLEVSSPORT=Yes NLOGSDIR=C:\logs /silent
  • To perform a silent uninstallation of all components:

    <installation_file_name> RebootYesNo=Yes REMOVE=ALL REMOVEDSM=ALL /remove /silent

    Example:

    Setup-HPEStorage-x64.0.0.0.exe RebootYesNo=Yes REMOVE=ALL REMOVEDSM=ALL /remove /silent
  • To perform a silent uninstallation when the product code has changed, you do not have original version of the installation file, and you are not performing an upgrade, uninstall the previous version using the previous product code:

    msiexec.exe /X {<previous_product_code>} /qn /l*v c:\UninstLog.txt/qn”

    Example:

    msiexec.exe /X {DC22BBD4-FBE7-4413-ADC5-6235749C988A} /qn /l*v c:\UninstallLog.txt
  • To perform a silent installation with hotfix checking:

    <installation_file_name> /s /v" /l*v c:\Install.log.txt/qn"

    NOTE: If a recommended hotfix is missing, the installation will not proceed.

    Example:

    Setup-HPEStorage-x64.0.0.0.XXX.exe EULAACCEPTED=Yes RebootYesNo=No /silent

    To perform a silent install and bypass hotfix checking:

    <installation_file_name> /s /v" /l*v c:\install.log EULAACCEPTED=Yes HOTFIXPASS=Yes /qn"

    Example:

    Setup-HPEStorage-x64.0.0.0.XXX.exe EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=No NLOGSDIR=C:\logs /silent

You can also use the Windows command line to perform a silent installation or uninstallation of individual HPE Storage Toolkit for Windows components on top of an existing installation.

NOTE:

When installing individual HPE Storage Toolkit for Windows features, the ADDLOCAL and ISFeatureInstall parameters are required.

When uninstalling the NDU feature, use the REMOVE=ALL and REMOVEDSM=ALL parameters, because all other HPE Storage Toolkit for Windows features are dependent on NDU.

  • DSM for MPIO (DSM)
    • To perform a silent installation of DSM:

      <installation_file_name> EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=Yes ADDLOCAL=”NDU” ISFeatureInstall="NDSM" /silent

      Example:

      Setup-HPEStorage-x64.0.0.0.XXX.exe EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=Yes ADDLOCAL=”NDU” ISFeatureInstall="NDSM" /silent
    • To perform a silent uninstallation of DSM:

      <installation_file_name> RebootYesNo=No REMOVEDSM=”NDSM” /remove /silent

      Examples:

      Setup-HPEStorage-x64.0.0.0.XXX.exe RebootYesNo=No REMOVEDSM=”NDSM” /remove /silent
      
      Setup-HPEStorage-x64.0.0.0.XXX.exe RebootYesNo=No REMOVE=ALL REMOVEDSM=ALL /remove /silent 
  • HPE Storage VSS Services (VSS)
    • To perform a silent installation of VSS:

      <installation_file_name> EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=No ADDLOCAL="NDU,VSS" ISFeatureInstall=NWT /silent

      Example:

      Setup-HPEStorage-x64.0.0.0.XXX.exe EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=No ADDLOCAL="NDU,VSS" ISFeatureInstall=NWT /silent
    • To perform a silent uninstallation of VSS:

      <installation_file_name> RebootYesNo=No REMOVE=VSS /remove /silent

      Example:

      Setup-HPEStorage-x64.0.0.0.XXX.exe RebootYesNo=No REMOVE=VSS /remove /silent
  • Host Diagnostics
    Host Diagnostics requires a TCP port number. During a silent installation, the installer chooses an unused TCP port number in the range 21344 to 21363. If the installer cannot find a port number in that range, it completes the installation; however, the Host Diagnostics service will not start until you manually set up a port number.
    NOTE: NDU is mandatory when installing any HPE Storage Toolkit for Windows feature.
    • To perform a silent installation of Host Diagnostics:

      <installation_file_name> EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=No /silent ADDLOCAL="NDU" ISFeatureInstall="HD"

      Example:

      Setup-HPEStorage-x64.0.0.0.XXX.exe EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=No /silent ADDLOCAL="NDU" ISFeatureInstall="HD"    

      To perform a silent uninstallation of Host Diagnostics when it is the only component installed:

      <installation_file_name> REMOVE=ALL REMOVEHD=ALL /remove /silent

      Example:

      Setup-HPEStorage-x64.0.0.0.XXX.exe REMOVE=ALL REMOVEHD=ALL /remove /silent
    • To perform a silent uninstallation of Host Diagnostics when it is installed with HPE Storage Toolkit for Windows or HPE Storage Toolkit for Windows plus NDSM:

      <installation_file_name> REMOVEHD=ALL /remove /silent

      Example:

      Setup-HPEStorage-x64.0.0.0.XXX.exe REMOVE=ALL REMOVEHD=ALL /remove /silent
  • HPE Connection Service (CS)
    • To perform a silent installation of CS:

      <installation_file_name> EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=No ADDLOCAL=”NDU,NCS” ISFeatureInstall=”NDSM” /silent

      Example:

      Setup-HPEStorage-x64.0.0.0.XXX.exe EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=No ADDLOCAL="NDU,NCS" ISFeatureInstall="NDSM" /silent
    • To perform a silent uninstallation of NCS:

      <installation_file_name> RebootYesNo=No REMOVE=NCS /remove /silent

      Example:

      Setup-HPEStorage-x64.0.0.0.XXX.exe RebootYesNo=No REMOVE=NCS /remove /silent
  • HPE Setup Manager (SM)
    • To perform a silent installation of SM:

      <installation_file_name> EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=No ADDLOCAL="NDU,NSM" ISFeatureInstall=NWT /silent

      Example:

      Setup-HPEStorage-x64.0.0.0.XXX.exe EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=No ADDLOCAL="NDU,NSM" ISFeatureInstall=NWT /silent
    • To perform a silent uninstallation of NSM:

      <installation_file_name> RebootYesNo=No REMOVE=NSM /remove /silent

      Example:

      Setup-HPEStorage-x64.0.0.0.XXX.exe RebootYesNo=No REMOVE=NSM /remove /silent
  • Multiple components, comma-delimited (the order does not matter)
    • To perform a silent installation of NDU, VSS, NCS, Host Diagnostics, and HPE Storage Connection Manager:

      <installation_file_name> EULAACCEPTED=Yes HOTFIXPASS=Yes NIMBLEVSSPORT=Yes RebootYesNo=Yes ADDLOCAL="NSM,NDU,VSS,NCS" /silent ISFeatureInstall="NDSM,HD"

      Example:

      Setup-HPEStorage-x64.0.0.0.XXX.exe EULAACCEPTED=Yes HOTFIXPASS=Yes NIMBLEVSSPORT=Yes RebootYesNo=Yes ADDLOCAL="NSM,NDU,VSS,NCS" /silent ISFeatureInstall="NDSM,HD"
    • To perform a silent uninstallation of NDU, VSS, CS, CM, and Host Diagnostics:

      <installation_file_name> RebootYesNo=No REMOVE=NDU,VSS,CS,SM REMOVEHD=ALL /remove /silent

      Example:

      Setup-HPEStorage-x64.0.0.0.XXX.exe RebootYesNo=No REMOVE=NDU,VSS,CS,SM REMOVEHD=ALL /remove /silent
    • To perform a silent installation of all components:

      <installation_file_name> > EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=No ADDLOCAL=ALL ISFeatureInstall="WT,NDSM,HD /silent

      Example:

      Setup-HPEStorage-x64.0.0.0.XXX.exe EULAACCEPTED=Yes HOTFIXPASS=Yes RebootYesNo=No ADDLOCAL=ALL ISFeatureInstall="NDSM,HD /silent