We help IT Professionals succeed at work.
Get Started

Disable USB action prompt

oferz asked
Last Modified: 2012-04-16
Hello experts,

I developed a VB.Net application for a stand alone PC with XP OS, this PC was design to execute this application only.
Users plug in a disk on key / any mp3 player and the application lets the user to download mp3 tutorials to their players.
The application was developed as a KIOSK, no keyboard is connected, the hotkeys are disabled, taskbar hidden,I'm using RegisterWindowMessage("QueryCancelAutoPlay") to disable the autoplay when the device is pluged in, etc etc.
I have only one problem remaining:
When a user plugs in a player with and external SD- windows shows a dialog box to choose an action (Open via explorer or view photos...), the window appears as topmost (also my application) and the users choose the open explorer option and the application is in the background.
I tried changing some registry values from 3 to 4 (I don't remember what keys), tried stopping the service: "WPDBusEnum" but no luck so far. I want to solve this problem without a 3rd party.

Please help.
Thanks in advance,
Watch Question
This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE