Page 1 of 2 12 LastLast
Results 1 to 15 of 26
  1. #1
    Uranium Lounger viking33's Avatar
    Join Date
    Jun 2002
    Location
    Cape Cod, Massachusetts, USA
    Posts
    6,308
    Thanks
    0
    Thanked 1 Time in 1 Post

    Disabling AutoRun

    This is really a tip from Woody in his recent Windows Secret article about the security risk with autorun.ini being able to be hacked so easily and used for various devious means.
    Even disabling autorun for CDs in each type of use ( like clicking Autoplay in the properties tab and then selecting the "action" ) does not avert the apparent ease of hackerscrackers to do their thing.
    So Woody had a link to Scott Dunn's article on truly disabling AutoRun in the Reg. I've tried it and it works fine in XP and Vista. Here is the fix supplied by Scott:

    Open Notepad and type or paste the following into it.

    REGEDIT4
    [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionIniFileMappingAutorun.inf]
    @="@SYSoesNotExist"

    (making sure that the info between the brackets are on one line )

    Save the file as something like NoAutoRun.reg
    Right click it and click on Merge to enter it into the reg and agree to run it despite the warnings.
    That's it!

    AutoRun has always been a PIA in my opinion, so this solves two things. The security risk and the annoyance of an unwanted file startup when a disk or USB device is inserted.
    BOB
    http://lounge.windowssecrets.com/S/flags/USA.gif http://lounge.windowssecrets.com/S/f...sachusetts.gif


    Long ago, there was a time when men cursed and beat on the ground with sticks. It was called witchcraft.
    Today it is called golf!

  2. #2
    Gold Lounger
    Join Date
    Feb 2004
    Location
    Cape Town, RSA
    Posts
    3,444
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Disabling AutoRun

    Wow Viking... thanks for this info.

    I have recently had a terrible experience with a virus that was spreading through this very means, and I was disabling autorun simply via windows settings. But this is great if it is truly an off switch!!

    If I follow this action, is there a reverse to this? What if I want to switch it back on later? I am asking simply because I am so weary of dealing with the registry. I have little experience with its workings and prefer to be sure of covering my tracks before I go in!

    Cheers
    Regards,
    Rudi

  3. #3
    Gold Lounger
    Join Date
    Oct 2007
    Location
    Johnson City, Tennessee, USA
    Posts
    3,202
    Thanks
    37
    Thanked 215 Times in 202 Posts

    Re: Disabling AutoRun

    Bob (Viking),
    Hello. I have also seen that article in windows secrets but when i tried it there is no "merge" on my right click context menu. Could it be if i choose "open with" then select "RegEditor" that this is what im after? One more Question, What about the "Winbubbles" program You can turn off "auto Play " there as well ? or would that be doing the same thing as turning it off using Windows? Just one more, what is the difference between "save"and "save as" ? Regards
    PlainFred

    None are so hopelessly enslaved as those who falsely believe they are free (J. W. Von Goethe)

  4. #4
    Uranium Lounger viking33's Avatar
    Join Date
    Jun 2002
    Location
    Cape Cod, Massachusetts, USA
    Posts
    6,308
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Disabling AutoRun

    Fred,
    I tried the Winbubbles option but it didn't seem to do the job that this reg change did.

    You should be able to just click on a .reg file and it will auto load into the registry.

    Save, will save the file with the exact file extension that it currently has. Save As will give the ability to save the same file but with a different file extension, ie: .txt or whatever you want it to be.

    You can also try this to add merge to the RC context menu.
    ---------------------------------
    Open Windows Explorer.
    Click Tools | Folder Options | File Types.
    Scroll down and select the REG extension.
    Click Advanced.
    If Merge is not listed click New.
    Action = Merge
    Application used to perform this action = regedit.exe "%1"
    Use DDE should be checked.
    Application: = regedit
    Topic: = System
    ------------------------------
    BOB
    http://lounge.windowssecrets.com/S/flags/USA.gif http://lounge.windowssecrets.com/S/f...sachusetts.gif


    Long ago, there was a time when men cursed and beat on the ground with sticks. It was called witchcraft.
    Today it is called golf!

  5. #5
    Uranium Lounger viking33's Avatar
    Join Date
    Jun 2002
    Location
    Cape Cod, Massachusetts, USA
    Posts
    6,308
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Disabling AutoRun

    Rudi,
    Beyond going back into the reg to remove this entry, I'm not aware of any way to easily reverse this.
    Maybe someone else can suggest a quickie way.
    BOB
    http://lounge.windowssecrets.com/S/flags/USA.gif http://lounge.windowssecrets.com/S/f...sachusetts.gif


    Long ago, there was a time when men cursed and beat on the ground with sticks. It was called witchcraft.
    Today it is called golf!

  6. #6
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Disabling AutoRun

    Just a minor addition to what Bob said, if I may. Using SAVE throughout Windows will immediately save the file under whatever name AND extension it currently carries with NO opportunity for intervention on your part. On the other hand SAVE AS allows you to jump in and change either the file's NAME or EXTENSION or both. Not only that, but on some file types like graphics and others, there will be an OPTIONS button, allowing you to choose such things as image quality and/or other features of the file which you don't do with a straight SAVE. See sample attachment of a graphic file.

    Lastly, double-clicking a file with a .REG extension should open the registry editor, prepared to import that file into the Windows registry.
    Attached Images Attached Images

  7. #7
    5 Star Lounger ibe98765's Avatar
    Join Date
    Aug 2001
    Location
    Bay Area, California, USA
    Posts
    966
    Thanks
    19
    Thanked 4 Times in 4 Posts

    Re: Disabling AutoRun

    That seems a bit extreme, like cutting off your hand because you have a wart on it.

    IMO, a better solution is:

    StartupMonitor

    StartupMonitor is a small utility that runs transparently (it doesn't even use a tray icon) and notifies you when any program registers itself to run at system startup. It prevents annoying programs from registering themselves behind your back.

    StartupMonitor does not require Startup Control Panel, but it complements it nicely. When you choose not to allow a program to register itself, the program's entry becomes disabled in Startup Control Panel, so you can go back and enable it later if necessary. StartupMonitor watches the Start Menu's Startup folders and the Run entries in the registry.

    StartupMonitor works on all modern versions of Windows through XP. I haven't tried it on Windows Vista yet.

    http://www.mlin.net/StartupMonitor.shtml

  8. #8
    Gold Lounger
    Join Date
    Oct 2007
    Location
    Johnson City, Tennessee, USA
    Posts
    3,202
    Thanks
    37
    Thanked 215 Times in 202 Posts

    Re: Disabling AutoRun

    Bob,
    Hello again, Seems that Vista Home Premium does not have that last bit "File types" . and double clicking on the "reg file " didn't have the desired results either. However, Right clicking on the file, and choosing "open with" ( RegEdit) did the trick ! and produced the new "reg " entry! ( my first one ) i feel like such a Geek! Strange i've just totally abandoned Ubuntu for being too "Geeky" Life is sometimes strange! Thanks for your help ...Again! . Regards
    PlainFred

    None are so hopelessly enslaved as those who falsely believe they are free (J. W. Von Goethe)

  9. #9
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Disabling AutoRun

    Bob

    There is an easy way to reverse this, just from experience of a business requirement I had it was necessary to have autorun.inf available from my "toolbox"

    You can use this function:

    <pre>
    function Enable-AutoRun
    {
    Remove-Item "REGISTRY::HKEY_LOCAL_MACHINESoftwareMicrosoftWind ows NTCurrentVersionIniFileMappingAutoRun.inf" -Force
    }

    </pre>


    Just a caveat, it will only be a matter of time before deactivation method is circumvented but it look viable for the short term.....just saying <img src=/S/bubbles.gif border=0 alt=bubbles width=31 height=17>
    Jerry

  10. #10
    Uranium Lounger viking33's Avatar
    Join Date
    Jun 2002
    Location
    Cape Cod, Massachusetts, USA
    Posts
    6,308
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Disabling AutoRun

    Autorun and System start up are two completely different things.

    I'm talking about NOT having a CD, DVD or USB automatically run it's autorun.inf file whenever you insertload a disk or flash drive. I find it annoying to have it butt into a process or start running itself immediately. i want to elect to run it when I want, not just by loading a disk.

    I think you are thinking of running a program whenever you start or reboot your SYSTEM. That can be managed in a much different manner.
    BOB
    http://lounge.windowssecrets.com/S/flags/USA.gif http://lounge.windowssecrets.com/S/f...sachusetts.gif


    Long ago, there was a time when men cursed and beat on the ground with sticks. It was called witchcraft.
    Today it is called golf!

  11. #11
    5 Star Lounger ibe98765's Avatar
    Join Date
    Aug 2001
    Location
    Bay Area, California, USA
    Posts
    966
    Thanks
    19
    Thanked 4 Times in 4 Posts

    Re: Disabling AutoRun

    Yup, my bad.

  12. #12
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,572
    Thanks
    5
    Thanked 1,057 Times in 926 Posts

    Re: Disabling AutoRun

    You might also be interested in the Microsoft KB artcile How to correct "disable Autorun registry key" enforcement in Windows.

    Joe
    Joe

  13. #13
    Gold Lounger
    Join Date
    Oct 2007
    Location
    Johnson City, Tennessee, USA
    Posts
    3,202
    Thanks
    37
    Thanked 215 Times in 202 Posts

    Re: Disabling AutoRun

    Bob,
    Hello. Question: Could there be a "bug" in this fix? Did the "RegEdit" fix and later was offered a windows update "Realteck high definition audio driver update" After i installed this my PC would not boot? Had to do a recovery (acronis) Before i retry this what do you think? Regards
    PlainFred

    None are so hopelessly enslaved as those who falsely believe they are free (J. W. Von Goethe)

  14. #14
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Disabling AutoRun

    I can't answer as to whether those two things are related, but... it may be safer to get your hardware (driver) updates from the manufacturer or system OEM (e.g., Dell or HP) than to get them from Microsoft.com.

  15. #15
    Gold Lounger
    Join Date
    Oct 2007
    Location
    Johnson City, Tennessee, USA
    Posts
    3,202
    Thanks
    37
    Thanked 215 Times in 202 Posts

    Re: Disabling AutoRun

    jscher2000,
    Hello, and thanks for your response, Is there any specific reason not to "trust" Microsquish" driver updates?, or just better from "OEM"? Because of knowledge of their own systems. Regards
    PlainFred

    None are so hopelessly enslaved as those who falsely believe they are free (J. W. Von Goethe)

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •