How to check which mode windows is booting?

Hi,

Can I disable my boot start driver loading when windows start in safe mode?
If not, Can I find out in my driver entry which mode is windows booting?. I
tried to read OptionValue under SafeBoot\Option, but it returned with
STATUS_OBJECT_NAME_NOT_FOUND error.

Thanks
Ramaraj

> Can I disable my boot start driver loading when windows start in safe
mode?

If not, Can I find out in my driver entry which mode is windows booting?.
I
tried to read OptionValue under SafeBoot\Option, but it returned with
STATUS_OBJECT_NAME_NOT_FOUND error.

AFAIK windows loads only those drivers that are specified under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal
or HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network
registry keys
when booting in Safemode (with/out networking ). So if your driver is not in
these registry keys,
don’t worry, it won’t be loaded when windows starts in safe mode.


-Farooque Khan
http://www.concretioindia.com

“Ramaraj Pandian” wrote in message
news:xxxxx@ntfsd…
>
> Hi,
>
> Can I disable my boot start driver loading when windows start in safe
mode?
> If not, Can I find out in my driver entry which mode is windows booting?.
I
> tried to read OptionValue under SafeBoot\Option, but it returned with
> STATUS_OBJECT_NAME_NOT_FOUND error.
>
> Thanks
> Ramaraj
>
>
>
>

Thanks for your reply.
I found the solution. No matter what boot start drivers start in all modes.
Safeboot option can be read from registry but not in DriverEntry.

-ramaraj

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Farooque Khan
Sent: Thursday, October 16, 2003 5:42 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Re: How to check which mode windows is booting?

Can I disable my boot start driver loading when windows start in safe
mode?
If not, Can I find out in my driver entry which mode is windows booting?.
I
tried to read OptionValue under SafeBoot\Option, but it returned with
STATUS_OBJECT_NAME_NOT_FOUND error.

AFAIK windows loads only those drivers that are specified under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal
or HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot\Network
registry keys
when booting in Safemode (with/out networking ). So if your driver is not in
these registry keys,
don’t worry, it won’t be loaded when windows starts in safe mode.


-Farooque Khan
http://www.concretioindia.com

“Ramaraj Pandian” wrote in message
news:xxxxx@ntfsd…
>
> Hi,
>
> Can I disable my boot start driver loading when windows start in safe
mode?
> If not, Can I find out in my driver entry which mode is windows booting?.
I
> tried to read OptionValue under SafeBoot\Option, but it returned with
> STATUS_OBJECT_NAME_NOT_FOUND error.
>
> Thanks
> Ramaraj
>
>
>
>


You are currently subscribed to ntfsd as: xxxxx@vormetric.com
To unsubscribe send a blank email to xxxxx@lists.osr.com