How to uninstall SNMP component using Endpoint Central?

Table of contents


This document will guide you in uninstalling the SNMP component in your windows machine.

For machines running on operating systems released before Windows Vista

Leverage the sysocmgr.exe file to uninstall SNMP components in the computers for the following operating systems,

  • Windows 2000
  • Windows 2003
  • Windows XP
  • Windows 2003 R2

Create a text file

The first step in using sysocmgr.exe is to create a text file with the following information.

[Components]
SNMP = off

Note: /q - runs sysocmgr.exe in quiet mode (without display pages) and /r - suppresses reboot (if needed).

Steps to Deploy

To disable SNMP components from a machine:

  1. Navigate to the Software Deployment > Add Package > MSIEXEC/EXE/ISS/Command option
  2. Enter Uninstalling Windows Components as the application name
  3. Enter the following command in the Uninstallation Command with Switches/Arguments field:
    For computers using OS released before Windows Vista follow the uninstall command mentioned below.

    %windir%\system32\sysocmgr.exe /i:%windir%\inf\sysoc.inf /u:"<Path-To-Answer-File>" /q /r  

    Note: The <path-to-answer-file> must be the path to the text file in your network share. For example, %windir%\system32\sysocmgr.exe /i:%windir%\inf\sysoc.inf /u: "\\machine1\DCSWRepository\option.txt " /q /r

  4. Click Add Package and select the created package
  5. In the Actions column, click the Install/Uninstall Software icon
  6. Enter a name and description for the configuration
  7. Select the following:
    • Installer type: EXE
    • EXE package name
    • Operation type: Uninstall
  8. Configure the deployment settings and select the target
  9. Click Deploy.

 

For Computers using Windows vista and later versions of operating system

You can ocssetup.exe to uninstall SNMP component in client computes using the following operating systems,

  • Windows Vista
  • Windows 2008
  • Windows 7
  • Windows 2008 R2

Steps to Deploy

To uninstall the SNMP components, follow the steps mentioned below:

  1. Navigate toSoftware Deployment > Add PackageMSIEXEC/EXE/ISS/Command option
  2. Enter Uninstalling Windows Components as the application name
  3. Enter the following command in the Uninstallation Command with Switches/Argumentsfield:

    start /wait ocsetup.exe SNMP /uninstall /quiet /norestart

    Note: The <path-to-answer-file> must be a path to the text file in your network share. For example, %windir%\system32\ocsetup.exe /i:%windir%\inf\sysoc.inf /u: "\\machine1\DCSWRepository\option.txt " /q /r

  4. Click Add Package
  5. Select the package you created
  6. In the Actions column, click the Install/Uninstall Software icon
  7. Enter a name and description for the configuration
  8. Select the following:
    • Installer type: EXE
    • EXE package name
    • Operation type: Uninstall
  9. Configure the deployment settings and select the target
  10. Click Deploy.