Running SymDiag in silent mode

In order to run symdiag in silent mode first, you need to create a self-extracting file. You can use 7zip or Winzip (paid version). If you wish to use 7zip, please follow the below steps:

Step 1 – Set up your installation folder

To make this easy create a folder c:\SymDiag. This is where we will copy all the required files.

Step 2 – 7Zip your installers

  1. Go to the folder that has your .msi and your setup.exe
  2. Select the downloaded symdiag.exe
  3. Right-Click and choose 7Zip –> “Add to Archive”
  4. Name your archive “symdiag.7z” (or a name of your choice)
  5. Click Ok
  6. You should now have “Symdiag.7z”.
  7. Copy this .7z file to your c:\Install directory

Step 3 – Get the 7z-Extra SFX extension module

You need to download 7zSD.sfx

  1. Download one of the LZMA packages from here
  2. Extract the package and find sfxin the bin folder.
  3. Copy the file “7zSD.sfx” to c:\SymDiag
  4. In the same folder find Install and copy to config file to c:\symdiag

Step 4 – Setup your config.txt

I would recommend using NotePad++ to edit this text file as you will need to encode in UTF-8, the following instructions are using notepad++.

  1. Using windows explorer go to c:\SymDiag and select the config file.
  2. right-click and choose “Edit with NotePad++
  3. Click the “Encoding Menu” and choose “Encode in UTF-8”
  4. Enter something like this:
  5. Save the file.

CheckPoint

You should now have a folder “c:\Install” with the following 3 files:

  1. 7z
  2. sfx
  3. txt

Step 5 – Create the archive

  1. Open a cmd window, Window + R –> cmd –> press enter
  2. In the command window type the following
  3. cd \
  4. cd Symdiag
  5. copy /b 7zSD.sfx + config.txt + SymDiag.7z Symdiagselfextract.exe
  6. Look in c:\Install and you will now see you have a Symdiagselfextract.exe

The Self-extracting file is created now.

 Deploy SymDiag:

  1. In the SEPM, under the Common Tasks drop-down in the upper-right corner, select Install protection client to computers.
    The Client Deployment Wizard opens.
  2. Select Existing Package Deployment.
  3. Click Browse, and navigate to the SymDiag self-extracting executable archive.
  4. Click Next. The SymDiag deployment package will begin uploading.
  5. On the Computer Selection screen, in the left pane, select the computers you want to run SymDiag on.
    Enter the correct login credentials if requested. Computers are added after login credentials are verified and connections to the computers are successful.
  6. Once computers have been added to the right pane, click Next.
  7. In the Install Symantec Endpoint Protection Client screen, review the list of computers you want to deploy to, and click Send.
  8. Once the package has been deployed, you can review the Deployment Summary.
    Successful deployment is not an indication that SymDiag ran successfully, only that SymDiag was successfully copied to the machine and launched. Once the package has been created you can copy it from the destination c:\sdbzfile23

Refer links:

https://knowledge.broadcom.com/external/article/181445/deploy-symdiag-using-the-client-deployme.html

https://knowledge.broadcom.com/external/article?legacyId=TECH170732

Leave a comment