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

Here you can find everything you need to know about Dll-Files. You can also share your knowledge regarding the topic.

Moderators: DllAdmin, DLLADMIN ONLY

Post Reply
carla lacrosse
Posts: 1
Joined: 07 Mar 2009, 00:00

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

Post 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

john john - mvp
Posts: 37
Joined: 30 Apr 2009, 23:00

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

Post 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
>

Post Reply