AutoRun與NoDriveTypeAutoRun索引值

來源:互聯網
上載者:User

Autorun.inf 與註冊表NoDriveTypeAutoRun索引值的一些說明

 

二進位位元 8 7 6 5 4 3 2 1
Type 1 RAMDISK CDROM REMOTE FIXED REMOVABLE NO_ROOT_DIR UNKNOWN
名稱
記憶體 光碟機 網路映射 硬碟 移動儲存空間 沒有盤符 不能識別
十進位值 128 64 32 16 8 4 2 1
91(預設145) 1 0 0 1 0 0 0 1
95(預設149) 1 0 0 1 0 1 0 1
F5(硬碟245) 1 1 1 1 0 1 0 1
DD(光碟機221) 1 1 0 1 1 1 0 1
FF(推薦255) 1 1 1 1 1 1 1 1

1代表不可自動運行,0代表可自動運行。

NoDriveTypeAutoRun 子項值重設為以下原始預設值之一:

作業系統 預設值
Microsoft Windows Server 2003 0x95
Microsoft Windows 2000 0x95
MicrosoftWindowsXP 0x91

通過以上資訊可判斷,XP與2000在預設設定情況下,XP開啟了隨身碟自動運行,所以預設設定下XP比2000要易感染隨身碟病毒。

註冊表代碼如下:

[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Policies/Explorer]
"NoDriveAutoRun"=dword:00000000
"NoDrives"=dword:00000000
"NoViewOnDrive"=dword:00000000
"NoDriveTypeAutoRun"=dword:00000004


[HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/policies/Explorer]
"NoDriveAutoRun"=dword:00000000
"NoDrives"=dword:00000000
"NoViewOnDrive"=dword:00000000
"NoDriveTypeAutoRun"=dword:00000004

;以下是在組策略中設定的索引值,預設沒有設定時“本地User”下為空白
;[HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Group Policy Objects/本地User/Software/Microsoft/Windows/CurrentVersion/Policies /Explorer]
;"NoDriveTypeAutoRun"=dword:000000ff

;[HKEY_USERS/.DEFAULT/Software/Microsoft/Windows/CurrentVersion/Policies/Explorer]
;"NoDriveTypeAutoRun"=dword:000000FF

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.