Page 1 of 1

How to load a *.sys driver dynamically / from command line?

Posted: 07 Mar 2009, 15:55
by carla lacrosse
Normally *.sys drivers are put during the installation of a program into the folder

C:\Windows\system32\drivers\

and loaded from there during the next boot.

But is there a way to NOT put it into the directory mentioned above and
load it dynamically later (without reboot) from command line?

I could imagine that there is something similar to registering DLLs aferwards with

regsvr32 aaaaa.dll

Maybe there is twin command like:

regload32 bbbbb.sys

Carla

Re: How to load a *.sys driver dynamically / from command li

Posted: 07 Mar 2009, 15:55
by john john - mvp
You can try with SC.exe. For more help Do sc /? at the Command Prompt.

John



Carla Lacrosse wrote:
> Normally *.sys drivers are put during the installation of a program into the folder
>
> C:\Windows\system32\drivers\
>
> and loaded from there during the next boot.
>
> But is there a way to NOT put it into the directory mentioned above and
> load it dynamically later (without reboot) from command line?
>
> I could imagine that there is something similar to registering DLLs aferwards with
>
> regsvr32 aaaaa.dll
>
> Maybe there is twin command like:
>
> regload32 bbbbb.sys
>
> Carla
>