Software Deployment - How To's

How to uninstall SNMP component using Desktop Central?

This document provides you with the steps required to uninstall SNMP component in remote client computers.

For Computers using operating system released before Windows Vista

You will use sysocmgr.exe to uninstall SNMP components for the computers using 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 remove SNMP components from remote client systems , follow the steps given below:

  1. Click the Software Deployment tab
  2. Click Add Package
  3. Select the MSIEXEC/EXE/ISS/Command option
  4. Enter Uninstalling Windows Components as the application name
  5. 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 a 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

  6. Click Add Package
  7. Select the package you created
  8. In the Actions column, click the Install/Uninstall Software icon
  9. Enter a name and description for the configuration
  10. Select the following:
    • Installer type: EXE
    • EXE package name
    • Operation type: Uninstall
  11. Make the required deployment settings
  12. Select the required client systems using the Define Target option
  13. Click Deploy

Similarly to uninstall other windows components like games, Telent etc., refer to http://support.microsoft.com/kb/222444.

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. Click the Software Deployment tab
  2. Click Add Package
  3. Select the MSIEXEC/EXE/ISS/Command option
  4. Enter Uninstalling Windows Components as the application name
  5. Enter the following command in the Uninstallation Command with Switches/Arguments field:

    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

  6. Click Add Package
  7. Select the package you created
  8. In the Actions column, click the Install/Uninstall Software icon
  9. Enter a name and description for the configuration
  10. Select the following:
    • Installer type: EXE
    • EXE package name
    • Operation type: Uninstall
  11. Make the required deployment settings
  12. Select the required client systems using the Define Target option
  13. Click Deploy