When uninstalling a filter driver with DIFxApp, I notice that it doesn't
remove the actual .sys file from c:\windows\system32\drivers. This is a
violation of the Certified for Windows test. In looking through the
DIFxApp.doc supplied by MS, there is a section that describes the uninstall
steps, and by George, it doesn't mention deleting the installed files.

From the DIFxApp.doc whitepaper:

· Removes the driver package from the Driver Store. (Bob: I'm assuming
this doesn't mean remove the actual driver file. This has to do with the
.inf and .cat, right?)

· Updates the association between the service, the driver, and
applications. For more information, see "Associating Services, Driver
Packages, and Applications" later in this paper.

· Deletes the corresponding entry for the driver package in Add or Remove
Programs. (Bob: actually no add/remove entry was created)



Is it okay to leave these files there, or is there a way to get them
deleted?



Thanks!


Bob

RE: Uninstalling a file system filter driver with DIFxApp by jeffm

jeffm
Thu Apr 21 10:42:03 CDT 2005

------=_NextPart_0001_20347BF4
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Bob,

Microsoft recommends against removing the .sys driver file. On current
Windows versions, there is no reference counting mechanism that will ensure
the driver is not in use. Removing the driver could break other apps or
devices.

Can you provide a document and section reference of where the Windows Logo
program requries this?

To answer your other questions:
· Removes the driver package from the Driver Store. (Bob: I'm assuming
this doesn't mean remove the actual driver file. This has to do with the

Re: Uninstalling a file system filter driver with DIFxApp by jeffm

jeffm
Thu Apr 21 17:36:37 CDT 2005

------=_NextPart_0001_015234DF
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Bob,

I'm pretty sure that the DIFx tools leave the .sys driver files in place.
I also checked with the WHQL team, and was informed that they do not expect
the .sys files to be removed when uninstalling a driver.

Thanks,
[MS] Jeff McCashland
jeffm@online.microsoft.com

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

------=_NextPart_0001_015234DF
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Bob,
\par
\par I'm pretty sure that the DIFx tools leave the .sys driver files in place. I also checked with the WHQL team, and was informed that they do not expect the .sys files to be removed when uninstalling a driver.
\par
\par Thanks,
\par [MS] Jeff McCashland
\par jeffm@online.microsoft.com
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par }
------=_NextPart_0001_015234DF--


Re: Uninstalling a file system filter driver with DIFxApp by Bob

Bob
Thu Apr 21 20:50:53 CDT 2005

My application installs 2 real-mode services, an administrative client and a
file system filter driver (kernel mode driver). In my case, after
uninstalling the rest of the application, there is no possibility that the
filter driver is going to be useful to anything, therefore it really needs
to be removed. Maybe for device drivers, leaving the .sys file around makes
sense, but as a driver that is useless without the rest of the application,
it doesn't.

Thanks for your help!

Bob


"Jeff McCashland [MSFT]" <jeffm@online.microsoft.com> wrote in message
news:40KHYKsRFHA.18944@TK2MSFTNGXA01.phx.gbl...
> Bob,
>
> I'm pretty sure that the DIFx tools leave the .sys driver files in place.
> I also checked with the WHQL team, and was informed that they do not
> expect
> the .sys files to be removed when uninstalling a driver.
>
> Thanks,
> [MS] Jeff McCashland
> jeffm@online.microsoft.com
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>