<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thanks for the info, stoppable VBoxDrv is useful for uninstall, self update, and USB version, etc., it saves one reboot<BR><BR>--- On <B>Mon, 2/28/11, Andreas Löffler <I><andreas.loeffler@oracle.com></I></B> wrote:<BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Andreas Löffler <andreas.loeffler@oracle.com><BR>Subject: Re: [vbox-dev] VBoxDrv not stoppable? (Windows host)<BR>To: "Huihong Luo" <huisinro@yahoo.com><BR>Cc: vbox-dev@virtualbox.org<BR>Date: Monday, February 28, 2011, 1:12 AM<BR><BR>
<DIV class=plainMail>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.<BR><BR>-Andreas.<BR><BR><BR><BR>> I noticed that VBoxDrv on Windows host can't be stopped using command<BR>> like this:<BR>> net stop vboxdrv<BR>> even after changing the service start value to be 3 (on demand).<BR>> Is there any particular reason why this driver can't be stopped?<BR>> net start vboxdrv (after start, immediately do stop, no use at all)<BR>> net stop vboxdrv<BR>> sc query vboxdrv<BR>> SERVICE_NAME: vboxdrv<BR>> TYPE : 1 KERNEL_DRIVER<BR>> STATE : 3 STOP_PENDING<BR>> (STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)<BR>> WIN32_EXIT_CODE : 0 (0x0)<BR>> SERVICE_EXIT_CODE : 0
 (0x0)<BR>> CHECKPOINT : 0x0<BR>> WAIT_HINT : 0x0<BR>> <BR>> <BR>> <BR>> _______________________________________________<BR>> vbox-dev mailing list<BR>> <A href="http://us.mc343.mail.yahoo.com/mc/compose?to=vbox-dev@virtualbox.org" ymailto="mailto:vbox-dev@virtualbox.org">vbox-dev@virtualbox.org</A><BR>> <A href="http://vbox.innotek.de/mailman/listinfo/vbox-dev" target=_blank>http://vbox.innotek.de/mailman/listinfo/vbox-dev</A><BR></DIV></BLOCKQUOTE></td></tr></table>