You are here

Changed attributes after AutoPlay?

3 posts / 0 new
Last post
fergus
Offline
Last seen: 4 years 9 months ago
Joined: 2006-12-17 14:24
Changed attributes after AutoPlay?

Although it's irritating, I don't particularly want or need to stop the AutoPlay feature that runs EVERY TIME I connect my USB drive / USB stick to a running Windows machine. I gather I could use TweakUI to disable AutoPlay for some/ all drivenames, but I'd rather do this, if at all, by direct editing of the registry. Can anybody tell me how to do this?

Included on my USB drive is Cygwin, which requires *.lnk files to be set +R to work properly as links. Recently all the +R attributes were lost. They were easily recovered, but we are completely incredulous and without ideas as to how/ why this blanket "attrib -r /s" can have occurred. Have you ever experienced a similar drive-wide loss of, or change to, file attributes on a mobile device?

Thank you,

Fergus

Kevin Porter
Kevin Porter's picture
Offline
Last seen: 10 years 9 months ago
Developer
Joined: 2007-01-10 19:25
You can just delete

You can just delete "Autorun.ini" in the main directory.

"America has never been an empire. We may be the only great power in history that had the chance, and refused – preferring greatness to power and justice to glory."
George W. Bush

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

BuddhaChu
BuddhaChu's picture
Offline
Last seen: 5 months 1 week ago
Joined: 2006-11-18 10:26
Use a registry file

To remove Autoplay from ALL drive letters, create a file named "NoDriveAutoRun.reg"

Copy\Paste the following into the file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
"NoDriveAutoRun"=dword:03ffffff

Double click on the file to run it and select "Yes" to add the info to the registry. You probably need local admin rights to change values in the HKLM hive.

Reference: http://www.pctools.com/guides/registry/detail/156/

Even more tweaking you can do: http://www.pctools.com/guides/registry/detail/1142/

Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!

Log in or register to post comments