Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is it possible to unload a driver which was loaded at boot time. If yes, how can this be done?

System is windows xp. I tried net stop but I got "The requested control is not valid for this service "

The driver is a kernel mode driver which is loaded by a service so I cannot uninstall it from device manager.

Any ideas how to unload the driver?

Thank you.

share|improve this question
You need to include information about which operating system. – A Dwarf Oct 9 '09 at 14:45
mcnamara - could you provide some information on what operating system you are attempting to unload drivers from? That may help others to provide a more useful answer. Also, a description of the type of device that you are attempting to unload would also be useful. – Chrisbux Oct 9 '09 at 14:47
If it's a WinXP system, why on earth is this question tagged "Linux"? – amphetamachine Aug 31 '11 at 8:30
hi, i suppose it's a little bit off topic now but have you ever found out how to do it? – user22027 Feb 3 '14 at 10:08

3 Answers 3

On GNU/Linux, you can use rmmod (or modprobe) like so:

rmmod [ -fswvV ] modulename

If you don't want to load a module at bootime, you can blacklist it by editing /etc/modprobe.d/blacklist.conf to add a line like so:

blacklist modulename
share|improve this answer
It's Windows XP dude. – amphetamachine Aug 31 '11 at 8:31

On Windows you can also enter

> net stop [drivername]

on the commandline (or Start > Run) to unload a driver.

share|improve this answer
Doesn't net stop only apply to services? – EvilChookie Oct 9 '09 at 15:39
EvilChookie: No, both net stop and sc stop can control both services and drivers. – grawity Oct 9 '09 at 15:57
it's a dirty little secret they only tell you when they chain you to the desk and force you to write drivers. – quack quixote Oct 9 '09 at 16:01

On Linux you can use modprobe like so:

modprobe -r [module name]

On Windows it can be done using the Device Manager.

On Mac you can use the developer tool kextunload

share|improve this answer
It's Windows XP dude. – amphetamachine Aug 31 '11 at 8:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.