SDCLIENT.EXE Command Line Switches

Version 15

    Verified Product Versions

    Endpoint Manager 9.5Endpoint Manager 9.6

    SDCLIENT.EXE supports the following command-line parameters:
    sdclient.exe /p="" [/g=] [/All] [/R] [/N] [/An] [/Ac] [/Ab] [/fui] [/msi] [/exe] [/bat] [/wsh] [/ps1] [/bw=xxx] [/lan=xxx] [/wan=xxx] [/disableclientqueue] [/runasuser] [/timeout] [/L] [/F] [/O] [/dest=] [/timeout] [/msg=""]

     

     

     

    /p=Package Path. The package path must be specified, regardless of the package type. This parameter specifies the UNC or URL path to the package that is to be installed on the local client.
    /g=Package GUID. For ESWD or AutoINstall packages. This parameter specifies the GUID for the package. The package GUID is used to check the local .CFG file cache for a copy of the package's .CFG file.
    /AllUninstall Flag. This flag is set to indicate that the ESWD or MSI package should be uninstalled rather than installed. This flag is case-sensitive (/all won't work).
    /RAlways Reboot Flag. This flag indicates that the client should always be rebooted after the package installation. Not all MSI packages follow this guideline.
    /NNever Reboot Flag. This flag indicates that the client should never be rebooted after the package installation.
    /AnSilent Installation Flag. This flag indicates that the installation should be silent. This means that no UI, or the smallest amount of UI possible, should be displayed during the installation.
    /AcDisable Cancel Flag. This flag prohibits the user's ability to cancel the installation.
    /AbNo Background Flag. This flag only applies to ESWD packages. When a package is being installed, the blue background won't be displayed.
    /fuiFull UI Flag. This flag indicates that the full UI for legacy and MSI packages should be used.
    /msiMSI Package Flag. This flag indicates that the package path points to an MSI package file.
    /exeExecutable Package Flag. This flag indicates that the package path points to a legacy package or a generic executable file.
    /batBatch file Flag.  This flag indicates that the package points to a batch file or cmd file.
    /wshWindows Script Host Flag.  This flag indicates that the package points to a vbs file
    /ps1Power Shell Package Flag.  Indicates package is a powershell package.
    /wan=xxPercent of bandwidth to use while downloading files from non-peer source.  Values from 1 to 100.  LDMS 9.0
    /lan=xxPercent of bandwidth to use while downloading files from peer.  Values from 1 to 100. LDMS 9.0
    /AhApplication Healing Flag. This flag indicates that the script is installed with the Application Healing option.
    /bw=xxxBandwidth Requirements. Specifies a minimum bandwidth requirement for the package script to be run.  Removed in LDMS 9.0.
    /FGeneric File Flag. This flag causes SDCLIENT.EXE to download the file to the LDCLIENT directory.
    /rebootInitiates a reboot on the machine. This must be called from within a scheduled task, running sdclient.exe /reboot from the command window will not do anything.
    /DWhen this flag is specified, a debug window will be created and debug messages will be displayed during package installation.
    /VVerbose Mode, when this flag is specified, the log file entries and debug message will contain more detail on the installation progress.
    /disableclientqueueDisables the client task queue.  If another sdclient or vulscan task is already running this task will fail rather than being placed in queue.  Added in LDMS 9.0 SP3
    /runasuserRuns the task as the currently logged on user.  If no user is logged on the task will fail.  LDMS 9.0
    /uacelevationPrompts user for account if currently logged on user does not have enough rights to install.  Requried to be used with /runasuser and only available with /exe packages.  Added in LDMS 9.0 SP3
    /o

    Override cache. This option is used in conjunction with the /F option to override any cached file information and force the file to be redownloaded.

    /dest=Downloads the file specified by the /P parameter to the local computer in the destination specified by the /dest switch.
    /timeout=xTimeout before sdclient quits waiting for install to finish.  Value in hours that sdclient will wait before terminating.  Added in LDMS 9.0 SP3
    /msg=""

    [Deprecated] Custom message sent back to the core and displayed as the Result.

    See Sending custom task statuses with SendTaskStatus.exe for more information