A
Alec Soroudi
Hi,
I'm trying to install a "Non-Plug and Play Driver" in XP using .BAT
files. I can do it by copying the .SYS file to %systemroot%, and merging a
..REG file that has the required info in
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\*****]
and
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_*****\0000]
The problem is that after doing this I have to reboot for them to take
effect, after which they work flawlessly. I would however, like to not have
to reboot. In other words, I would like to add the driver to the services
database and start it.
### I know I can start the service with NET START *****, but how can I
first install/add it to the services db with a batch file?
### The other question is that the aforementioned .REG file dies when I
try to merge it because the ...\Enum\Root\... key is protected. I can
easily deal with this by allowing Administrator accounts access to it, but
would like an automatic (.BAT file) way of doing it.
Thanks
I'm trying to install a "Non-Plug and Play Driver" in XP using .BAT
files. I can do it by copying the .SYS file to %systemroot%, and merging a
..REG file that has the required info in
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\*****]
and
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\Root\LEGACY_*****\0000]
The problem is that after doing this I have to reboot for them to take
effect, after which they work flawlessly. I would however, like to not have
to reboot. In other words, I would like to add the driver to the services
database and start it.
### I know I can start the service with NET START *****, but how can I
first install/add it to the services db with a batch file?
### The other question is that the aforementioned .REG file dies when I
try to merge it because the ...\Enum\Root\... key is protected. I can
easily deal with this by allowing Administrator accounts access to it, but
would like an automatic (.BAT file) way of doing it.
Thanks