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 ...
In response to Ramhound's request:
1) 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. calls autorun).
2) 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 also a link to Security Policy Settings which is totally out of context and I don't know how to apply the information therein.
3) Bruce Eitman (who usually knows what he is talking about) says "Windows CE ... doesn’t automatically run applications on removable media when the media is inserted." (emphasis mine)
4) There is a discussion about autorun on msdn that leaves the question un-answered
To our existing WinCE 6 app (which runs off an SD card) I added a call to SHGetAutoRunPath(). 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. This same value is returned whether I have a USB stick inserted at boot time or not.
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. 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.