Secure Autorun or Autoplay

Posted on 2011-10-02
Last Modified: 2012-05-12
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.
Question by:matthewlee11
    LVL 77

    Expert Comment

    by:David Johnson, CD, MVP
    here is the article on how to modify your registry
    perhaps 0x90 would do vice 0x91 which is the default

    Assisted Solution

    Thanks for the comment but I don't have access to the registy or control panel on the system in question.
    LVL 10

    Expert Comment

    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.
    LVL 23

    Expert Comment

    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....

    Accepted Solution

    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.

    Author Closing Comment

    Waste of time.  Comments did not address the question asked.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Suggested Solutions

    I recently purchased an HP EliteBook 2540p notebook/laptop. It has two video ports on it – VGA and DisplayPort. HP offers an optional docking station for the 2540p that also has both a VGA port and a DisplayPort. There are numerous online reports do…
    Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
    This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
    The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now