{"id":746,"date":"2023-04-08T00:15:10","date_gmt":"2023-04-07T23:15:10","guid":{"rendered":"https:\/\/lavenhamit.uk\/wrdprss\/?p=746"},"modified":"2023-04-08T00:15:12","modified_gmt":"2023-04-07T23:15:12","slug":"clearing-formatting-a-drive-from-the-command-line-using-diskpart","status":"publish","type":"post","link":"https:\/\/lavenhamit.uk\/wrdprss\/?p=746","title":{"rendered":"Clearing &#038; formatting a drive from the command line using Diskpart"},"content":{"rendered":"\n<p>Run <strong>diskpart<\/strong> from the Commmand prompt &#8211; Run <strong>CMD<\/strong> from the Start Menu or Run dialogue box using WinKey + <strong>R<\/strong> to get to the command prompt  <\/p>\n\n\n\n<p>Then use the commands below in sequence within the diskpart interface<\/p>\n\n\n\n<p><strong>list disk<\/strong><\/p>\n\n\n\n<p><strong>select disk<\/strong> <strong>[#]<\/strong> (adding the reference number from the list command above)<\/p>\n\n\n\n<p><strong>clean<\/strong> (permanent delete content)<\/p>\n\n\n\n<p><strong>create partition primary<\/strong><\/p>\n\n\n\n<p><strong>format fs=ntfs<\/strong><\/p>\n\n\n\n<p><strong>assign<\/strong> (gives a drive letter &#8211; unspecified)<\/p>\n\n\n\n<p><strong>exit<\/strong> to leave diskpart <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Run diskpart from the Commmand prompt &#8211; Run CMD from the Start Menu or Run dialogue box using WinKey + [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[88,89],"class_list":["post-746","post","type-post","status-publish","format-standard","hentry","category-general-tips-and-advice","tag-command-line","tag-format"],"_links":{"self":[{"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=\/wp\/v2\/posts\/746","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=746"}],"version-history":[{"count":1,"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=\/wp\/v2\/posts\/746\/revisions"}],"predecessor-version":[{"id":747,"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=\/wp\/v2\/posts\/746\/revisions\/747"}],"wp:attachment":[{"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lavenhamit.uk\/wrdprss\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}