Advertisement
KRITSADA

How to Write Protect Flash Drive

May 9th, 2018
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. ****************************************************
  2. การทำให้ Flash Drive Write Protect ป้องกันการเขียนข้อมูลที่ไม่ต้องการทับลงไป เช่นไวรัส ให้ทำตามขั้นตอนดังนี้
  3. 1. เปิดโปรแกรม DISK PARTITION utility โดยพิมพ์ชื่อ diskpart ที่ Start Menu
  4. 2. จะมีหน้าต่าง Prompt DISKPART ปรากฎขึ้นมา ให้พิมพ์ list disk เพื่อดูไดรฟ์ทั้งหมดภายในเครื่อง
  5. 3. สังเกตดูขนาดไฟล์ของไดรฟ์ที่ตรงกับตำแหน่งแฟลชไดรฟ์ที่ต้องการเช่น 8G ก็จะมีค่าเป็น 7386 MB เป็นต้น สมมติว่าอยู่ตำแหน่ง disk 2
  6. 4. ให้พิมพ์ select disk 2 เพื่อเลือกกำหนดค่าที่ไดรฟ์นี้
  7. 5. พิมพ์คำสั่ง attributes disk set readonly เพื่อกำหนดให้ไดรฟ์เป็นแบบอ่านอย่างเดียว โปรแกรมจะแจ้ง Disk attributes set successfully
  8. 6. ทดสอบดูผลว่า สามารถเขียนข้อมูลลงแฟลชไดรฟ์ หรือ สามารถ format ได้หรือไม่
  9.  
  10. ** การถอนคำสาป ให้กลับมาเขียนอ่านได้เหมือนเดิม ให้พิมพ์
  11. attributes disk clear readonly
  12. *******************************************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement