Wednesday, February 12, 2014

Tạo đĩa khởi động máy tính từ USB

Việc tạo đĩa khởi động từ USB khá hữu dụng khi phải xử lý sự cố với những máy tính không có ổ CD hay các dòng netbook mini.
Các bước tiến hành tạo USB Boot
Bước 1: cắm vào máy tính một thanh USB có dung lượng ít nhất 256 MB.
Bước 2: tải về và chạy chương trình USB Disk Storage Format tại đây.
sa
Sau đó thực hiện thao tác theo thứ tự từng con số được hiển thị trong hình trên.
Số 1: chọn ổ đĩa USB. Số 2: chọn định dạng là FAT. Số 3: nhấp nút Start. Thao tác này sẽ xóa sạch dữ liệu trên USB nên người dùng cần lưu ý sao lưu trước khi thực hiện.
Bước 3: tải về và chạy chương trình Grub4Dos tại đây.
sa
Tiếp tục thao tác theo thứ tự trong hình. Số 1: chọn ổ đĩa USB. Số 2: nhấp nút Refresh. Số 3: chọn Whole disk (MBR). Số 4: nhấp nút Install.
Bước 4: chép file grldr và menu.lst vào USB (2 file này được tìm thấy trong folder mang tên HBCD của đĩa CD Boot hoặc trong file iso được tải từ trên mạng về).
Bước 5: bỏ đĩa CD Hiren’s Boot vào máy tính và copy toàn bộ dữ liệu trong đĩa vào USB như hình bên dưới:
sa
Đĩa CD Hiren’s Boot có thể tìm mua tại các cửa hàng dịch vụ tin học hoặc tải từ trang chủ hirensbootcd.net.
Khởi động lại máy và thiết lập khởi động từ USB là hoàn tất.
Bây giờ thì máy tính của người dùng đã có thể khởi động từ USB, giúp thực hiện các thao tác sửa chữa, cứu hộ máy tính trên nền Dos.
sa
Giao diện khởi động từ USB với phiên bản Hiren’s Boot 10.2.
sa
Các công cụ cứu hộ máy tính.

Monday, February 10, 2014

How can I prevent users from connecting to a USB storage device ?

To prevent users from connecting to USB storage devices, use one or more of the following procedures, as appropriate for your situation.

If a USB storage device is not already installed on the computer

If a USB storage device is not already installed on the computer, assign the user or the group and the local SYSTEM accountDeny permissions to the following files:
  • %SystemRoot%\Inf\Usbstor.pnf
  • %SystemRoot%\Inf\Usbstor.inf
When you do this, users cannot install a USB storage device on the computer. To assign a user or group Deny permissions to the Usbstor.pnf and Usbstor.inf files, follow these steps:
  1. Start Windows Explorer, and then locate the %SystemRoot%\Inf folder.
  2. Right-click the Usbstor.pnf file, and then click Properties.
  3. Click the Security tab.
  4. In the Group or user names list, add the user or group that you want to set Deny permissions for.
  5. In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control.

    Note Also add the System account to the Deny list.
  6. In the Group or user names list, select the SYSTEM account.
  7. In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control, and then click OK.
  8. Right-click the Usbstor.inf file, and then click Properties.
  9. Click the Security tab.
  10. In the Group or user names list, add the user or group that you want to set Deny permissions for.
  11. In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control.
  12. In the Group or user names list, select the SYSTEM account.
  13. In the Permissions for UserName or GroupName list, click to select the Deny check box next to Full Control, and then click OK.


Let me fix it myself

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
If a USB storage device is already installed on the computer, set the Start value in the following registry key to 4:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
When you do this, the USB storage device does not work when the user connects the device to the computer. To set the Startvalue, follow these steps:
  1. Click Start, and then click Run.
  2. In the Open box, type regedit, and then click OK.
  3. Locate and then click the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor
  4. In the details pane, double-click Start.
  5. In the Value data box, type 4, click Hexadecimal (if it is not already selected), and then click OK.
  6. Exit Registry Editor.
(see link http://support.microsoft.com/kb/823732)