Disable Autoplay for USB drives

 
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Windows Fanatics RSS
Next:  The House Always Wins  
Author Message
hamhox



Joined: Oct 21, 2006
Posts: 92



PostPosted: Sun Jun 26, 2011 7:56 pm    Post subject: Disable Autoplay for USB drives

I had tried numerous times to disable XP's autolaunching when I insert a USB drive,
with no success until now. Had tried the properties setting, kept trying, did it as admin, no change. Even the experts who told us to edit the registry key thusly:
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@="@SYS:DoesNotExist"
didn't have the solution. Then google brought up a link to HowToGeeks, where they instructed to run GPedit service and there it was! Works like a charm, what a relief. Here's to the Geeks!
Back to top
drwho07



Joined: Nov 29, 2007
Posts: 2296

Location: Central FL, USA

PostPosted: Mon Jun 27, 2011 3:48 pm    Post subject:

Why?

I had to even reinstall XP on my PC to get auto play to work, so why are you disabling yours?

Very curious!!!

Doc Cool
Back to top
hamhox



Joined: Oct 21, 2006
Posts: 92



PostPosted: Mon Jun 27, 2011 11:36 pm    Post subject: disable XP's autolaunch

Because I was tired of the annoyance, tired of having to make a response to XP's crap. I can't believe you of all people would have to re-install XP for this little thing. So now you know how to re-enable the autoplay function.
You're welcome.
Back to top
goretsky



Joined: Dec 07, 2002
Posts: 9845

Location: Southern California

PostPosted: Tue Jun 28, 2011 7:23 am    Post subject:

Hello,

The computer has all Service Packs, hot fixes and updates installed, correct? The option to disable USB AutoRun was actually added through an update to the operating system.

Regards,

Aryeh Goretsky
Back to top
drwho07



Joined: Nov 29, 2007
Posts: 2296

Location: Central FL, USA

PostPosted: Tue Jun 28, 2011 12:17 pm    Post subject:

Ham....

I worked on that problem for days. I spent hours on Google, downloading registry fixes and the like. Nothing worked. I had already gone through all the normal stuff, like what you mentioned.

I absolutely could do nothing to get Windows to acknowledge a new USB drive, flash drive or SD Flash Memory Card, when I'd plug it into the system. It was the same for CD's and DVD's. NO Autoplay! but, available for viewing in My Computer. Evil or Very Mad
It was just so aggravating, that out of total disgust, I finally just reinstalled Windows. Of course, I backed up ALL my data first, to my second hard drive.
I have a batch file that does that, so it was no big deal.

It gave me the opportunity to install a different version of Windows, that I'd been wanting to try.

Yup, sometimes even "experts" are left scratching their heads when Windows decides it doesn't want to do something. Before re-installing Windows, I had consulted several "Experts" on several forums, including my own personal Computer Guru. " No importa lo mucho que trato, nada funciona"

Things like this are why I always say, "Backup! Backup! Backup!".

If you actually found something that works, I'm happy for you! Really!

The Doctor Cool
Back to top
hamhox



Joined: Oct 21, 2006
Posts: 92



PostPosted: Tue Jun 28, 2011 6:19 pm    Post subject: Two Autos

We have to deal with both Autorun and Autoplay, Goretsky.
Double whammy.
Back to top
goretsky



Joined: Dec 07, 2002
Posts: 9845

Location: Southern California

PostPosted: Wed Jun 29, 2011 7:34 am    Post subject:

Hello,

Much of that mess is sorted out with Microsoft Windows 7.

Regards,

Aryeh Goretsky
Back to top
drwho07



Joined: Nov 29, 2007
Posts: 2296

Location: Central FL, USA

PostPosted: Wed Jun 29, 2011 1:00 pm    Post subject:

But then again, we'd be RE-Installing windows, and at a considerable expense.
Windows 7 may indeed be a solution or a possibility for some people, but definitely NOT for all. When old software and old hardware come into play, changing the OS to either Windows 7 or Ubuntu can get really hairy.

By the way, there's a fairly new Trojan making the rounds, that disables all .exe files. I have the fix for that, if anyone's interested.
This might be particularly interesting for guys (or gals) currently working as computer tech's.

Doc Cool
Back to top
goretsky



Joined: Dec 07, 2002
Posts: 9845

Location: Southern California

PostPosted: Thu Jun 30, 2011 2:54 am    Post subject:

Hello,

Let's see... in addition to to the

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@="@SYS:DoesNotExist"

key, the following registry keys should also be set:

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutorun"=DWORD:000000FF
[HKEY_LOCAL_Machine\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutorun"=DWORD:000000FF

If you just want to disable AutoRun on removable media, use a DWORD of 00000085, instead.

Microsoft Knowledgebase Article #967715, How to disable the Autorun functionality in Windows explains which Windows Updates need to be installed on Microsoft Windows XP and Microsoft Windows 2003 for the changes to be supported.

I'm aware of three common ways to fix broken .EXE file associations:

  1. On Doug Knox's web site here download the EXE File Association Fix file and follow the instructions in it to repair the damage.
  2. Download and run the FixExe program to fix the EXE file association. The web site for that antivirus company is in Italian, but the program itself is in English, and the program seems to work fine under Microsoft Windows 7.
  3. Open an elevated Command Prompt (filename: CMD.EXE) and issue the command "assoc.exe=exefile" to restore the file association. A reboot may be required to complete the operation.

Do you have another way to fix the EXE file associations besides these? If so, please let us know; it is always good to have multiple ways to do things in case the malware authors decide to block one of them.

Regards,

Aryeh Goretsky


Last edited by goretsky on Fri Jul 01, 2011 3:15 am; edited 1 time in total
Back to top
drwho07



Joined: Nov 29, 2007
Posts: 2296

Location: Central FL, USA

PostPosted: Thu Jun 30, 2011 7:41 pm    Post subject:

After running the Fix, the only thing left to do was to run Malwarebytes to find and remove the Trojan that caused all the trouble.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.exe]
@="exefile"
"Content Type"="application/x-msdownload"

[HKEY_CLASSES_ROOT\.exe\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

[HKEY_CLASSES_ROOT\exefile]
@="Application"
"EditFlags"=hex:38,07,00,00
"TileInfo"="prop:FileDescription;Company;FileVersion"
"InfoTip"="prop:FileDescription;Company;FileVersion;Create;Size"

[HKEY_CLASSES_ROOT\exefile\DefaultIcon]
@="%1"

[HKEY_CLASSES_ROOT\exefile\shell]

[HKEY_CLASSES_ROOT\exefile\shell\open]
"EditFlags"=hex:00,00,00,00

[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"

[HKEY_CLASSES_ROOT\exefile\shell\runas]

[HKEY_CLASSES_ROOT\exefile\shell\runas\command]
@="\"%1\" %*"

[HKEY_CLASSES_ROOT\exefile\shellex]

[HKEY_CLASSES_ROOT\exefile\shellex\DropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers]

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\PEAnalyser]
@="{09A63660-16F9-11d0-B1DF-004F56001CA7}"

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\PifProps]
@="{86F19A00-42A0-1069-A2E9-08002B30309D}"

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\ShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"


This fix seems to be very complete.
good luck,
Doc Cool
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Windows Fanatics All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Warning: fopen(): open_basedir restriction in effect. File(/home/adsense_reject.txt) is not within the allowed path(s): (/home/helploc:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/helploc/public_html/Giga/GigaFunctions.php on line 1144

Warning: fopen(/home/adsense_reject.txt): failed to open stream: Operation not permitted in /home/helploc/public_html/Giga/GigaFunctions.php on line 1144

Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/helploc/public_html/Giga/GigaFunctions.php on line 1145

Warning: fclose() expects parameter 1 to be resource, boolean given in /home/helploc/public_html/Giga/GigaFunctions.php on line 1146