Autorun là cách để chạy nhiều chương trình hoặc nội dung nổi bậc (như là video trên đĩa CD nhạc) một cách tự động khi bạn bỏ đĩa CD hoặc cắm ổ USB vào máy tính. Khác với AutoPlay ở điểm này, nhưng kết quả là giống nhau, khi được đưa vào, đĩa CD hoặc ổ USB tự động bắt đầu dùng một chương trình nào đó để chạy ứng dụng. Autorun kết hợp chặt chẽ với loại media mà nó dùng và bạn không thể điều chỉnh nó.
Khi một đĩa được bỏ vào hoặc một ổ đĩa được kết nối với máy tính, Windows tìm file có tên là autorun.inf trong thư mục gốc - root directory của đĩa đó. Nếu tìm thấy, Windows thực thi theo hướng dẫn trong file đó mà không cần biết đó là gì (có thể là nhạc và cũng có thể là virus)!!!
Lấy ví dụ, một file autorun.inf trên một CD có thể gồm một dòng là "open=setup.exe". Có nghĩa là máy tính sẽ chạy một cài đặt ngay khi đĩa CD đó được bỏ vào.
Bây giờ tôi biết bạn đang nghĩ là tại sao không disable nó trong Control Panel.
và bạn có thể làm như thế. Nhưng ngay khi mở ổ đĩa từ from My computer hoặc Windows Explorer, Windows sẽ vẫn cứ chạy file autorun.inf !!!
Bạn có thể cũng tin là có thể tự bảo vệ đối với AutoRun bằng cách sửa lại 2 keys trong Registry là NoDriveAutoRun and NoDriveTypeAutoRun, but it has been shown that these keys can be overridden by a little-known registry key called MountPoints2 which contains cached information about every memory stick or other removable device that your PC has ever seen, and that overrides the NoDriveTypeAutoRun value if you insert a device which the PC already knows about.
The solution to this problem is to globally block autorun.inf files from executing without using the dialog boxes in Vista to do this. Here’s how:
- Start Notepad or any text editor.
- Copy the text below into the text editor, [everything between the square brackets should be all on one line]REGEDIT4
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsNTCurrentVersionIniFileMappingAutorun.inf]
@=”@SYS:DoesNotExist” - Save it to your desktop as NoAutoRun.reg. Make sure the extension is .reg and not .txt.
- Right-click your new .reg file and choose Merge.
- If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
- Click Yes when you’re asked “Are you sure you want to add the information in C:NoAutoRun.reg to the registry?
Now the next time you insert a flash drive, CD, DVD, or other removable disc into your system, Windows will not execute the information in any autorun.inf file that may be present. The downside of this is that when you insert a CD or DVD with software on it, you have to find the setup program using My Computer or Windows Explorer and launch it yourself. But I think that’s a small price to pay for the increased security.
Copyright © VistaRevisited.com. All Rights Reserved.
RELATED POSTS:
Không có nhận xét nào:
Đăng nhận xét