Support
How to Uninstall
The instructions on this page are for the latest WinDriver version released for
the target operating system (visit the online store for an updated list
of the latest WinDriver versions). To uninstall an older version of WinDriver,
refer to the uninstall instructions in the WinDriver User’s Manual for your
WinDriver version.
Below you will find instructions for
Windows, and
Linux.
- You can also use the graphical wdreg_gui.exe utility instead of
wdreg.exe. - wdreg.exe and wdreg_gui.exe are found under the
WinDriver\util\ directory.
To uninstall WinDriver, follow these steps:
- Close any open WinDriver applications, including DriverWizard, the
Debug Monitor (wddebug_gui.exe) and any user-specific
applications.
- If you created a Kernel PlugIn driver
- If your Kernel PlugIn driver is currently installed,
uninstall it using the wdreg utility:
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.
- If your Kernel PlugIn driver is currently installed,
- Uninstall all Plug-and-Play devices (USB/PCI/PCMCIA/CardBus) that have
been registered with WinDriver via an INF file:- Uninstall the device using the wdreg utility:
wdreg -inf <path to the INF> file uninstall
- Verify that no INF files that register your device(s) with
WinDriver’s kernel module (windrvr6.sys) are found in
the %windir%\inf directory.
- Uninstall the device using the wdreg utility:
- Uninstall WinDriver:
- On the development PC, on which you installed the
WinDriver toolkitRun Start | WinDriver | Uninstall, OR run the
uninstall.exe utility from the
WinDriver\ installation directory.The uninstall will stop and unload the WinDriver kernel module
(windrvr6.sys); delete the copy of the
windrvr6.inf file from the %windir%\inf\
directory; delete WinDriver from Windows’ Start menu;
delete the WinDriver\ installation directory (except for
files that you added to this directory); and delete the
short-cut icons to the DriverWizard and Debug Monitor utilities
from the Desktop. - On a target PC, on which you installed the WinDriver
kernel module (windrvr6.sys), but not the entire
WinDriver toolkitUse the wdreg utility to stop and unload the driver:
wdreg -inf <path to windrvr6.inf> uninstal
NOTE
When running this command, windrvr6.sys should reside in
the same directory as windrvr6.inf.(On the development PC, the relevant wdreg uninstall
command is executed for you by the uninstall utility.)
NOTE
- If you attempt to uninstall WinDriver while there are open
handles to the WinDriver service (windrvr6.sys or your
renamed driver), or there are connected and enabled
Plug-and-Play devices that are registered to work with this
service, wdreg will fail to uninstall the driver. This
ensures that you do not uninstall the driver while it is being
used.
- You can check if the WinDriver kernel module is loaded by
running the Debug Monitor utility
(WinDriver\util\wddebug_gui.exe). When the driver is
loaded the Debug Monitor log displays driver and OS
information; otherwise it displays a relevant error message.On the development PC, the uninstall command will delete the
Debug Monitor executables; to use this utility after the
uninstallation, create a copy of wddebug_gui.exe before
performing the uninstall procedure.
- On the development PC, on which you installed the
- If windrvr6.sys was successfully unloaded, erase the following
files (if they exist):- %windir%\system32\drivers\windrvr6.sys
- %windir\inf\windrvr6.inf
- %windir%\system32\wdapi<version>.dll for the
WinDriver version that you are uninstalling (for example,
wdapi1120.dll — for version
11.2.0).
- %windir%\sysWOW64\wdapi<version>.dll
for the WinDriver version that you are
uninstalling (for example, wdapi1120.dll
— for version 11.2.0) (Windows x64).
- Reboot the computer.
The following commands must be executed with root privileges.
- Verify that the WinDriver driver modules are 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 WinDriver driver modules. (By default, WinDriver
module names begin with windrvr6).
- Close any applications that are using the WinDriver driver
module(s).
- If you created a Kernel PlugIn driver, unload the Kernel PlugIn
driver module:
# /sbin/rmmod <kp_xxx_module>
- View the list of modules and the programs using each of them:
- Uninstall WinDriver —
- If you installed WinDriver using one of the
WinDriver Debian or RPM installation packages,
you can uninstall (remove) it using the Linux Software Center,
or from the command line, using root privileges — for
example:- To uninstall the 32-bit Debian package —
#
sudo dpkg -r windriver-11.2.0-1.i386
- To uninstall the 64-bit RPM package —
# sudo
rpm -e --scripts windriver-11.2.0-2.x86_64
- To uninstall the 32-bit Debian package —
- If you installed WinDriver manually,
run the following command to unload the WinDriver driver
module(s):# /sbin/modprobe -r windrvr6
- If you installed WinDriver using one of the
- If you created a Kernel PlugIn driver, remove it as well.
- Remove the file .windriver.rc from the /etc directory:
rm -f /etc/.windriver.rc
- Remove the file .windriver.rc from $HOME:
# rm -f $HOME/.windriver.rc
- If you created a symbolic link to DriverWizard, remove the link using
the command# rm -f /usr/bin/wdwizard
- Remove the WinDriver installation directory using the command
# rm -rf <path to the WinDriver directory>(for example:
# rm -rf ~/WinDriver).
- Remove the WinDriver shared object file, if it exists:
/usr/lib/libwdapi<version>.so
(32-bit x86 or 32-bit PowerPC) /
/usr/lib64/libwdapi<version>.so
(64-bit x86) for the WinDriver version that you are
uninstalling (e.g., libwdapi1120.so — for version
11.2.0).
