WinXP SP2: how to disable autoplay?

  • Thread starter Thread starter Sergey Kochkarev
  • Start date Start date
S

Sergey Kochkarev

Sorry for starting another thread, but it seems like google is down
with the first one - I get Internal Server Error each time I try to
update it.

Thanks for reply, but this does not help. If I disable all content
type for a given drive in explorer, shell still shows explorer window
after device plugging. This is surely an unwanted behavior for my
program as long as the window becomes foreground. Just imagine - you
keep on working with one program and Windows continully tries to
interrupt you while you don't ask it to do that.
Isn't it a better idea to open explorer window manually, when I need
it but not when Bill Gates thinks I need it?
 
Finally I found a solution. The IQueryCancelAutoplay interface being
implemented performs the task perfectly except for explorer window
blinks for a while when inserting new media. The only problem with the
interface is that then the server application is busy (the one that
implements the interface), Windows waits for a while and starts
Autoplay anyway.

I'm now starting to create a simple applet application that will
reside in system tray and disable autoplay for a given drive or for
all of them. Sure this application is required by most XP users.

Does anyone of you know how to elimintate explorer window blinking
then inserting new media? It seems like Windows does not blink on fast
computers with USB 2.0. Anyway, this is so embarrassing then you work
with a foreground application and some other tasks start blinking
instead of sitting quite. This includes Outlook, iexplore, etc. Maybe,
there is a key in WinXP registry to disable it or at least to turn to
Windows 9x style where nothing did blink.
 
Back
Top