{"id":1641,"date":"2018-05-23T13:01:04","date_gmt":"2018-05-23T20:01:04","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=1641"},"modified":"2018-05-23T13:01:04","modified_gmt":"2018-05-23T20:01:04","slug":"write-protect-a-usb-drive-in-windows","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=1641","title":{"rendered":"Write protect a USB drive in Windows"},"content":{"rendered":"<p>You can write protect a USB (or any drive for that matter) using DISKPART.<\/p>\n<p>With the drive plugged in open up a command prompt and enter DISKPART.<\/p>\n<p>Then list the disks in your system to determine which one is the USB drive using LIST DISKS<\/p>\n<p>Once identified, enter SELECT DISK #, where # is the number corresponding to your USB disk.<\/p>\n<p>To list disk attributes enter ATTRIBUTES DISK.<\/p>\n<p>To set disk to read only enter ATTRIBUTES DISK SET READONLY.<\/p>\n<p>To remove read only restriction enter ATTRIBUTES DISK CLEAR READONLY.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can write protect a USB (or any drive for that matter) using DISKPART. With the drive plugged in open up a command prompt and enter DISKPART. Then list the disks in your system to determine which one is the USB drive using LIST DISKS Once identified, enter SELECT DISK #, where # is the [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[189,465,258],"class_list":["post-1641","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-diskpart","tag-readonly","tag-usb"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1641"}],"version-history":[{"count":1,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1641\/revisions"}],"predecessor-version":[{"id":1642,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1641\/revisions\/1642"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}