
{"id":1230,"date":"2016-02-12T20:45:59","date_gmt":"2016-02-12T19:45:59","guid":{"rendered":"https:\/\/www.trucnet.com\/?p=1230"},"modified":"2016-02-12T20:45:59","modified_gmt":"2016-02-12T19:45:59","slug":"comment-formater-une-cle-protegee-en-ecriture","status":"publish","type":"post","link":"https:\/\/www.trucnet.com\/en\/comment-formater-une-cle-protegee-en-ecriture\/","title":{"rendered":"How to format a write-protected USB drive"},"content":{"rendered":"<p><strong>When you try to open a USB drive, Windows warns you that it is write-protected?<\/strong> It is impossible to access the files, let alone delete their contents.<\/p>\n<p>The most common cause: a write error has modified data in the USB drive&#039;s partition table, making it write-protected. In this case, it&#039;s impossible to access the USB drive, copy files to it, or delete files it contains. No problem, though; you just need to use the Windows registry.<\/p>\n<p>To do this, press the key at the same time <strong>Windows<\/strong> And <strong>R<\/strong>In the field that appears, type <strong>regedit<\/strong> and confirm.<\/p>\n<p>Find the following key:\u00a0<strong>HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\StorageDevicePolicies<\/strong>.<br \/>\nClick on it and look in the right-hand column and change the value of <strong>Writeprotect<\/strong> in <strong>0 .<\/strong><\/p>\n<p><a href=\"https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/02\/Formater-une-cl\u00e9-prot\u00e9g\u00e9e-en-\u00e9criture.jpg\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-1231\" src=\"https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/02\/Formater-une-cl\u00e9-prot\u00e9g\u00e9e-en-\u00e9criture-300x208.jpg\" alt=\"Formater une cl\u00e9 prot\u00e9g\u00e9e en \u00e9criture\" width=\"300\" height=\"208\" srcset=\"https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/02\/Formater-une-cl\u00e9-prot\u00e9g\u00e9e-en-\u00e9criture-300x208.jpg 300w, https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/02\/Formater-une-cl\u00e9-prot\u00e9g\u00e9e-en-\u00e9criture-600x416.jpg 600w, https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/02\/Formater-une-cl\u00e9-prot\u00e9g\u00e9e-en-\u00e9criture.jpg 626w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Then click the button <strong>OK<\/strong> to confirm. Finally, exit the registry editor and restart the computer.<\/p>\n<p>There is <strong>another solution that allows you to format a write-protected key<\/strong> and which works well under Windows 7, 8 and Windows 10. This solution is based on the utility <strong>Diskpart from Windows.<\/strong><\/p>\n<p><strong>Diskpart<\/strong> is a small command-line utility that allows disk management. It is integrated into most versions of Windows: XP, Seven, Win 8 and 10.<\/p>\n<p>To use it, please follow these steps:<\/p>\n<ul>\n<li>First, launch a command prompt using the keys <strong>Windows<\/strong> And <strong>R<\/strong>by typing <strong>cmd<\/strong> then confirm with the key <strong>Entrance<\/strong>.<\/li>\n<\/ul>\n<ul>\n<li>Then type <strong>diskpart<\/strong> and confirm.<\/li>\n<\/ul>\n<ul>\n<li>Type <strong>list disk<\/strong> to get the list of disks present and look for the number of the USB key by referring to its capacity.<\/li>\n<\/ul>\n<ul>\n<li>Select the key by typing \u00a0<strong>select disk X<\/strong> , Or <strong>X<\/strong> is the number you found, and confirm.<\/li>\n<\/ul>\n<ul>\n<li>To remove the read-only attribute, type <strong>attributes disk clear readonly<\/strong> \u00a0and confirm.<\/li>\n<\/ul>\n<ul>\n<li>Finally, type <strong>exit<\/strong> and confirm to exit the program.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/02\/prot\u00e9g\u00e9e-en-\u00e9criture-avec-Windows-7-8-et-10.jpg\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-1232\" src=\"https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/02\/prot\u00e9g\u00e9e-en-\u00e9criture-avec-Windows-7-8-et-10-300x182.jpg\" alt=\"prot\u00e9g\u00e9e en \u00e9criture avec Windows 7, 8 et 10\" width=\"300\" height=\"182\" srcset=\"https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/02\/prot\u00e9g\u00e9e-en-\u00e9criture-avec-Windows-7-8-et-10-300x182.jpg 300w, https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/02\/prot\u00e9g\u00e9e-en-\u00e9criture-avec-Windows-7-8-et-10-600x364.jpg 600w, https:\/\/www.trucnet.com\/wp-content\/uploads\/2016\/02\/prot\u00e9g\u00e9e-en-\u00e9criture-avec-Windows-7-8-et-10.jpg 671w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Lorsque vous tentez d\u2019ouvrir une cl\u00e9 USB, Windows vous pr\u00e9vient que cette derni\u00e8re est prot\u00e9g\u00e9e en \u00e9criture ? Impossible d\u2019avoir acc\u00e8s aux fichiers et encore moins d\u2019en effacer le contenu. La cause la plus r\u00e9pandue: une erreur d\u2019\u00e9criture a modifi\u00e9 des donn\u00e9es dans la table des partitions de la cl\u00e9, ce qui a pour effet [&hellip;]<\/p>","protected":false},"author":1,"featured_media":1234,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"no","_lmt_disable":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[25],"tags":[461,583,585,582,584],"class_list":["post-1230","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-astuces-infos","tag-astuce","tag-cle","tag-ecriture","tag-formater","tag-protegee"],"aioseo_notices":[],"modified_by":"Auteur","_links":{"self":[{"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/posts\/1230","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/comments?post=1230"}],"version-history":[{"count":0,"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/posts\/1230\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/media\/1234"}],"wp:attachment":[{"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/media?parent=1230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/categories?post=1230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trucnet.com\/en\/wp-json\/wp\/v2\/tags?post=1230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}