manual loading of win2000 driver

Hello All,

i am writing a driver for win2000 , and i have just written
a driver entry routine of it.
i want to load my driver manualy, i have done with the
entries (start = 0x3) in registry for manual loading
so How to go for this.

In WINNT we know that from devices in control panel , we can
start it
but in win2000, i don’t see any option like that.

can anybody help me in this regard?.

waiting for your replies…

Bye
Sunil Bhatia


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Try a command line and enter “net start yourdriver”

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: Sunil Bhatia [mailto:xxxxx@dcmtech.co.in]
Sent: Tuesday, October 16, 2001 2:14 AM
To: NT Developers Interest List
Subject: [ntdev] manual loading of win2000 driver

Hello All,

i am writing a driver for win2000 , and i have just written
a driver entry routine of it.
i want to load my driver manualy, i have done with the
entries (start = 0x3) in registry for manual loading
so How to go for this.

In WINNT we know that from devices in control panel , we can
start it
but in win2000, i don’t see any option like that.

can anybody help me in this regard?.

waiting for your replies…

Bye
Sunil Bhatia


You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

I dont think its possible to start the driver manually in Win2K…U can try writing a simple dummy INF that will help u in doing so…
If all that u want is to see ur driver working then just say Start = Auto (in Reg) and restart …
u can aslo add a IoCreateDevice and dummy rountines needed to handle open/close a device … i mean write it as a legacy driver (without any PnP support) and u can see it working …

Gary Little wrote: Try a command line and enter “net start yourdriver”

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: Sunil Bhatia [mailto:xxxxx@dcmtech.co.in]
Sent: Tuesday, October 16, 2001 2:14 AM
To: NT Developers Interest List
Subject: [ntdev] manual loading of win2000 driver

Hello All,

i am writing a driver for win2000 , and i have just written
a driver entry routine of it.
i want to load my driver manualy, i have done with the
entries (start = 0x3) in registry for manual loading
so How to go for this.

In WINNT we know that from devices in control panel , we can
start it
but in win2000, i don’t see any option like that.

can anybody help me in this regard?.

waiting for your replies…

Bye
Sunil Bhatia


You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

---------------------------------
Do You Yahoo!?
Make a great connection at Yahoo! Personals.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

For non-pnp drivers net start drivername works fine in w2k/xp/.net whatever.
It sort of works for pnp drivers too, in that it will start the driver (load
it and call DriverEntry,) but that is all that will happen.

-----Original Message-----
From: Sriram Neelakandan Iyer [mailto:xxxxx@yahoo.com]
Sent: Tuesday, October 16, 2001 1:02 PM
To: NT Developers Interest List
Subject: [ntdev] RE: manual loading of win2000 driver

I dont think its possible to start the driver manually in Win2K…U can
try writing a simple dummy INF that will help u in doing so…

If all that u want is to see ur driver working then just say Start = Auto
(in Reg) and restart …

u can aslo add a IoCreateDevice and dummy rountines needed to handle
open/close a device … i mean write it as a legacy driver (without any PnP
support) and u can see it working …

Gary Little wrote:

Try a command line and enter “net start yourdriver”

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: Sunil Bhatia [mailto:xxxxx@dcmtech.co.in]
Sent: Tuesday, October 16, 2001 2:14 AM
To: NT Developers Interest List
Subject: [ntdev] manual loading of win2000 driver

Hello All,

i am writing a driver for win2000 , and i have just written
a driver entry routine of it.
i want to load my driver manualy, i have done with the
entries (start = 0x3) in registry for manual loading
so How to go for this.

In WINNT we know that from devices in control panel , we can
start it
but in win2000, i don’t see any option like that.

can anybody help me in this regard?.

waiting for your replies…

Bye
Sunil Bhatia


You are c! urrently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

_____

Do You Yahoo!?
Make a great connection at Yahoo! Personals
http: .
— You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</http:>

As Gary stated, setting Start = 3 in the registry and typing Net Start
Yourdriver will handle this correctly.

Pete

Peter Scott
xxxxx@KernelDrivers.com
http://www.KernelDrivers.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Sriram Neelakandan Iyer
Sent: Tuesday, October 16, 2001 11:02 AM
To: NT Developers Interest List
Subject: [ntdev] RE: manual loading of win2000 driver

I dont think its possible to start the driver manually in Win2K…U can
try writing a simple dummy INF that will help u in doing so…

If all that u want is to see ur driver working then just say Start = Auto
(in Reg) and restart …

u can aslo add a IoCreateDevice and dummy rountines needed to handle
open/close a device … i mean write it as a legacy driver (without any PnP
support) and u can see it working …

Gary Little wrote:

Try a command line and enter “net start yourdriver”

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: Sunil Bhatia [mailto:xxxxx@dcmtech.co.in]
Sent: Tuesday, October 16, 2001 2:14 AM
To: NT Developers Interest List
Subject: [ntdev] manual loading of win2000 driver

Hello All,

i am writing a driver for win2000 , and i have just written
a driver entry routine of it.
i want to load my driver manualy, i have done with the
entries (start = 0x3) in registry for manual loading
so How to go for this.

In WINNT we know that from devices in control panel , we can
start it
but in win2000, i don’t see any option like that.

can anybody help me in this regard?.

waiting for your replies…

Bye
Sunil Bhatia


You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

----------------------------------------------------------------------------

Do You Yahoo!?
Make a great connection at Yahoo! Personals. — You are currently
subscribed to ntdev as: xxxxx@home.com To unsubscribe send a blank
email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

“I don’t think …” implies you have not tried, and therefore are flying on
deductive reasoning, which ain’t always bad. :slight_smile:

However, in this case, you can start drivers, legacy drivers specifically,
from the command line using the “net” commands. The driver will be loaded,
if it has a viable entry under Services … although the AddDevice function
may not be called unless the PnP manager is happy. Given that the driver is
PnP, in all probability the PnP manger will load it, regardless of what
Start is set too. But that does not mean it will call AddDevice.

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: Sriram Neelakandan Iyer [mailto:xxxxx@yahoo.com]
Sent: Tuesday, October 16, 2001 10:02 AM
To: NT Developers Interest List
Subject: [ntdev] RE: manual loading of win2000 driver

I dont think its possible to start the driver manually in Win2K…U can
try writing a simple dummy INF that will help u in doing so…
If all that u want is to see ur driver working then just say Start = Auto
(in Reg) and restart …
u can aslo add a IoCreateDevice and dummy rountines needed to handle
open/close a device … i mean write it as a legacy driver (without any PnP
support) and u can see it working …

Gary Little wrote:
Try a command line and enter “net start yourdriver”

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@broadstor.com

-----Original Message-----
From: Sunil Bhatia [mailto:xxxxx@dcmtech.co.in]
Sent: Tuesday, October 16, 2001 2:14 AM
To: NT Developers Interest List
Subject: [ntdev] manual loading of win2000 driver

Hello All,

i am writing a driver for win2000 , and i have just written
a driver entry routine of it.
i want to load my driver manualy, i have done with the
entries (start = 0x3) in registry for manual loading
so How to go for this.

In WINNT we know that from devices in control panel , we can
start it
but in win2000, i don’t see any option like that.

can anybody help me in this regard?.

waiting for your replies…

Bye
Sunil Bhatia


You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

_____

Do You Yahoo!?
Make a great connection at Yahoo! Personals
http: .
— You are currently subscribed to ntdev as: xxxxx@broadstor.com To
unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</http:>