2010/01/26

Something about autoplay with USB flash disk.

How to autoplay USB flash disk?
http://www.samlogic.net/articles/autorun-usb-flash-drive.htm

[AutoRun]
OPEN=MYAPP.EXE
ICON=MYAPP.EXE
ACTION=Start my application
LABEL=My Drive

About 'access denied'
http://www.lazybit.com/index.php/2007/03/01/usb_flash_drive_autorun?blog=2

'access denied' will not occur when you attempt to start a file from the root directory of the drive; it will show up if you attempt to launch a file located inside a directory, or on another partition.

About 'KB967715'
http://support.microsoft.com/kb/967715/en-us

After installing KB967715, the USB flash disk cannot autoplay.
Check:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\policies\Explorer\
NoDriveTypeAutoRun registry entry.

0x1 or 0x80 Disables AutoRun on drives of unknown type
0x4 Disables AutoRun on removable drives
0x8 Disables AutoRun on fixed drives
0x10 Disables AutoRun on network drives
0x20 Disables AutoRun on CD-ROM drives
0x40 Disables AutoRun on RAM disks
0xFF Disables AutoRun on all kinds of drives

About 'CancelAutoplay'
Clean every thing inside the registry to activate autorun normally.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\CancelAutoplay]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\CancelAutoplay\CLSID]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\CancelAutoplay\Files]

How to disable auto importing when insert camera in Picasa?

Rename 'picasa2.autoplay' to any in the registry to stop auto import.
Below is the full registry.

[HKEY_CLASSES_ROOT\picasa2.autoplay]
"DefaultIcon"="C:\\Program Files\\Google\\Picasa3\\Picasa3.exe,1"
[HKEY_CLASSES_ROOT\picasa2.autoplay\shell]
[HKEY_CLASSES_ROOT\picasa2.autoplay\shell\import]
[HKEY_CLASSES_ROOT\picasa2.autoplay\shell\import\command]
@="C:\\Program Files\\Google\\Picasa3\\Picasa3.exe \"%1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AutoplayHandlers\Handlers\Picasa2ImportPicturesOnArrival]
"Action"="Copy pictures to your computer and view them"
"DefaultIcon"="C:\\Program Files\\Google\\Picasa3\\Picasa3.exe"
"InvokeProgID"="picasa2.autoplay"
"InvokeVerb"="import"
"Provider"="Picasa3"

No comments:

Post a Comment