Disabling the Windows format popup on Vista, Windows 2008 and/or Windows 7

Hi,

This is not a file system driver development question per se, but I thought somebody here would have experience with this.

I work on a file system driver for a proprietary removable disc format. When media is loaded into a drive, Windows displays a message box which says “You need to format the disk in drive driveletter: before you can use it. Do you want to format it?” along with our custom format utility. The Windows format utility fails to format the disk using any of the three file system options (NTFS, FAT, exFAT), so I would like to disable this popup. Does anyone know if there is a way to do this?

I have tried disabling autorun/autoplay but this does not disable the popup. The Autoplay settings in Control Panel keep getting reset to defaults after I change the settings and save them. I have also tried disabling these options using group policy editor and registry settings, but the popup still appears. It is not possible to remove the drive letter from Disk Management. The only thing which seems to work is stopping the Shell Hardware Detection service, but this is not a practical option.

I don’t see Windows format prompt on Windows XP or 2003. It is only seen on Vista, Windows 2008 and Windows 7. Does anybody know how to disable this? Any help would be greatly appreciated.

Thanks,
Priya</driveletter:>

Does your file system have a file system recognizer
http://www.osronline.com/article.cfm?id=79 ? Having the file system
recognized and mounted I believe fixes the problem.

Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

xxxxx@yahoo.com” wrote in message
news:xxxxx@ntfsd:

> Hi,
>
> This is not a file system driver development question per se, but I thought somebody here would have experience with this.
>
> I work on a file system driver for a proprietary removable disc format. When media is loaded into a drive, Windows displays a message box which says “You need to format the disk in drive driveletter: before you can use it. Do you want to format it?” along with our custom format utility. The Windows format utility fails to format the disk using any of the three file system options (NTFS, FAT, exFAT), so I would like to disable this popup. Does anyone know if there is a way to do this?
>
> I have tried disabling autorun/autoplay but this does not disable the popup. The Autoplay settings in Control Panel keep getting reset to defaults after I change the settings and save them. I have also tried disabling these options using group policy editor and registry settings, but the popup still appears. It is not possible to remove the drive letter from Disk Management. The only thing which seems to work is stopping the Shell Hardware Detection service, but this is not a practical option.
>
> I don’t see Windows format prompt on Windows XP or 2003. It is only seen on Vista, Windows 2008 and Windows 7. Does anybody know how to disable this? Any help would be greatly appreciated.
>
> Thanks,
> Priya

Information from ESET Smart Security, version of virus
signature database 4887 (20100222)


The message was checked by ESET Smart Security.

http://www.eset.com</driveletter:>

Hi Don,

Thank you for your reply. I forgot to mention that this only happens in the case of blank media. Our file system driver will fail the mount request if the media is blank. We have a separate monitoring service which pops up a format dialog when a blank media is detected. The problem is that the Windows format popup appears along with that which might confuse the user.

Thanks,
Priya

I would look into whether there is a way to do the format within the
scope of the Windows formatter. You do not want to stop Windows from
warning people since they may validly want to format the disk for
something like NTFS and FAT. I remember Russinovich having an article
on the format DLL’s for a file system, but I have no idea if you can add
your own to the mix.

Tony or someone else with more expertise can you comment?

Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

xxxxx@yahoo.com” wrote in message
news:xxxxx@ntfsd:

> Hi Don,
>
> Thank you for your reply. I forgot to mention that this only happens in the case of blank media. Our file system driver will fail the mount request if the media is blank. We have a separate monitoring service which pops up a format dialog when a blank media is detected. The problem is that the Windows format popup appears along with that which might confuse the user.
>
> Thanks,
> Priya

Information from ESET Smart Security, version of virus
signature database 4887 (20100222)


The message was checked by ESET Smart Security.

http://www.eset.com

Hi Don,

I was wondering if it is possible to disable the format popup just for one particular drive and not for the whole system.

I could only find one article written by Mark Russinovich about the format utility.

http://arcadecontrols.com/Mirrors/mirror/www.sysinternals.com/SourceCode/fmifs.html

It seems to be about creating a clone of the format utility and doesn’t mention anything about adding additional file system formats to the existing utility.

Thanks again for your reply.

Regards,
Priya

AFAIK the built in format utilities have never been extensible, they have
the supported FSDs hard coded in them.

-scott


Scott Noone
Consulting Associate
OSR Open Systems Resources, Inc.
http://www.osronline.com

wrote in message news:xxxxx@ntfsd…
> Hi Don,
>
> I was wondering if it is possible to disable the format popup just for one
> particular drive and not for the whole system.
>
> I could only find one article written by Mark Russinovich about the format
> utility.
>
> http://arcadecontrols.com/Mirrors/mirror/www.sysinternals.com/SourceCode/fmifs.html
>
> It seems to be about creating a clone of the format utility and doesn’t
> mention anything about adding additional file system formats to the
> existing utility.
>
> Thanks again for your reply.
>
> Regards,
> Priya
>