Tech Support > Microsoft Windows > Drivers > launch of a kernel mode driver from network directory is impossible?
launch of a kernel mode driver from network directory is impossible?
Posted by emmanuel on January 30th, 2005


i have a problem of "access denied" if i try to launch the program (that
open a kernel mode driver) from a remote directory on the network
if i lauch the same program on a local directory (drive C: of my hardrive
for example), there is no problem.

i have verified that i have all the control access on the remote directory
but it seems that the problem is the path name
\\??\UNC\etc..... used to locate the .sys driver that caused the access
denied.
is there a way to solve this or is it a "normal" limitation ?
thank you



Posted by Mark Roddy on January 30th, 2005


emmanuel wrote:
really ought to be installed in the normal driver location unless there
is some compelling reason to not do this.

--

=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com

Posted by emmanuel on January 30th, 2005


thank you,
i am new on driver developement and for now, i launch the driver on the same
directory that the program that execute it.
i wanted to use remote directory to access sources files et executable files
from the test computer to developpement computer with share directory on
network for "direct debuging" without copying files from a computer to the
other.
i can else create the executables files (from the developpement computer) to
the test computer with a share directory on the test computer (and not in
developement computer as now) or add to the 'makefile' file, lines to copy
executables files (.sys & .exe) to the test computer.


"Mark Roddy" <markr@hollistech.com> a écrit dans le message de news:
uFQ7CvsBFHA.3664@TK2MSFTNGP14.phx.gbl...


Posted by Don Burn on January 30th, 2005


Use WinDBG and look up "Mapping Driver Files" in the help. WinDBG has the
ability to take a driver file from you development machine and use it to
replace the current driver on the test machine. You install the driver on
your test system and from then on when the debugger sees that the driver is
being loaded it will grab the new version from you development system and
use it.

--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

"emmanuel" <emmanuel@nospam.com> wrote in message
news:41fd09af$0$2003$626a14ce@news.free.fr...


Posted by Doron Holan [MS] on January 30th, 2005


note that .kdfiles only works on XP and later. if you are testing on win2k,
you still have to copy it over manually.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Don Burn" <burn@stopspam.acm.org> wrote in message
news:l18Ld.3953$p85.2002@fe06.lga...


Posted by James Antognini [MSFT} on February 1st, 2005


Another restriction is that .kdfiles won't work for boot-time drivers.

--
James Antognini
Windows Driver Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.

"Don Burn" <burn@stopspam.acm.org> wrote in message
news:l18Ld.3953$p85.2002@fe06.lga...