Thứ Hai, 6 tháng 7, 2015

4 cách để giải quyết khi usb bị Write Protection

1. Registry.

copy cái này vào notepad và lưu lại thành file .bat, để chạy khi cần.
    cd\reg add “HKLM\System\CurrentControlSet\Control\StorageDevicePolicies” /t Reg_dword /v
WriteProtect /f /d 0
khi chạy file xong phải reboot mới được
hoặc có thể vào trực tiếp registry mà sửa. giá trị writeprotect từ 1 thành 0.

2.  Nếu bị nhiễm virus 9u.exe (là loại virus làm cho thiết bị lưu trữ của mình bị lỗi như vậy).
- Tải OnLineRecovery.exe về, và chạy nó lên.
- Xác định dung lượng cho thiết bị lưu trữ.
- Chọn “repair and erase all data” hoặc ” repair and keep existing data”
- Bấm start.

3. Dùng diskpart trong windows để fix.
  Run-->diskpart-->list volume--> select volume ...--> attributes disk clear readonly.
4. Dùng policy.
vào gpedit-->Computer Configuration -> Administrative Templates -> System -> Removable Storage Access. Sau đó chọn enable
Removable Disks: Deny execute access
Removable Disks: Deny read access
Removable Disks: Deny write access   

Không có nhận xét nào:

Đăng nhận xét