From: David F. on
Hi,

When should the "\systemroot\system32\drivers\drivername.sys" format be used
over the "system32\drivers\drivername.sys" format in the service ImagePath
registry entry? What's the difference?

TIA!!

From: Maxim S. Shatskih on
I think they are the same.

--
Maxim S. Shatskih
Windows DDK MVP
maxim(a)storagecraft.com
http://www.storagecraft.com

"David F." <df2705(a)community.nospam> wrote in message news:910A536F-3735-499F-AF1D-EEBA754FD1FC(a)microsoft.com...
> Hi,
>
> When should the "\systemroot\system32\drivers\drivername.sys" format be used
> over the "system32\drivers\drivername.sys" format in the service ImagePath
> registry entry? What's the difference?
>
> TIA!!
>
From: Pavel A. on
"David F." <df2705(a)community.nospam> wrote in message
news:910A536F-3735-499F-AF1D-EEBA754FD1FC(a)microsoft.com...
> Hi,
>
> When should the "\systemroot\system32\drivers\drivername.sys" format be
> used over the "system32\drivers\drivername.sys" format in the service
> ImagePath registry entry? What's the difference?

The two paths you've mentioned are actually same, because relative paths
stem from systemroot.
Probably this depends on how the service has been installed.
Some utilities create relative paths, some - absolute.

Regards,
--pa


From: Alexandre Grigoriev on
I think the driver will get loaded OK from System32\Drivers even if its name
is specified without any path.

"Maxim S. Shatskih" <maxim(a)storagecraft.com.no.spam> wrote in message
news:e5PeZVy4KHA.1924(a)TK2MSFTNGP06.phx.gbl...
> I think they are the same.
>
> --
> Maxim S. Shatskih
> Windows DDK MVP
> maxim(a)storagecraft.com
> http://www.storagecraft.com
>
> "David F." <df2705(a)community.nospam> wrote in message
> news:910A536F-3735-499F-AF1D-EEBA754FD1FC(a)microsoft.com...
>> Hi,
>>
>> When should the "\systemroot\system32\drivers\drivername.sys" format be
>> used
>> over the "system32\drivers\drivername.sys" format in the service
>> ImagePath
>> registry entry? What's the difference?
>>
>> TIA!!
>>
From: Maxim S. Shatskih on
>I think the driver will get loaded OK from System32\Drivers even if its name
> is specified without any path.

You also can omit ImagePath at all, the default is \SystemRoot\system32\drivers\ServiceName.sys

PnP installer will create an ImagePath for you though.

--
Maxim S. Shatskih
Windows DDK MVP
maxim(a)storagecraft.com
http://www.storagecraft.com