• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 376
  • Last Modified:

Secure Autorun or Autoplay

Is there any way to securely force an auto run program from a USB device?  I want to use portable apps but need it to auto run.  I understand the reason for disabling this in W7 but would like to find a way around.
2 Solutions
David Johnson, CD, MVPOwnerCommented:
here is the article on how to modify your registry http://msdn.microsoft.com/en-us/library/cc144204.aspx#nodrive
perhaps 0x90 would do vice 0x91 which is the default
matthewlee11Author Commented:
Thanks for the comment but I don't have access to the registy or control panel on the system in question.
Thanks for the comment but I don't have access to the registry or control panel on the system in question.

If you don't have access to the registry or control panel, and AutoRun is specifically disabled in the registry, you wont be able to accomplish what you want.

If AutoRun isn't specifically disabled, then

   * The device must have AutoRun-compatible drivers. To be AutoRun-compatible, a driver must notify the system that a disk has been inserted by sending a WM_DEVICECHANGE message.

    * The root directory of the inserted media must contain an Autorun.inf file.

    * The device must not have AutoRun disabled through the registry.

    * The foreground application has not suppressed AutoRun.

Here is all you wanted to know about Autorun.inf Structure and Tweaking but were afraid to ask.
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Danny ChildIT ManagerCommented:
sorry to ask, but if you don't have access to the registry or control panel, then someone else must be managing the security on this system.  

If this is a business or Education establishment PC, then the admins there may have very good reasons to disable these accesses, and also AutoRuns, and if you breach this, then you can get yourself fired/disciplined real fast....
matthewlee11Author Commented:
Hi DanCh99 I agree that there are good reasons to stop a process that could corrupt your system, however, I a looking for a secure alternative to autorun that would negate the concerns of any admin.
matthewlee11Author Commented:
Waste of time.  Comments did not address the question asked.

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now