XP AutoPlay - how to turn it off
-
Windows XP has extremly annoying AutoPlay feature. For my application I need to turn it off completely for all drives. I already made next actions: 1) Set "Take no action" for all drives and all content types (Drive Properties - AutoPlay) 2) Handle QueryCancelAutoPlay registered Windows message and reply "No, thanks" for all content types, as described in http://msdn.microsoft.com/msdnmag/issues/01/11/autoplay/autoplay.asp 3) Set DWORD value AutoPlay to 0 in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom 4) Set DWORD value AutoPlay to 0 in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Disk However, there is still one case when Windows XP opens Explorer for DVD disk. In some place in my program I format DVD RAM disk using format command-line utility (I run it using CreateProcess). After disk is formatted XP opens Explorer window for it. May be there are some other things to do with this (except using Windows 2000, NT etc.)?