Commands for silent installation of NetExtender via CMD line

Description

The following commands show how to perform silent installation of Netextender 
- Further options for enabling network logon and passing server and domain options are provided

Cause

Commands for silent installation of Netextender via CMD line

Resolution

A.Silent NetExtender Install
 1.Download NetExtender MSI installer from https://www.sonicwall.com/products/remote-access/vpn-clients/
 2.Open CMD as Administrator.
 3.Run the command msiexec.exe /i "Network path of installation package" /qn /norestart

 For e.g. msiexec.exe /i “C:\Users\xxx\Downloads\NetExtender-x64-10.2.339.msi” /qn /norestart

B.Silent NetExtender Install with Pre-Login(Network Logon)

 Use command msiexec.exe /i "Network path of installation package" /qn /norestart netlogon=true

 For e.g. msiexec.exe /i “C:\Users\xxx\Downloads\NetExtender-x64-10.2.339.msi” /qn /norestart netlogon=true

C.Silent NetExtender Install with Pre Filled Server and Domain details
 Use the command msiexec.exe /i "Network path of installation package" /qn /norestart server=FQDN domain=domain

  server= FQDN of the SMA.
  domain = Authentication Domain for the SMA.

 For e.g. msiexec.exe /i “C:\Users\xxx\Downloads\NetExtender-x64-10.2.339.msi” /qn /norestart server=vpn.xyz.com domain=xyz.com

Additional Options:
 1.To Allow or Deny editing the Server and Domain field on the Netextender client ,add switch EDITABLE=TRUE or EDITABLE=FALSE.
    By default these fields can be edited.

NOTE:This switch is case sensitive

 For e.g. msiexec.exe /i “C:\Users\xxx\Downloads\NetExtender-x64-10.2.339.msi” /qn /norestart server=vpn.xyz.com domain=xyz.com EDITABLE=TRUE netlogon=true

 2.To install for all users on the computer,add switch ALLUSERS=2.
    By default it will  install for the logged in user.

NOTE:This switch is case sensitive

 For e.g. msiexec.exe /i “C:\Users\xxx\Downloads\NetExtender-x64-10.2.339.msi” /qn /norestart server=vpn.xyz.com domain=xyz.com EDITABLE=TRUE netlogon=true ALLUSERS=2

 3.Details for installation options used above:
    a.qn : Quiet ,No User Interaction
    b.norestart : Do not restart after the installation is complete
    For more details regarding installation options with msiexec,use command msiexec help

Install NetExtender Version 10.3.0 via the Command line.

Syntax#1

Default mode will create only one connection, and user is allowed to create new connections to connect from UI

=> msiexec.exe /i “NetExtender-x64-10.3.0.msi” /qn MODE=default SERVER=xxx DOMAIN=LocalDomain

Syntax#2

=> msiexec.exe /i “NetExtender-x64-10.3.0.msi” /qn MODE=onlyone SERVER=xxx DOMAIN=LocalDomain
Syntax#3

=> msiexec.exe /i “NetExtender-x64-10.3.0.msi” /qn MODE=alwayson SERVER=xxx DOMAIN=LocalDomain

Note: We need to run the CMD line with administrator elevation.

 

Related Articles

  • How to Provision SMA1000 in Monthly Billing (MSSP Program)
    Read More
  • SMA 1000 Series Support Matrix
    Read More
  • How to Configure SAML 2.0 SSO with Microsoft Entra ID for SonicWall SMA 1000 Series
    Read More
not finding your answers?