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:
- Navigate to the Software Deployment > Add Package > MSIEXEC/EXE/ISS/Command option
- Enter Uninstalling Windows Components as the application name
- 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
- Click Add Package and select the created package
- In the Actions column, click the Install/Uninstall Software icon
- Enter a name and description for the configuration
- Select the following:
- Installer type: EXE
- EXE package name
- Operation type: Uninstall
- Configure the deployment settings and select the target
- 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:
- Navigate toSoftware Deployment > Add Package > MSIEXEC/EXE/ISS/Command option
- Enter Uninstalling Windows Components as the application name
- 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
- Click Add Package
- Select the package you created
- In the Actions column, click the Install/Uninstall Software icon
- Enter a name and description for the configuration
- Select the following:
- Installer type: EXE
- EXE package name
- Operation type: Uninstall
- Configure the deployment settings and select the target
- Click Deploy.