Oh, here is the clue: I was playing with (my own instrumented
builds of) disk.sys, fat32.sys etc.; that’s why simple overwrite
did not work and F8 or .kdfiles were necessary.
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Alex Shvedov
Sent: Saturday, May 10, 2008 9:34 PM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] loading a debug version of my driver
for everything except x64 vista/w2k8, brute force copy
over all images of the target driver (which defeats WFP.)
I may be wrong but I would bet that brute force did not work
for me even on 32-bit XP.
I had to use F8 or .kdfiles after actually seeing how WFP copies an old
binary (the one from the cache folder, exactly as advertised) over the new
one after I overwrite it.
Anyway.
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Mark Roddy
Sent: Saturday, May 10, 2008 4:45 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] loading a debug version of my driver
I use four mechanisms:
- replace the driver using the debugger remapping interface (.kdfiles)
which works on all systems for everything except boot load drivers,
- or for everything except x64 vista/w2k8, brute force copy over all
images of the target driver (which defeats WFP.)
- For x64 vista/w2k8 you have to install a test signed/self signed
driver (and possibly boot in testsigning mode)
- or use F8 when the system boots to turn off signed driver
protection.
On Sat, May 10, 2008 at 8:20 AM, Alex Shvedov wrote:
> file system filter that runs on XP and
> now Vista workstations.
> I had no problem during debug sessions simply copying my
> driver to \windows\system32\drivers and rebooting to get to my next
> version loaded
Hmmm… WFP should not allow you to do that since XP.
Did you disable WFP (I had to)?
Are you positive that WFP does not restore the sys before you
reboot?
Look (from http://support.microsoft.com/kb/222193):
“This protection is triggered after WFP receives a directory change
notification for a file in a protected directory. After WFP receives this
notification, WFP determines which file was changed. If the file is
protected, WFP looks up the file signature in a catalog file to determine if
the new file is the correct version. If the file is not the correct version,
WFP replaces the new file with the file from the cache folder (if it is in
the cache folder) or from the installation source.”
etc.
> -----Original Message-----
> From: xxxxx@lists.osr.com [mailto:bounce-323865-
> xxxxx@lists.osr.com] On Behalf Of xxxxx@sbcglobal.net
> Sent: Saturday, May 10, 2008 1:51 AM
> To: Windows File Systems Devs Interest List
> Subject: [ntfsd] loading a debug version of my driver
>
> I’ve been working primarily on a file system filter that runs on XP and
> now Vista workstations. Once I installed my driver with the inf
> file,etc I had no problem during debug sessions simply copying my
> driver to \windows\system32\drivers and rebooting to get to my next
> version loaded for testing,etc.
>
> Now, I working on a 2003 server SP1 (released version, not the checked
> one) and this method is not working. My driver in release mode
> installs and run just fine, but when I just overwrite the driver with
> my debug version the new debug version does not load.
>
> What bit of space dust in the inf file or other corner is at issue? Or
> is there something else going on?
>
> TIA
>
> Larry.
>
> —
> NTFSD is sponsored by OSR
>
> For our schedule debugging and file system seminars
> (including our new fs mini-filter seminar) visit:
> http://www.osr.com/seminars
>
> You are currently subscribed to ntfsd as: xxxxx@comcast.net
> To unsubscribe send a blank email to xxxxx@lists.osr.com
—
NTFSD is sponsored by OSR
For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars
You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com
–
Mark Roddy — NTFSD is sponsored by OSR For our schedule debugging and file
system seminars (including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars You are currently subscribed to ntfsd as:
xxxxx@comcast.net To unsubscribe send a blank email to
xxxxx@lists.osr.com
—
NTFSD is sponsored by OSR
For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars
You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com