# Software Deployment - How To's ## How to uninstall SNMP component using Endpoint Central? Table of contents - [For machines running on version below to Windows Vista](#l1) - [For Windows Vista and Above](#l2) --- 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) `/r` - suppresses reboot (if needed) #### Steps to Deploy To disable SNMP components from a machine: 1. Navigate to **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:"" /q /r ``` **Note**: The `` 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 use **ocssetup.exe** to uninstall SNMP component in client computers 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 to **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: ``` start /wait ocsetup.exe SNMP /uninstall /quiet /norestart ``` **Note**: The `` 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.**