Support Center

Scripting the Remote Data Collector Install

Last Updated: Feb 09, 2017 02:28PM EST
The Remote Data Collector can optionally be installed via scripting through the use of command line switches.  To install via command line, you will need your Network Detective application credentials along with the Connector ID to associate the Remote Data Collector with during the installation.  The most common error when using the command line option based installation process is to not use double-quotes where specified.  Double-quotes are required for all paths with spaces and for certain parameters, like the encrypted password for example.

INSTALL PROCESS

=======

Default Folder Location:

msiexec /qn /i NetworkDetectiveRemoteDataCollector.msi /L*V install-silent.log

"C:\Program Files (x86)\NetworkDetective\DataCollector\bin\ndrdc.exe" -register -u <rf_user> -e "<encrypted_pwd>" -c <connector_id>
 

Custom Folder Location (i.e., C:\test msi\ND):

msiexec /qn /i NetworkDetectiveRemoteDataCollector.msi INSTALLFOLDER="c:\test msi\ND" /L*V install-silent-custom.log

"c:\test msi\ND\DataCollector\bin\ndrdc.exe" -register -u <rf_user> -e "<encrypted_pwd>" -c <connector_id>
 

 UNINSTALL PROCESS

==========

msiexec /x NetworkDetectiveRemoteDataCollector.msi /L*V uninstall.log
 

NOTE:

To get the encrypted password, download the Network Data Collector and unzip it to a folder on your computer.  Run the nddc.exe with the following options:

> nddc.exe -encrypt <password>
1100bac2516b407d0521ef278b6db700@rapidfiretools.desk-mail.com
http://assets0.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete