|
Article on other languages:
|
AdvantagesAutoRun is intended as a convenience feature: software distributed on a disc can automatically start an installer when the disc is inserted. DisadvantagesAutorun can pose a security threat, when the user does not expect or intend to run the software, such as in the case of some viruses, which take advantage of this feature to propagate. For instance, an attacker with brief and casual physical access to a computer can surreptitiously insert a disc and cause software to run. Alternately, malicious software can be distributed with a disc that the user doesn't expect to contain software at all -- such as an audio compact disc. Even music CDs from well known name-brand labels have not always been safe, for example, the 2005 Sony BMG CD copy protection scandal. Microsoft WindowsAutoRunIn Microsoft Windows, AutoRun is handled by Explorer. A CD can contain an optional file, named Traditionally, AutoRun could be bypassed by holding down the Shift key as the optical disc is inserted into the optical disc drive. However, this is no longer true starting with Windows Vista. AutoRun can be permanently disabled by setting the "AutoRun" subkey in the Windows Registry key It is also worth noting that even when Autorun is disabled, executing default Explorer context menu command, usually done by double-clicking or pressing Enter, to a drive containing Main options:
How Explorer recognizes AutoRun capabilityAutorun can be disabled using the group policy editor Finally, AutoRun can also be disabled by the program that controls the foreground window by handling the "QueryCancelAutoPlay" Window message. See the Microsoft documentation for more details. As shown belown, there are also easier (Windows) OS specific methods. Windows XPThe registry value
Changes to this value do not require any system or explorer restart as long as the registry editing is done by any method except the manual regedit method. Windows 9x/Me (?)Explorer uses registry key The registry value
If either NoDriveTypeAutoRun or NoDriveAutoRun specify that AutoRun should be disabled for a drive, then it is disabled for that drive. Sample autorun.inf file[autorun] open=foo.exe bar ;ShellExecute=index.html icon=foobar.ico action=Foo Bar [1] shell=doubleclick.exe shell\configure=&Configure... shell\configure\command=setup.exe shell\install=&Install... shell\install\command=setup.exe Shell\Option1=Text1 Shell\Option1\Command=option1.exe Shell\Option2=Text2 Shell\Option2\Command=option2.bat label=My backup data Sample USB-ready autorun.inf fileIn USB flash drives, the autorun.inf file needs to be a little different in order to be launched automatically - instead of the "open=" command, it must use "Label=", "shellexecute=" and "UseAutoPlay=1": [autorun] ;open=foo.exe bar ShellExecute=foo.exe bar Label=Label of flash drive UseAutoPlay=1 AutoPlay
AutoPlay in Windows Vista.
AutoPlay is the name of a different feature in Microsoft Windows. For example: When AutoPlay is enabled, and the user inserts an audio CD, Windows Media Player automatically commences playback (alternately, the disc's contents are automatically displayed in Windows Explorer). As with AutoRun, this feature can be disabled. Under Windows XP, there is a tab called AutoPlay in the drive properties dialog where one of four different behaviors can be chosen ("Play", "Open folder to view files", "Take no action" and "Prompt me each time to choose an action"). The method described above only works for drives that are permanently mounted. It's possible to prevent the AutoPlay feature from searching a removable storage device for something to run every time it's plugged in. This is accomplished using TweakUI, a utility developed by Microsoft programmers for editing various portions of the operating system without resorting to the registry. In TweakUI, select "My Computer," then the sub-category "AutoPlay" then "Drives." Disabling all the drives will disable autoplay entirely. Windows Vista offers a control panel applet to configure AutoPlay settings globally. However, holding down the Shift key opens AutoPlay regardless of the default setting in Windows Vista.[2] XfceXfce's file manager, Thunar, contains Volume Management settings, through which the user can make Xfce:
References
External links
|
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.
Mercedes Car
This site monitored by SitePinger.net