usb- () , . , , (, ).
, (, , ) :
\"\" - , gpedit.msc. - - - , - - - .
, , HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer NoDriveTypeAutoRun, 95 ( 91) FF ( Windows Vista). XP Home ( Explorer), NoDriveTypeAutoRun, . , .
, . .
txt- ( , .txt .reg, noautorun.reg) :
Windows Registry Editor Version 5.00
[-HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\AutoplayHandlers\\CancelAutoplay\\Files]
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\AutoplayHandlers\\CancelAutoplay\\Files]
\"*.*\"=\"\"
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\policies\\Explorer]
\"NoDriveTypeAutoRun\"=dword:000000ff
\"NoDriveAutoRun\"=dword:000000ff
\"NoFolderOptions\"=dword:00000000
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced\\Folder\\Hidden\\SHOWALL]
\"CheckedValue\"=dword:00000001
[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\IniFileMapping\\Autorun.inf]
@=\"@SYS:DoesNotExist\"
[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Cdrom]
\"AutoRun\"=dword:00000000
, .
(, ), () , Shift. ( ), .
- . - , , - .
USB- autorun.inf . , . .
( FAT-32). bat- (, flashprotect.bat) :
attrib -s -h -r autorun.*
del autorun.*
mkdir %~d0AUTORUN.INF
mkdir \"?%~d0AUTORUN.INF..\"
attrib +s +h %~d0AUTORUN.INF
Bat- , Reg - .txt .bat
. AUTORUN.INF, ( Windows). , ( , ).