3.5  Uninstalling Go-HotSwap

3.5.1  On Windows

  1. Close any open Go-HotSwap applications, including Configuration Manager, DriverWizard, the Debug Monitor log, and any user-specific applications.
  2. If you created a Kernel PlugIn driver:
    • If your Kernel PlugIn driver is currently installed, uninstall it by running:
      wdreg -name <Kernel PlugIn name> uninstall
      [Note]
      The Kernel PlugIn name should be specified without the *.sys extension.
    • Erase your Kernel PlugIn driver from the %windir%\system32\drivers directory.
  3. On all Windows platforms on which windrvr6.sys was installed:
    • Uninstall any Plug-and-Play devices registered to work with Go-HotSwap/WinDriver via an INF file:
      wdreg -inf <path to the device-specific INF file> uninstall
    • Verify that there are no INF files that register your device(s) with Go-HotSwap/WinDriver (windrvr6.sys) in the %windir%\inf directory.
  4. Uninstall WinDriver's kernel module – windrvr6.sys.

    [Note]
    It is recommended not to uninstall the WinDriver kernel module (windrvr6.sys), since WinDriver is designed as a generic driver module and may be used by other drivers in the system. To successfully terminate your usage of WinDriver without uninstalling the WinDriver kernel module, simply skip this step and proceed to the steps below.
    • To uninstall windrvr6.sys run:
      wdreg -inf <path to windrvr6.inf> uninstall
      [Note]
      windrvr6.sys should reside in the same directory as windrvr6.inf when running this command.
    • Erase the following files if they exist:
      %windir%\system32\drivers\windrvr6.sys
      %windir%\inf\windrvr6.inf
  5. This step is required only for computers on which the entire Go-HotSwap toolkit has been installed.
    • Uninstall the Go-HotSwap toolkit using the uninstall shield:
      Start | Settings | Control Panel | Add/Remove Programs
    • Erase the Go-HotSwap installation directory.
    • Erase Go-HotSwap's entry in the Start menu.
      For example: Right-click the mouse on Go-HotSwap in Start | Menu | Programs and select Delete.
  6. Remove the Go-HotSwap/WinDriver DLL.

    [Note]
    We recommend not to perform this step, since removing the DLL will affect other Go-HotSwap/WinDriver based applications that may be running in the system.

    Erase the following DLL file, if it exists:
    %windir%\system32\wdapi1021.dll

  7. Reboot the computer.

3.5.2  On Linux

[Note]
The following commands must be executed with root privileges.
  1. Verify that the WinDriver driver module is not being used by another program:
    • View the list of modules and the programs using each of them:
      /# /sbin/lsmod
    • Identify any applications and modules that are using the WinDriver driver module. (By default, WinDriver module names begin with windrvr6).
    • Close any applications that are using the WinDriver driver module.
    • Unload any modules that are using the WinDriver driver module:
      /# /sbin/modprobe -r <module_name>
  2. Unload the WinDriver driver module:
    /# /sbin/modprobe -r windrvr6
  3. If you are not using a Linux 2.6.x kernel that supports the udev file system, remove the old device node in the /dev directory:
    /# rm -f /dev/windrvr6
  4. If you created a Kernel PlugIn driver, remove it as well.
  5. Remove the file .windriver.rc from the /etc directory:
    /# rm -f /etc/.windriver.rc
  6. Remove the file .windriver.rc from $HOME:
    /# rm -f $HOME/.windriver.rc
  7. If you created a symbolic link to DriverWizard, remove the link using the command:
    /# rm -f /usr/bin/wdwizard
  8. Remove the Go-HotSwap installation directory using the command:
    /# rm -rf ~/GoHotSwap
  9. Remove the WinDriver shared object file, if it exists:
    /usr/lib/libwdapi1021.so (32-bit x86 or 32-bit PowerPC) /
    /usr/lib64/libwdapi1021.so (64-bit x86).