
Having this USB stick inserted when the device booted resulted in NO "autoran.txt" file appearing on the SD card, indicating autorun did not happen.USB AutoRun Creator is a Windows utility to create auto-start programs for USB flash drives. I then made another version of our existing app that simply wrote a file ("autoran.txt") onto a writable directory on the SD card, and copied the modified app to "\2577\autorun.exe" on a USB stick. This same value is returned whether I have a USB stick inserted at boot time or not. It returned "\Network\2577\autorun.exe" where 2577 is the expected ARM processor number but "Network" is strange since it's not connected to a network.

To our existing WinCE 6 app (which runs off an SD card) I added a call to SHGetAutoRunPath(). doesn’t automatically run applications on removable media when the media is inserted." (emphasis mine)Ĥ) There is a discussion about autorun on msdn that leaves the question un-answered

There's also a link to Security Policy Settings which is totally out of context and I don't know how to apply the information therein.ģ) Bruce Eitman (who usually knows what he is talking about) says "Windows CE. calls autorun).Ģ) There's a discussion on intermec that points to an msdn page talking about autorun, but it's talking about Windows Mobile which may or may not apply to Windows CE.

ġ) There's a post on stackoverflow that seems related, but the msdn page it links to is talking about running specific programs, not "run whatever shows up on an inserted USB Stick" (what Windows XP/7/8/etc. By default, does Windows CE 6 auto-run applications found on an inserted USB stick? We are actually trying to make sure this does NOT happen, but the documentation we're finding is contradictory as to whether it happens or not.
