[vbox-dev] VBoxDrv not stoppable? (Windows host)

Huihong Luo huisinro at yahoo.com
Mon Feb 28 17:37:24 GMT 2011


Thanks for the info, stoppable VBoxDrv is useful for uninstall, self update, and USB version, etc., it saves one reboot

--- On Mon, 2/28/11, Andreas Löffler <andreas.loeffler at oracle.com> wrote:


From: Andreas Löffler <andreas.loeffler at oracle.com>
Subject: Re: [vbox-dev] VBoxDrv not stoppable? (Windows host)
To: "Huihong Luo" <huisinro at yahoo.com>
Cc: vbox-dev at virtualbox.org
Date: Monday, February 28, 2011, 1:12 AM


At the moment we don't support stopping the driver in release mode -- this is intentional and should prevent the guest OS becoming less usable. You can, however, compile the driver with VBOX_REBOOT_ON_UNINSTALL unset (e.g. handled in IRP_MN_QUERY_STOP_DEVICE) to stop the driver via device/service manager.

-Andreas.



> I noticed that VBoxDrv on Windows host can't be stopped using command
> like this:
> net stop vboxdrv
> even after changing the service start value to be 3 (on demand).
> Is there any particular reason why this driver can't be stopped?
> net start vboxdrv (after start, immediately do stop, no use at all)
> net stop vboxdrv
> sc query vboxdrv
> SERVICE_NAME: vboxdrv
> TYPE : 1 KERNEL_DRIVER
> STATE : 3 STOP_PENDING
> (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
> WIN32_EXIT_CODE : 0 (0x0)
> SERVICE_EXIT_CODE : 0 (0x0)
> CHECKPOINT : 0x0
> WAIT_HINT : 0x0
> 
> 
> 
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20110228/c073fee9/attachment.html>


More information about the vbox-dev mailing list