CINXE.COM
Fix: Windows Was Unable To Complete The Format Error
<!doctype html> <html class="no-js" lang="en-US" prefix="og: https://ogp.me/ns#"> <head itemscope="itemscope" itemtype="http://schema.org/WebSite"><meta charset="UTF-8"><script>if(navigator.userAgent.match(/MSIE|Internet Explorer/i)||navigator.userAgent.match(/Trident\/7\..*?rv:11/i)){var href=document.location.href;if(!href.match(/[?&]nowprocket/)){if(href.indexOf("?")==-1){if(href.indexOf("#")==-1){document.location.href=href+"?nowprocket=1"}else{document.location.href=href.replace("#","?nowprocket=1#")}}else{if(href.indexOf("#")==-1){document.location.href=href+"&nowprocket=1"}else{document.location.href=href.replace("#","&nowprocket=1#")}}}}</script><script>(()=>{class RocketLazyLoadScripts{constructor(){this.v="1.2.6",this.triggerEvents=["keydown","mousedown","mousemove","touchmove","touchstart","touchend","wheel"],this.userEventHandler=this.t.bind(this),this.touchStartHandler=this.i.bind(this),this.touchMoveHandler=this.o.bind(this),this.touchEndHandler=this.h.bind(this),this.clickHandler=this.u.bind(this),this.interceptedClicks=[],this.interceptedClickListeners=[],this.l(this),window.addEventListener("pageshow",(t=>{this.persisted=t.persisted,this.everythingLoaded&&this.m()})),this.CSPIssue=sessionStorage.getItem("rocketCSPIssue"),document.addEventListener("securitypolicyviolation",(t=>{this.CSPIssue||"script-src-elem"!==t.violatedDirective||"data"!==t.blockedURI||(this.CSPIssue=!0,sessionStorage.setItem("rocketCSPIssue",!0))})),document.addEventListener("DOMContentLoaded",(()=>{this.k()})),this.delayedScripts={normal:[],async:[],defer:[]},this.trash=[],this.allJQueries=[]}p(t){document.hidden?t.t():(this.triggerEvents.forEach((e=>window.addEventListener(e,t.userEventHandler,{passive:!0}))),window.addEventListener("touchstart",t.touchStartHandler,{passive:!0}),window.addEventListener("mousedown",t.touchStartHandler),document.addEventListener("visibilitychange",t.userEventHandler))}_(){this.triggerEvents.forEach((t=>window.removeEventListener(t,this.userEventHandler,{passive:!0}))),document.removeEventListener("visibilitychange",this.userEventHandler)}i(t){"HTML"!==t.target.tagName&&(window.addEventListener("touchend",this.touchEndHandler),window.addEventListener("mouseup",this.touchEndHandler),window.addEventListener("touchmove",this.touchMoveHandler,{passive:!0}),window.addEventListener("mousemove",this.touchMoveHandler),t.target.addEventListener("click",this.clickHandler),this.L(t.target,!0),this.S(t.target,"onclick","rocket-onclick"),this.C())}o(t){window.removeEventListener("touchend",this.touchEndHandler),window.removeEventListener("mouseup",this.touchEndHandler),window.removeEventListener("touchmove",this.touchMoveHandler,{passive:!0}),window.removeEventListener("mousemove",this.touchMoveHandler),t.target.removeEventListener("click",this.clickHandler),this.L(t.target,!1),this.S(t.target,"rocket-onclick","onclick"),this.M()}h(){window.removeEventListener("touchend",this.touchEndHandler),window.removeEventListener("mouseup",this.touchEndHandler),window.removeEventListener("touchmove",this.touchMoveHandler,{passive:!0}),window.removeEventListener("mousemove",this.touchMoveHandler)}u(t){t.target.removeEventListener("click",this.clickHandler),this.L(t.target,!1),this.S(t.target,"rocket-onclick","onclick"),this.interceptedClicks.push(t),t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),this.M()}O(){window.removeEventListener("touchstart",this.touchStartHandler,{passive:!0}),window.removeEventListener("mousedown",this.touchStartHandler),this.interceptedClicks.forEach((t=>{t.target.dispatchEvent(new MouseEvent("click",{view:t.view,bubbles:!0,cancelable:!0}))}))}l(t){EventTarget.prototype.addEventListenerWPRocketBase=EventTarget.prototype.addEventListener,EventTarget.prototype.addEventListener=function(e,i,o){"click"!==e||t.windowLoaded||i===t.clickHandler||t.interceptedClickListeners.push({target:this,func:i,options:o}),(this||window).addEventListenerWPRocketBase(e,i,o)}}L(t,e){this.interceptedClickListeners.forEach((i=>{i.target===t&&(e?t.removeEventListener("click",i.func,i.options):t.addEventListener("click",i.func,i.options))})),t.parentNode!==document.documentElement&&this.L(t.parentNode,e)}D(){return new Promise((t=>{this.P?this.M=t:t()}))}C(){this.P=!0}M(){this.P=!1}S(t,e,i){t.hasAttribute&&t.hasAttribute(e)&&(event.target.setAttribute(i,event.target.getAttribute(e)),event.target.removeAttribute(e))}t(){this._(this),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",this.R.bind(this)):this.R()}k(){let t=[];document.querySelectorAll("script[type=rocketlazyloadscript][data-rocket-src]").forEach((e=>{let i=e.getAttribute("data-rocket-src");if(i&&!i.startsWith("data:")){0===i.indexOf("//")&&(i=location.protocol+i);try{const o=new URL(i).origin;o!==location.origin&&t.push({src:o,crossOrigin:e.crossOrigin||"module"===e.getAttribute("data-rocket-type")})}catch(t){}}})),t=[...new Map(t.map((t=>[JSON.stringify(t),t]))).values()],this.T(t,"preconnect")}async R(){this.lastBreath=Date.now(),this.j(this),this.F(this),this.I(),this.W(),this.q(),await this.A(this.delayedScripts.normal),await this.A(this.delayedScripts.defer),await this.A(this.delayedScripts.async);try{await this.U(),await this.H(this),await this.J()}catch(t){console.error(t)}window.dispatchEvent(new Event("rocket-allScriptsLoaded")),this.everythingLoaded=!0,this.D().then((()=>{this.O()})),this.N()}W(){document.querySelectorAll("script[type=rocketlazyloadscript]").forEach((t=>{t.hasAttribute("data-rocket-src")?t.hasAttribute("async")&&!1!==t.async?this.delayedScripts.async.push(t):t.hasAttribute("defer")&&!1!==t.defer||"module"===t.getAttribute("data-rocket-type")?this.delayedScripts.defer.push(t):this.delayedScripts.normal.push(t):this.delayedScripts.normal.push(t)}))}async B(t){if(await this.G(),!0!==t.noModule||!("noModule"in HTMLScriptElement.prototype))return new Promise((e=>{let i;function o(){(i||t).setAttribute("data-rocket-status","executed"),e()}try{if(navigator.userAgent.indexOf("Firefox/")>0||""===navigator.vendor||this.CSPIssue)i=document.createElement("script"),[...t.attributes].forEach((t=>{let e=t.nodeName;"type"!==e&&("data-rocket-type"===e&&(e="type"),"data-rocket-src"===e&&(e="src"),i.setAttribute(e,t.nodeValue))})),t.text&&(i.text=t.text),i.hasAttribute("src")?(i.addEventListener("load",o),i.addEventListener("error",(function(){i.setAttribute("data-rocket-status","failed-network"),e()})),setTimeout((()=>{i.isConnected||e()}),1)):(i.text=t.text,o()),t.parentNode.replaceChild(i,t);else{const i=t.getAttribute("data-rocket-type"),s=t.getAttribute("data-rocket-src");i?(t.type=i,t.removeAttribute("data-rocket-type")):t.removeAttribute("type"),t.addEventListener("load",o),t.addEventListener("error",(i=>{this.CSPIssue&&i.target.src.startsWith("data:")?(console.log("WPRocket: data-uri blocked by CSP -> fallback"),t.removeAttribute("src"),this.B(t).then(e)):(t.setAttribute("data-rocket-status","failed-network"),e())})),s?(t.removeAttribute("data-rocket-src"),t.src=s):t.src="data:text/javascript;base64,"+window.btoa(unescape(encodeURIComponent(t.text)))}}catch(i){t.setAttribute("data-rocket-status","failed-transform"),e()}}));t.setAttribute("data-rocket-status","skipped")}async A(t){const e=t.shift();return e&&e.isConnected?(await this.B(e),this.A(t)):Promise.resolve()}q(){this.T([...this.delayedScripts.normal,...this.delayedScripts.defer,...this.delayedScripts.async],"preload")}T(t,e){var i=document.createDocumentFragment();t.forEach((t=>{const o=t.getAttribute&&t.getAttribute("data-rocket-src")||t.src;if(o&&!o.startsWith("data:")){const s=document.createElement("link");s.href=o,s.rel=e,"preconnect"!==e&&(s.as="script"),t.getAttribute&&"module"===t.getAttribute("data-rocket-type")&&(s.crossOrigin=!0),t.crossOrigin&&(s.crossOrigin=t.crossOrigin),t.integrity&&(s.integrity=t.integrity),i.appendChild(s),this.trash.push(s)}})),document.head.appendChild(i)}j(t){let e={};function i(i,o){return e[o].eventsToRewrite.indexOf(i)>=0&&!t.everythingLoaded?"rocket-"+i:i}function o(t,o){!function(t){e[t]||(e[t]={originalFunctions:{add:t.addEventListener,remove:t.removeEventListener},eventsToRewrite:[]},t.addEventListener=function(){arguments[0]=i(arguments[0],t),e[t].originalFunctions.add.apply(t,arguments)},t.removeEventListener=function(){arguments[0]=i(arguments[0],t),e[t].originalFunctions.remove.apply(t,arguments)})}(t),e[t].eventsToRewrite.push(o)}function s(e,i){let o=e[i];e[i]=null,Object.defineProperty(e,i,{get:()=>o||function(){},set(s){t.everythingLoaded?o=s:e["rocket"+i]=o=s}})}o(document,"DOMContentLoaded"),o(window,"DOMContentLoaded"),o(window,"load"),o(window,"pageshow"),o(document,"readystatechange"),s(document,"onreadystatechange"),s(window,"onload"),s(window,"onpageshow");try{Object.defineProperty(document,"readyState",{get:()=>t.rocketReadyState,set(e){t.rocketReadyState=e},configurable:!0}),document.readyState="loading"}catch(t){console.log("WPRocket DJE readyState conflict, bypassing")}}F(t){let e;function i(e){return t.everythingLoaded?e:e.split(" ").map((t=>"load"===t||0===t.indexOf("load.")?"rocket-jquery-load":t)).join(" ")}function o(o){function s(t){const e=o.fn[t];o.fn[t]=o.fn.init.prototype[t]=function(){return this[0]===window&&("string"==typeof arguments[0]||arguments[0]instanceof String?arguments[0]=i(arguments[0]):"object"==typeof arguments[0]&&Object.keys(arguments[0]).forEach((t=>{const e=arguments[0][t];delete arguments[0][t],arguments[0][i(t)]=e}))),e.apply(this,arguments),this}}o&&o.fn&&!t.allJQueries.includes(o)&&(o.fn.ready=o.fn.init.prototype.ready=function(e){return t.domReadyFired?e.bind(document)(o):document.addEventListener("rocket-DOMContentLoaded",(()=>e.bind(document)(o))),o([])},s("on"),s("one"),t.allJQueries.push(o)),e=o}o(window.jQuery),Object.defineProperty(window,"jQuery",{get:()=>e,set(t){o(t)}})}async H(t){const e=document.querySelector("script[data-webpack]");e&&(await async function(){return new Promise((t=>{e.addEventListener("load",t),e.addEventListener("error",t)}))}(),await t.K(),await t.H(t))}async U(){this.domReadyFired=!0;try{document.readyState="interactive"}catch(t){}await this.G(),document.dispatchEvent(new Event("rocket-readystatechange")),await this.G(),document.rocketonreadystatechange&&document.rocketonreadystatechange(),await this.G(),document.dispatchEvent(new Event("rocket-DOMContentLoaded")),await this.G(),window.dispatchEvent(new Event("rocket-DOMContentLoaded"))}async J(){try{document.readyState="complete"}catch(t){}await this.G(),document.dispatchEvent(new Event("rocket-readystatechange")),await this.G(),document.rocketonreadystatechange&&document.rocketonreadystatechange(),await this.G(),window.dispatchEvent(new Event("rocket-load")),await this.G(),window.rocketonload&&window.rocketonload(),await this.G(),this.allJQueries.forEach((t=>t(window).trigger("rocket-jquery-load"))),await this.G();const t=new Event("rocket-pageshow");t.persisted=this.persisted,window.dispatchEvent(t),await this.G(),window.rocketonpageshow&&window.rocketonpageshow({persisted:this.persisted}),this.windowLoaded=!0}m(){document.onreadystatechange&&document.onreadystatechange(),window.onload&&window.onload(),window.onpageshow&&window.onpageshow({persisted:this.persisted})}I(){const t=new Map;document.write=document.writeln=function(e){const i=document.currentScript;i||console.error("WPRocket unable to document.write this: "+e);const o=document.createRange(),s=i.parentElement;let n=t.get(i);void 0===n&&(n=i.nextSibling,t.set(i,n));const c=document.createDocumentFragment();o.setStart(c,0),c.appendChild(o.createContextualFragment(e)),s.insertBefore(c,n)}}async G(){Date.now()-this.lastBreath>45&&(await this.K(),this.lastBreath=Date.now())}async K(){return document.hidden?new Promise((t=>setTimeout(t))):new Promise((t=>requestAnimationFrame(t)))}N(){this.trash.forEach((t=>t.remove()))}static run(){const t=new RocketLazyLoadScripts;t.p(t)}}RocketLazyLoadScripts.run()})();</script> <link rel="profile" href="https://gmpg.org/xfn/11"> <link rel="prefetch" href="https://insaindia.org"> <link rel="prerender" href="https://insaindia.org"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta itemprop="name" content="INSAIndia"> <meta itemprop="url" content="https://insaindia.org"> <!-- Search Engine Optimization by Rank Math PRO - https://rankmath.com/ --> <title>Fix: Windows Was Unable To Complete The Format Error</title><link rel="preload" data-rocket-preload as="style" href="https://fonts.googleapis.com/css?family=Montserrat%3A700%2C400%2C300%2C500%7CSignika%3A700%2C300%2C400%2C600%7CRoboto%20Slab%3A700%7CMuli%3A700%2C400&subset=latin&display=swap" /><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat%3A700%2C400%2C300%2C500%7CSignika%3A700%2C300%2C400%2C600%7CRoboto%20Slab%3A700%7CMuli%3A700%2C400&subset=latin&display=swap" media="print" onload="this.media='all'" /><noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat%3A700%2C400%2C300%2C500%7CSignika%3A700%2C300%2C400%2C600%7CRoboto%20Slab%3A700%7CMuli%3A700%2C400&subset=latin&display=swap" /></noscript> <link rel="preload" as="font" href="https://insaindia.org/wp-content/themes/mts_designer/fonts/fontawesome-webfont.woff2" crossorigin> <meta name="description" content="Are you unable to format your external storage devices like USB flash drive, pen drive, SD card, hard drive, or SSD? Formatting external devices in Windows is"/> <meta name="robots" content="follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large"/> <link rel="canonical" href="https://insaindia.org/how-to/windows-was-unable-to-complete-the-format/" /> <meta property="og:locale" content="en_US" /> <meta property="og:type" content="article" /> <meta property="og:title" content="Fix: Windows Was Unable To Complete The Format Error" /> <meta property="og:description" content="Are you unable to format your external storage devices like USB flash drive, pen drive, SD card, hard drive, or SSD? Formatting external devices in Windows is" /> <meta property="og:url" content="https://insaindia.org/how-to/windows-was-unable-to-complete-the-format/" /> <meta property="og:site_name" content="INSAINDIA" /> <meta property="article:section" content="How to" /> <meta property="og:updated_time" content="2023-07-19T22:00:34+05:30" /> <meta property="og:image" content="https://insaindia.org/wp-content/uploads/2020/05/image001-2.png" /> <meta property="og:image:secure_url" content="https://insaindia.org/wp-content/uploads/2020/05/image001-2.png" /> <meta property="og:image:width" content="450" /> <meta property="og:image:height" content="272" /> <meta property="og:image:alt" content="Format removable Disk D interface" /> <meta property="og:image:type" content="image/png" /> <meta property="article:published_time" content="2020-05-11T18:57:38+05:30" /> <meta property="article:modified_time" content="2023-07-19T22:00:34+05:30" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:title" content="Fix: Windows Was Unable To Complete The Format Error" /> <meta name="twitter:description" content="Are you unable to format your external storage devices like USB flash drive, pen drive, SD card, hard drive, or SSD? Formatting external devices in Windows is" /> <meta name="twitter:image" content="https://insaindia.org/wp-content/uploads/2020/05/image001-2.png" /> <script type="application/ld+json" class="rank-math-schema-pro">{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://insaindia.org/#organization","name":"INSAINDIA","logo":{"@type":"ImageObject","@id":"https://insaindia.org/#logo","url":"https://insaindia.org/wp-content/uploads/2020/10/INSA-INDIA-LOGO.jpg","contentUrl":"https://insaindia.org/wp-content/uploads/2020/10/INSA-INDIA-LOGO.jpg","caption":"INSAINDIA","inLanguage":"en-US","width":"219","height":"53"}},{"@type":"WebSite","@id":"https://insaindia.org/#website","url":"https://insaindia.org","name":"INSAINDIA","alternateName":"INSAINDIA","publisher":{"@id":"https://insaindia.org/#organization"},"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://insaindia.org/wp-content/uploads/2020/05/image001-2.png","url":"https://insaindia.org/wp-content/uploads/2020/05/image001-2.png","width":"450","height":"272","caption":"Format removable Disk D interface","inLanguage":"en-US"},{"@type":"WebPage","@id":"https://insaindia.org/how-to/windows-was-unable-to-complete-the-format/#webpage","url":"https://insaindia.org/how-to/windows-was-unable-to-complete-the-format/","name":"Fix: Windows Was Unable To Complete The Format Error","datePublished":"2020-05-11T18:57:38+05:30","dateModified":"2023-07-19T22:00:34+05:30","isPartOf":{"@id":"https://insaindia.org/#website"},"primaryImageOfPage":{"@id":"https://insaindia.org/wp-content/uploads/2020/05/image001-2.png"},"inLanguage":"en-US"},{"@type":"Person","@id":"https://insaindia.org/how-to/windows-was-unable-to-complete-the-format/#author","name":"Archana","image":{"@type":"ImageObject","@id":"https://secure.gravatar.com/avatar/4313b2893ce0b0d6ff63ef90f8953588?s=96&d=mm&r=g","url":"https://secure.gravatar.com/avatar/4313b2893ce0b0d6ff63ef90f8953588?s=96&d=mm&r=g","caption":"Archana","inLanguage":"en-US"},"worksFor":{"@id":"https://insaindia.org/#organization"}},{"@type":"Article","headline":"Fix: Windows Was Unable To Complete The Format Error","datePublished":"2020-05-11T18:57:38+05:30","dateModified":"2023-07-19T22:00:34+05:30","articleSection":"How to","author":{"@id":"https://insaindia.org/how-to/windows-was-unable-to-complete-the-format/#author","name":"Archana"},"publisher":{"@id":"https://insaindia.org/#organization"},"description":"Are you unable to format your external storage devices like USB flash drive, pen drive, SD card, hard drive, or SSD? Formatting external devices in Windows is","name":"Fix: Windows Was Unable To Complete The Format Error","@id":"https://insaindia.org/how-to/windows-was-unable-to-complete-the-format/#richSnippet","isPartOf":{"@id":"https://insaindia.org/how-to/windows-was-unable-to-complete-the-format/#webpage"},"image":{"@id":"https://insaindia.org/wp-content/uploads/2020/05/image001-2.png"},"inLanguage":"en-US","mainEntityOfPage":{"@id":"https://insaindia.org/how-to/windows-was-unable-to-complete-the-format/#webpage"}}]}</script> <!-- /Rank Math WordPress SEO plugin --> <link rel='dns-prefetch' href='//stats.wp.com' /> <link rel='dns-prefetch' href='//fonts.googleapis.com' /> <link href='https://fonts.gstatic.com' crossorigin rel='preconnect' /> <link rel="alternate" type="application/rss+xml" title="INSAIndia » Feed" href="https://insaindia.org/feed/" /> <link rel="alternate" type="application/rss+xml" title="INSAIndia » Comments Feed" href="https://insaindia.org/comments/feed/" /> <link rel="icon" href="https://insaindia.org/wp-content/uploads/2021/02/cropped-INSA-INDIA-32x32.png" sizes="32x32" /> <link rel="icon" href="https://insaindia.org/wp-content/uploads/2021/02/cropped-INSA-INDIA-192x192.png" sizes="192x192" /> <link rel="apple-touch-icon-precomposed" href="https://insaindia.org/wp-content/uploads/2021/02/cropped-INSA-INDIA-180x180.png"> <meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileImage" content="https://insaindia.org/wp-content/uploads/2021/02/cropped-INSA-INDIA-270x270.png"> <link rel="alternate" type="application/rss+xml" title="INSAIndia » Fix: Windows Was Unable To Complete The Format Error Comments Feed" href="https://insaindia.org/how-to/windows-was-unable-to-complete-the-format/feed/" /> <link rel='stylesheet' id='wp-block-library-css' href='https://insaindia.org/wp-includes/css/dist/block-library/style.min.css' type='text/css' media='all' /> <link rel='stylesheet' id='mediaelement-css' href='https://insaindia.org/wp-includes/js/mediaelement/mediaelementplayer-legacy.min.css' type='text/css' media='all' /> <link rel='stylesheet' id='wp-mediaelement-css' href='https://insaindia.org/wp-includes/js/mediaelement/wp-mediaelement.min.css' type='text/css' media='all' /> <style id='jetpack-sharing-buttons-style-inline-css' type='text/css'> .jetpack-sharing-buttons__services-list{display:flex;flex-direction:row;flex-wrap:wrap;gap:0;list-style-type:none;margin:5px;padding:0}.jetpack-sharing-buttons__services-list.has-small-icon-size{font-size:12px}.jetpack-sharing-buttons__services-list.has-normal-icon-size{font-size:16px}.jetpack-sharing-buttons__services-list.has-large-icon-size{font-size:24px}.jetpack-sharing-buttons__services-list.has-huge-icon-size{font-size:36px}@media print{.jetpack-sharing-buttons__services-list{display:none!important}}.editor-styles-wrapper .wp-block-jetpack-sharing-buttons{gap:0;padding-inline-start:0}ul.jetpack-sharing-buttons__services-list.has-background{padding:1.25em 2.375em} </style> <style id='rank-math-toc-block-style-inline-css' type='text/css'> .wp-block-rank-math-toc-block nav ol{counter-reset:item}.wp-block-rank-math-toc-block nav ol li{display:block}.wp-block-rank-math-toc-block nav ol li:before{content:counters(item, ".") ". ";counter-increment:item} </style> <style id='classic-theme-styles-inline-css' type='text/css'> /*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} </style> <style id='global-styles-inline-css' type='text/css'> :root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;} :where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;} :where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;} :root :where(.wp-block-pullquote){font-size: 1.5em;line-height: 1.6;} </style> <link rel='stylesheet' id='toc-screen-css' href='https://insaindia.org/wp-content/plugins/table-of-contents-plus/screen.min.css' type='text/css' media='all' /> <style id='toc-screen-inline-css' type='text/css'> div#toc_container ul li {font-size: 120%;} </style> <link data-minify="1" rel='stylesheet' id='designer-theme-css' href='https://insaindia.org/wp-content/cache/min/1/wp-content/themes/mts_designer/style.css?ver=1723638073' type='text/css' media='all' /> <link data-minify="1" rel='stylesheet' id='fontawesome-css' href='https://insaindia.org/wp-content/cache/min/1/wp-content/themes/mts_designer/css/font-awesome.min.css?ver=1723638073' type='text/css' media='all' /> <link data-minify="1" rel='stylesheet' id='owl-carousel-css' href='https://insaindia.org/wp-content/cache/min/1/wp-content/themes/mts_designer/css/owl.carousel.css?ver=1723638073' type='text/css' media='all' /> <link data-minify="1" rel='stylesheet' id='designer-responsive-css' href='https://insaindia.org/wp-content/cache/min/1/wp-content/themes/mts_designer/css/designer-responsive.css?ver=1723638073' type='text/css' media='all' /> <link data-minify="1" rel='stylesheet' id='designer-dynamic-css-css' href='https://insaindia.org/wp-content/cache/min/1/wp-content/uploads/designer-styles/designer-1804.css?ver=1723638073' type='text/css' media='all' /> <style id='rocket-lazyload-inline-css' type='text/css'> .rll-youtube-player{position:relative;padding-bottom:56.23%;height:0;overflow:hidden;max-width:100%;}.rll-youtube-player:focus-within{outline: 2px solid currentColor;outline-offset: 5px;}.rll-youtube-player iframe{position:absolute;top:0;left:0;width:100%;height:100%;z-index:100;background:0 0}.rll-youtube-player img{bottom:0;display:block;left:0;margin:auto;max-width:100%;width:100%;position:absolute;right:0;top:0;border:none;height:auto;-webkit-transition:.4s all;-moz-transition:.4s all;transition:.4s all}.rll-youtube-player img:hover{-webkit-filter:brightness(75%)}.rll-youtube-player .play{height:100%;width:100%;left:0;top:0;position:absolute;background:url(https://insaindia.org/wp-content/plugins/wp-rocket/assets/img/youtube.png) no-repeat center;background-color: transparent !important;cursor:pointer;border:none;} </style> <script type="rocketlazyloadscript" data-rocket-type="text/javascript" data-rocket-src="https://insaindia.org/wp-includes/js/jquery/jquery.min.js" id="jquery-core-js" data-rocket-defer defer></script> <script type="rocketlazyloadscript" data-rocket-type="text/javascript" data-rocket-src="https://insaindia.org/wp-includes/js/jquery/jquery-migrate.min.js" id="jquery-migrate-js" data-rocket-defer defer></script> <link rel="https://api.w.org/" href="https://insaindia.org/wp-json/" /><link rel="alternate" title="JSON" type="application/json" href="https://insaindia.org/wp-json/wp/v2/posts/1804" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://insaindia.org/xmlrpc.php?rsd" /> <meta name="generator" content="WordPress 6.6.2" /> <link rel='shortlink' href='https://insaindia.org/?p=1804' /> <link rel="alternate" title="oEmbed (JSON)" type="application/json+oembed" href="https://insaindia.org/wp-json/oembed/1.0/embed?url=https%3A%2F%2Finsaindia.org%2Fhow-to%2Fwindows-was-unable-to-complete-the-format%2F" /> <link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://insaindia.org/wp-json/oembed/1.0/embed?url=https%3A%2F%2Finsaindia.org%2Fhow-to%2Fwindows-was-unable-to-complete-the-format%2F&format=xml" /> <style>img#wpstats{display:none}</style> <link rel="icon" href="https://insaindia.org/wp-content/uploads/2021/02/cropped-INSA-INDIA-32x32.png" sizes="32x32" /> <link rel="icon" href="https://insaindia.org/wp-content/uploads/2021/02/cropped-INSA-INDIA-192x192.png" sizes="192x192" /> <link rel="apple-touch-icon" href="https://insaindia.org/wp-content/uploads/2021/02/cropped-INSA-INDIA-180x180.png" /> <meta name="msapplication-TileImage" content="https://insaindia.org/wp-content/uploads/2021/02/cropped-INSA-INDIA-270x270.png" /> <style type="text/css" id="wp-custom-css"> .single-full-header .single-title { margin: 0px 0 0px 0; position: relative; } #wrapper.single>.container, .archive #wrapper>.container, .search #wrapper>.container, .error404 #wrapper>.container, .default-wrap, .paged #wrapper>.container { margin-top: 40px; } .button1{ background-color:#0ba011; color:#fff; font-size:16px; padding:10px 20px; border-radius:6px; border:none; } .button1 a{ font-weight:500; color:#ffffff; } .button1 a:hover{ font-weight:bolder; color:#000000; cursor:pointer; } .mybutton, .button{ background-color: #dc3232; border: none; border-radius: 3px; cursor: pointer; font-size: 18px; color:#ffffff; font-weight: 700; padding: 16px 24px; text-transform: uppercase; width: auto; } a.mybutton, .button:hover{ color:#fff; } #toc_container ul li::before, article #toc_container ul li::before{ content: none; } tr { border-bottom: 1px #000000 dotted; } </style> <noscript><style id="rocket-lazyload-nojs-css">.rll-youtube-player, [data-lazy-src]{display:none !important;}</style></noscript></head> <body id="blog" class="post-template-default single single-post postid-1804 single-format-standard main"> <div class="main-container"> <header id="site-header" class="main-header header-default clearfix" role="banner" itemscope="itemscope" itemtype="http://schema.org/WPHeader"> <div id="header" class="clearfix"> <div class="container"> <div class="logo-wrap"> <h2 id="logo" class="text-logo clearfix"><a href="https://insaindia.org">INSAIndia</a></h2> </div> <div id="primary-navigation" class="primary-navigation" role="navigation" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement"> <a href="#" id="pull" class="toggle-mobile-menu menu-icon"> <span></span> <span></span> <span></span> </a> <nav class="navigation clearfix mobile-menu-wrapper"> <ul id="menu-primary" class="menu clearfix"><li id="menu-item-2547" class="menu-item menu-item-type-taxonomy menu-item-object-category current-post-ancestor current-menu-parent current-post-parent menu-item-2547"><a href="https://insaindia.org/how-to/">How to</a></li> <li id="menu-item-2549" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-2549"><a href="https://insaindia.org/download/">Downloads</a></li> <li id="menu-item-2544" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2544"><a rel="nofollow" href="https://insaindia.org/about/">About</a></li> <li id="menu-item-2545" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2545"><a rel="nofollow" href="https://insaindia.org/privacy-policy/">Disclaimer</a></li> </ul> </nav> </div><!-- nav --> <div class="header-search"> <form method="get" id="searchform" class="search-form" action="https://insaindia.org" _lpchecked="1"> <fieldset> <input type="text" name="s" id="s" value="" placeholder="Search..." > <button id="search-image" class="sbutton icon" type="submit" value=""><i class="fa fa-search"></i></button> </fieldset> </form> </div> </div><!-- .container --> </div><!--#header--> </header> <div id="wrapper" class="single"> <div class="container clearfix"> <article class="article"> <div id="content_box" class="cslayout"> <div id="post-1804" class="g post post-1804 type-post status-publish format-standard has-post-thumbnail hentry category-how-to has_thumb"> <div class="single_post"> <header class="single-full-header clearfix"> <h1 class="title single-title entry-title">Fix: Windows Was Unable To Complete The Format Error</h1> <div class="single-postinfo-wrapper"> <div class="post-info"> Posted by <span class="theauthor"><i class="fa fa-pencil-square"></i> <span><a href="https://insaindia.org/author/archana/" title="Posts by Archana" rel="author">Archana</a></span></span>Posted in <span class="thecategory"><i class="fa fa-folder-open"></i> <a href="https://insaindia.org/how-to/" title="View all posts in How to" rel="category tag">How to</a></span><span class="thetime date updated"> <span>May 11, 2020</span></span><span class="thecomment"> <a href="https://insaindia.org/how-to/windows-was-unable-to-complete-the-format/#respond" itemprop="interactionCount">No Comments</a></span> </div> </div> </header><!--.single-full-header--> <div class="post-single-content box mark-links entry-content"> <div class="thecontent"> <p>Are you unable to format your external storage devices like USB flash drive, pen drive, SD card, hard drive, or SSD? Formatting external devices in Windows is an easy and quick process. However, sometimes Windows is unable to complete the formatting. Before fixing the problem, you need to identify the problem. Let’s have a look at the probable causes.</p> <figure id="attachment_1806" aria-describedby="caption-attachment-1806" style="width: 450px" class="wp-caption aligncenter"><img fetchpriority="high" decoding="async" class="wp-image-1806 size-full" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20450%20272'%3E%3C/svg%3E" alt="Windows Was Unable To Complete The Format" width="450" height="272" title="Fix: Windows Was Unable To Complete The Format Error" data-lazy-srcset="https://insaindia.org/wp-content/uploads/2020/05/image001-2.png 450w, https://insaindia.org/wp-content/uploads/2020/05/image001-2-300x181.png 300w" data-lazy-sizes="(max-width: 450px) 100vw, 450px" data-lazy-src="https://insaindia.org/wp-content/uploads/2020/05/image001-2.png" /><noscript><img fetchpriority="high" decoding="async" class="wp-image-1806 size-full" src="https://insaindia.org/wp-content/uploads/2020/05/image001-2.png" alt="Windows Was Unable To Complete The Format" width="450" height="272" title="Fix: Windows Was Unable To Complete The Format Error" srcset="https://insaindia.org/wp-content/uploads/2020/05/image001-2.png 450w, https://insaindia.org/wp-content/uploads/2020/05/image001-2-300x181.png 300w" sizes="(max-width: 450px) 100vw, 450px" /></noscript><figcaption id="caption-attachment-1806" class="wp-caption-text">Format Removable Disk D</figcaption></figure> <p><em><strong>Possible Reasons; </strong></em>There are many reasons to be frank, which include:</p> <ul> <li>Some file system error in your device</li> <li>Virus or malware in your device</li> <li>Physical damage to your device or the external device</li> <li>The device is write-locked by a third-party software</li> <li>Some bugs in your system preventing the formatting</li> <li>Lack of permissions or admin access is required to format the disc</li> </ul> <h2><span id="Steps-to-Fix-8220Windows-Was-Unable-To-Complete-The-Format8221-Issue">Steps to Fix “Windows Was Unable To Complete The Format” Issue</span></h2> <p>Once you have identified the reason(s), you can start troubleshooting. Here are some tried and tested fixes:</p> <h3><span id="1-Use-Disk-Management"><strong>1. Use Disk Management</strong></span></h3> <p>The error message can be a result of some bugs in your system. The errors can be fixed using disk management. Disk management is a pre-installed utility in your Windows device. It helps in the management of drives installed, such as internal and external drives, flash drives, pen drives, etc.</p> <p>It can be used to format drives, create partition, etc. Here is one of the simplest methods to fix it.</p> <ul> <li>Press <strong>Windows key+ X</strong> and select <strong>Disk Management</strong>.</li> <li>On the right pane, navigate to the disk you want to format. Right-click on it and select <strong>format</strong>.</li> </ul> <figure id="attachment_1807" aria-describedby="caption-attachment-1807" style="width: 630px" class="wp-caption aligncenter"><img decoding="async" class="size-medium wp-image-1807" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20630%20351'%3E%3C/svg%3E" alt="Disk formatting interface" width="630" height="351" title="Fix: Windows Was Unable To Complete The Format Error" data-lazy-srcset="https://insaindia.org/wp-content/uploads/2020/05/image004-1-630x351.png 630w, https://insaindia.org/wp-content/uploads/2020/05/image004-1-300x167.png 300w, https://insaindia.org/wp-content/uploads/2020/05/image004-1-768x427.png 768w, https://insaindia.org/wp-content/uploads/2020/05/image004-1.png 990w" data-lazy-sizes="(max-width: 630px) 100vw, 630px" data-lazy-src="https://insaindia.org/wp-content/uploads/2020/05/image004-1-630x351.png" /><noscript><img decoding="async" class="size-medium wp-image-1807" src="https://insaindia.org/wp-content/uploads/2020/05/image004-1-630x351.png" alt="Disk formatting interface" width="630" height="351" title="Fix: Windows Was Unable To Complete The Format Error" srcset="https://insaindia.org/wp-content/uploads/2020/05/image004-1-630x351.png 630w, https://insaindia.org/wp-content/uploads/2020/05/image004-1-300x167.png 300w, https://insaindia.org/wp-content/uploads/2020/05/image004-1-768x427.png 768w, https://insaindia.org/wp-content/uploads/2020/05/image004-1.png 990w" sizes="(max-width: 630px) 100vw, 630px" /></noscript><figcaption id="caption-attachment-1807" class="wp-caption-text">Right-click on the Disk you want to format and select format.</figcaption></figure> <ul> <li>The <strong>file system</strong> for your external device can be selected as <strong>NTFS, FAT32, exFAT</strong>.</li> <li>Confirm the dialog box, tick the <strong>quick format</strong> option, and press <strong>OK</strong>.</li> <li><strong>Restart</strong> your Windows PC and check if the problem still persists.</li> </ul> <h3><span id="2-Use-DISKPART"><strong>2. Use DISKPART</strong></span></h3> <figure id="attachment_1809" aria-describedby="caption-attachment-1809" style="width: 630px" class="wp-caption aligncenter"><img decoding="async" class="size-medium wp-image-1809" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20630%20227'%3E%3C/svg%3E" alt="DISKPART interface" width="630" height="227" title="Fix: Windows Was Unable To Complete The Format Error" data-lazy-srcset="https://insaindia.org/wp-content/uploads/2020/05/image006-3-630x227.png 630w, https://insaindia.org/wp-content/uploads/2020/05/image006-3-300x108.png 300w, https://insaindia.org/wp-content/uploads/2020/05/image006-3.png 634w" data-lazy-sizes="(max-width: 630px) 100vw, 630px" data-lazy-src="https://insaindia.org/wp-content/uploads/2020/05/image006-3-630x227.png" /><noscript><img decoding="async" class="size-medium wp-image-1809" src="https://insaindia.org/wp-content/uploads/2020/05/image006-3-630x227.png" alt="DISKPART interface" width="630" height="227" title="Fix: Windows Was Unable To Complete The Format Error" srcset="https://insaindia.org/wp-content/uploads/2020/05/image006-3-630x227.png 630w, https://insaindia.org/wp-content/uploads/2020/05/image006-3-300x108.png 300w, https://insaindia.org/wp-content/uploads/2020/05/image006-3.png 634w" sizes="(max-width: 630px) 100vw, 630px" /></noscript><figcaption id="caption-attachment-1809" class="wp-caption-text">Use DISKPART to manage your PC</figcaption></figure> <p>If the error still persists, try using another utility known as DISKPART. DISKPART command helps you to use the command prompt. It manages your computer’s disks, partitions, hard disks etc. It can be done using a command prompt. Here are the steps for using DISKPART to format external or internal drives:</p> <ul> <li>Go to <strong>command prompt</strong> and select Run as administrator. Type <strong>DISKPART </strong>and hit<strong> Enter</strong>.</li> <li><strong>Type</strong> below command lines one by one by hitting enter each time for quick formatting:</li> <li><strong>List disk</strong></li> <li><strong>Select disk *</strong></li> <li><strong>List volume</strong></li> <li><strong>Select volume *</strong></li> <li><strong>Format fs=ntfs quick (</strong>if you want to format a device to other<strong> file systems, replace NTFS with FAT32, exFAT, etc.)</strong></li> <li>Type <strong>Exit</strong> and hit <strong>Enter</strong> to close the program.</li> <li>Check if the format is complete.</li> </ul> <ol> <li><a href="https://insaindia.org/how-to/start-menu-not-working-in-windows-10/">Start Menu not working</a></li> <li><a href="https://insaindia.org/how-to/steam-not-opening-windows-10/">Steam not opening on Windows 10</a></li> </ol> <h3><span id="3-Change-The-Write-Protection"><strong>3. Change The Write Protection</strong></span></h3> <p>The Windows formatting error message can also be due to the “Write Protected Devices”. The write protection can be turned off only by following steps:</p> <ul> <li>Open registry by searching ‘<strong>regedit’</strong> in the search bar.</li> <li>Alternatively, press <strong>Windows key + R</strong>. Type <strong>Regedit</strong> and <strong>press Enter</strong>.</li> </ul> <figure id="attachment_1810" aria-describedby="caption-attachment-1810" style="width: 630px" class="wp-caption aligncenter"><img decoding="async" class="size-medium wp-image-1810" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20630%20216'%3E%3C/svg%3E" alt="Write Protection changing interface" width="630" height="216" title="Fix: Windows Was Unable To Complete The Format Error" data-lazy-srcset="https://insaindia.org/wp-content/uploads/2020/05/image008-630x216.png 630w, https://insaindia.org/wp-content/uploads/2020/05/image008-300x103.png 300w, https://insaindia.org/wp-content/uploads/2020/05/image008-768x263.png 768w, https://insaindia.org/wp-content/uploads/2020/05/image008.png 999w" data-lazy-sizes="(max-width: 630px) 100vw, 630px" data-lazy-src="https://insaindia.org/wp-content/uploads/2020/05/image008-630x216.png" /><noscript><img decoding="async" class="size-medium wp-image-1810" src="https://insaindia.org/wp-content/uploads/2020/05/image008-630x216.png" alt="Write Protection changing interface" width="630" height="216" title="Fix: Windows Was Unable To Complete The Format Error" srcset="https://insaindia.org/wp-content/uploads/2020/05/image008-630x216.png 630w, https://insaindia.org/wp-content/uploads/2020/05/image008-300x103.png 300w, https://insaindia.org/wp-content/uploads/2020/05/image008-768x263.png 768w, https://insaindia.org/wp-content/uploads/2020/05/image008.png 999w" sizes="(max-width: 630px) 100vw, 630px" /></noscript><figcaption id="caption-attachment-1810" class="wp-caption-text">Press Windows key + R. Type Regedit and press Enter</figcaption></figure> <ul> <li><strong>The registry editor</strong> will open. Navigate through the following key in the left pane:</li> <li><strong>HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\StorageDevicePolicies</strong></li> <li>If you can not locate the key in the left pane. Create it by <strong>right-click</strong> on <strong>control </strong>then click on new. Enter the <strong>storage device policy key</strong>.</li> </ul> <figure id="attachment_1811" aria-describedby="caption-attachment-1811" style="width: 601px" class="wp-caption aligncenter"><img decoding="async" class="size-full wp-image-1811" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20601%20374'%3E%3C/svg%3E" alt="Change The Write Protection interface" width="601" height="374" title="Fix: Windows Was Unable To Complete The Format Error" data-lazy-srcset="https://insaindia.org/wp-content/uploads/2020/05/image011-1.jpg 601w, https://insaindia.org/wp-content/uploads/2020/05/image011-1-300x187.jpg 300w, https://insaindia.org/wp-content/uploads/2020/05/image011-1-200x125.jpg 200w" data-lazy-sizes="(max-width: 601px) 100vw, 601px" data-lazy-src="https://insaindia.org/wp-content/uploads/2020/05/image011-1.jpg" /><noscript><img decoding="async" class="size-full wp-image-1811" src="https://insaindia.org/wp-content/uploads/2020/05/image011-1.jpg" alt="Change The Write Protection interface" width="601" height="374" title="Fix: Windows Was Unable To Complete The Format Error" srcset="https://insaindia.org/wp-content/uploads/2020/05/image011-1.jpg 601w, https://insaindia.org/wp-content/uploads/2020/05/image011-1-300x187.jpg 300w, https://insaindia.org/wp-content/uploads/2020/05/image011-1-200x125.jpg 200w" sizes="(max-width: 601px) 100vw, 601px" /></noscript><figcaption id="caption-attachment-1811" class="wp-caption-text">Right-click on control then click on new</figcaption></figure> <ul> <li>Click on the key and create a <strong>REG_DWORD</strong> called <strong>WriteProtect</strong> by right-clicking on <strong>New </strong>and select <strong>DWORD (32-bit) Value</strong> or <strong>QWORD (64-bit)</strong> depending upon the configuration of Windows in your device.</li> <li>Edit the key by selecting the value as <strong>0</strong> and confirm<strong> OK</strong>.</li> <li>Close Registry Editor and <strong>Restart</strong> your Windows device to check if the issue is resolved or not.</li> </ul> <h3><span id="4-Make-Sure-The-External-Device-Is-Not-Write-Protected"><strong>4. Make Sure The External Device Is Not Write-Protected</strong></span></h3> <p>If the above methods are not working and if you are still unable to format your disk, try to check whether the device you want to format is write-protected or not. Some of the SD cards and USB drives come with the internal write-protection feature. Check for write-protection on your disk and try to turn it off. Before applying the fix, make sure you have taken a backup of your data. You may also refer to your computer manual or contact the manufacturer to help you with turning off the write-protection.</p> <h3><span id="5-Scan-Device-For-Viruses-Or-Malware"><strong>5. Scan Device For Viruses Or Malware</strong></span></h3> <p>Malware and viruses too, may be a reason. They may intervene and hinder the formatting process. Most often, it is due to the bugs in the system, the device is unable to format. Always scan your device for viruses or malware and fix it before applying any other fixes.</p> <h2><span id="Third-Party-Utility-Tools-for-Fixing-Formatting-Error">Third Party Utility Tools for Fixing Formatting Error</span></h2> <p>If none of the inbuilt troubleshooting methods seem to work, you may try using the third-party tools to fix the error in your Windows PC. These tools automatically detect the error in your system and you can quickly fix those errors without any trouble. Some of the most popular tools are listed below:</p> <h3><span id="1-HP-USB-Disk-Format-Tool"><strong>1. HP USB Disk Format Tool</strong></span></h3> <p>HP USB disk format tool reduces the disk to its original capacity and delete the data permanently. This tool is free to download and its interface is very user friendly. It is also compatible with Windows XP and Vista. It can restore USB drive(s) to any file systems such as FAT, FAT32, NTFS, etc.</p> <h3><span id="2-AOMEI-Partition-Assistant"><strong>2. AOMEI Partition Assistant</strong></span></h3> <figure id="attachment_1812" aria-describedby="caption-attachment-1812" style="width: 630px" class="wp-caption aligncenter"><img decoding="async" class="size-medium wp-image-1812" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20630%20358'%3E%3C/svg%3E" alt="AOMEI Partition Assistant interface" width="630" height="358" title="Fix: Windows Was Unable To Complete The Format Error" data-lazy-srcset="https://insaindia.org/wp-content/uploads/2020/05/image012-630x358.gif 630w, https://insaindia.org/wp-content/uploads/2020/05/image012-300x171.gif 300w, https://insaindia.org/wp-content/uploads/2020/05/image012-768x437.gif 768w" data-lazy-sizes="(max-width: 630px) 100vw, 630px" data-lazy-src="https://insaindia.org/wp-content/uploads/2020/05/image012-630x358.gif" /><noscript><img decoding="async" class="size-medium wp-image-1812" src="https://insaindia.org/wp-content/uploads/2020/05/image012-630x358.gif" alt="AOMEI Partition Assistant interface" width="630" height="358" title="Fix: Windows Was Unable To Complete The Format Error" srcset="https://insaindia.org/wp-content/uploads/2020/05/image012-630x358.gif 630w, https://insaindia.org/wp-content/uploads/2020/05/image012-300x171.gif 300w, https://insaindia.org/wp-content/uploads/2020/05/image012-768x437.gif 768w" sizes="(max-width: 630px) 100vw, 630px" /></noscript><figcaption id="caption-attachment-1812" class="wp-caption-text">Use AOMEI Partition Assistant</figcaption></figure> <p>AOMEI Partition Assistant is a free partition tool and used to resize partitions, wipe partitions, partition recovery, etc. It fixes bad sectors, formats the USB drives and most importantly, it also recovers previously deleted partitions from your drive.</p> <h3><span id="3-EaseUS-Partition-Master"><strong>3. EaseUS Partition Master</strong></span></h3> <p>EaseUS partition master is another easy to use partition tool for Windows. The free version is decent enough and can do the job for you. However, if you are looking for some advanced features, you will have to get the premium version.</p> <h3><span id="4-EaseUS-Data-Recovery-Wizard"><strong>4. EaseUS Data Recovery Wizard</strong></span></h3> <p>If your device or drive is damaged, you would obviously want to recover all the data stored in it before formatting it. To recover the data from damaged drive or disk, EaseUS data recovery wizard is handy. It can recover data from accidently deleted files, unexpected power off, system crash, virus attack, etc. The free version of this tool allows recovery of 2GB of lost data and has preview option as well. The paid version has multi-computer capacity and more size for data recovery.</p> <div id="toc_container" class="toc_light_blue no_bullets"><p class="toc_title">Contents of the Article</p><ul class="toc_list"><li><a href="#Steps-to-Fix-8220Windows-Was-Unable-To-Complete-The-Format8221-Issue">Steps to Fix “Windows Was Unable To Complete The Format” Issue</a><ul><li><a href="#1-Use-Disk-Management">1. Use Disk Management</a></li><li><a href="#2-Use-DISKPART">2. Use DISKPART</a></li><li><a href="#3-Change-The-Write-Protection">3. Change The Write Protection</a></li><li><a href="#4-Make-Sure-The-External-Device-Is-Not-Write-Protected">4. Make Sure The External Device Is Not Write-Protected</a></li><li><a href="#5-Scan-Device-For-Viruses-Or-Malware">5. Scan Device For Viruses Or Malware</a></li></ul></li><li><a href="#Third-Party-Utility-Tools-for-Fixing-Formatting-Error">Third Party Utility Tools for Fixing Formatting Error</a><ul><li><a href="#1-HP-USB-Disk-Format-Tool">1. HP USB Disk Format Tool</a></li><li><a href="#2-AOMEI-Partition-Assistant">2. AOMEI Partition Assistant</a></li><li><a href="#3-EaseUS-Partition-Master">3. EaseUS Partition Master</a></li><li><a href="#4-EaseUS-Data-Recovery-Wizard">4. EaseUS Data Recovery Wizard</a></li></ul></li></ul></div> </div> </div><!--.post-single-content--> </div><!--.single_post--> <div class="postauthor"> <h4>About Author</h4> <h5 class="vcard author"> <a href="https://insaindia.org/author/archana/" class="fn"> Archana </a> </h5> <div class="profession"></div><div class="designation"></div> <p></p> </div> </div><!--.g post--> <div id="commentsAdd"> <div id="respond" class="box m-t-6"> <div id="respond" class="comment-respond"> <h3 id="reply-title" class="comment-reply-title">Leave a Comment!</h3><form action="https://insaindia.org/wp-comments-post.php" method="post" id="commentform" class="comment-form" novalidate><p class="comment-form-comment"><textarea id="comment" name="comment" cols="45" rows="6" aria-required="true" placeholder="Your Message*"></textarea></p><p class="comment-form-author"><input id="author" name="author" aria-required="true" placeholder="Name*"></input></p> <p class="comment-form-email"><input id="email" name="email" placeholder="Email*"></input></p> <p class="comment-form-url"><input id="url" name="url" placeholder="Website"></input></p> <p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes" /> <label for="wp-comment-cookies-consent">Save my name, email, and website in this browser for the next time I comment.</label></p> <p class="form-submit"><input name="submit" type="submit" id="submit" class="submit" value="Post Comment" /> <input type='hidden' name='comment_post_ID' value='1804' id='comment_post_ID' /> <input type='hidden' name='comment_parent' id='comment_parent' value='0' /> </p></form> </div><!-- #respond --> </div> </div> </div> </article> <aside id="sidebar" class="sidebar c-4-12 mts-sidebar-sidebar" role="complementary" itemscope itemtype="http://schema.org/WPSideBar"> <div id="search-3" class="widget widget_search"><h3 class="widget-title">Explore INSA</h3> <form method="get" id="searchform" class="search-form" action="https://insaindia.org" _lpchecked="1"> <fieldset> <input type="text" name="s" id="s" value="" placeholder="Search..." > <button id="search-image" class="sbutton icon" type="submit" value="">Search</button> </fieldset> </form> </div> <div id="recent-posts-3" class="widget widget_recent_entries"> <h3 class="widget-title">Recently Published</h3> <ul> <li> <a href="https://insaindia.org/new-jersey/nj-surcharge/">NJ Surcharge: Explaining New Jersey’s Surcharge System</a> <span class="post-date">August 14, 2024</span> </li> <li> <a href="https://insaindia.org/florida/payflclerk/">Pay FL Traffic Ticket Online With PayFLClerk</a> <span class="post-date">November 11, 2023</span> </li> <li> <a href="https://insaindia.org/blog/caffeine-in-double-shot-espresso/">How Much Caffeine is in a Double Shot Espresso?</a> <span class="post-date">September 2, 2023</span> </li> <li> <a href="https://insaindia.org/survey/kroger-feedback/">How to Do Kroger Feedback Survey: A Step-by-Step Guide</a> <span class="post-date">August 28, 2023</span> </li> <li> <a href="https://insaindia.org/new-jersey/is-njmcdirect-legitimate/">Is NJMCdirect Legitimate & Safe?</a> <span class="post-date">July 19, 2023</span> </li> <li> <a href="https://insaindia.org/survey/storeopinion-ca-no-frills-survey/">Storeopinion.CA No Frills Survey</a> <span class="post-date">August 15, 2022</span> </li> <li> <a href="https://insaindia.org/survey/mybkexperience/">MyBKExperience Survey: free whopper burger at www.mybkexperience.com</a> <span class="post-date">July 20, 2022</span> </li> <li> <a href="https://insaindia.org/download/gameloop-download-windows-10/">Gameloop Download For Windows 10/7 PC & Mac OS</a> <span class="post-date">May 17, 2020</span> </li> <li> <a href="https://insaindia.org/how-to/play-windows-pc-games-on-mac/">How to Play Windows PC Games on Mac?</a> <span class="post-date">May 15, 2020</span> </li> <li> <a href="https://insaindia.org/download/garageband-for-pc/">Garageband For PC: Guide to Use Garageband on Windows 10</a> <span class="post-date">May 12, 2020</span> </li> </ul> </div> </aside><!--#sidebar--> </div> <div class="footer-ad clearfix"> <div class="container"> <span style="font-size:13px;color:#0f0f0f;">InsaIndia.org is supported by readers. As an Amazon Associate, we earn small fee from qualifying sales. <a href="https://insaindia.org/privacy-policy" rel="nofollow">Learn more</a></span> </div> </div> </div><!--#wrapper--> <footer id="site-footer" class="site-footer" role="contentinfo" itemscope="itemscope" itemtype="http://schema.org/WPFooter"> <div class="container"> <div class="footer-widgets first-footer-widgets widgets-num-3"> <div class="f-widget f-widget-1 first"> <div id="mts_contact_info-2" class="widget mts_contact_info"><h3 class="widget-title">Contact Info</h3> <div class="contact-info-container"> <p><a href="/cdn-cgi/l/email-protection#d0a3a5a0a0bfa2a490b9bea3b1b9beb4b9b1febfa2b7">Email us</a></p> </div> </div> </div> <div class="f-widget f-widget-2"> </div> <div class="f-widget f-widget-3 last"> <div id="text-6" class="widget widget_text"><h3 class="widget-title">INSA Updates</h3> <div class="textwidget"><ul> <li><a href="https://insaindia.org/sci_inyas.php">INYAS Information</a></li> <li><a href="https://insaindia.org/youngmedal.php">INSA Medal Recipients</a></li> <li><a href="https://insaindia.org/aa4young1.php">Young Medal Holders</a></li> <li><a href="https://insaindia.org/inyas.php">INYAS Academy</a></li> </ul> </div> </div> </div> </div><!--.first-footer-widgets--> <div class="disclaimer"> </div> </div> <div class="copyrights"> <div class="container"> <div class="row" id="copyright-note"> <span><a href=" https://insaindia.org/" title=" Indian National Science Academy">INSAIndia</a> Copyright © 2024.</span> <div class="to-top"></div> </div> </div> </div> </footer><!--#site-footer--> </div><!--.main-container--> <script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script type="text/javascript" id="toc-front-js-extra"> /* <![CDATA[ */ var tocplus = {"smooth_scroll":"1","visibility_show":"show","visibility_hide":"hide","visibility_hide_by_default":"1","width":"Auto"}; /* ]]> */ </script> <script type="rocketlazyloadscript" data-rocket-type="text/javascript" data-rocket-src="https://insaindia.org/wp-content/plugins/table-of-contents-plus/front.min.js" id="toc-front-js" data-rocket-defer defer></script> <script type="rocketlazyloadscript" data-rocket-type="text/javascript" id="rocket-browser-checker-js-after"> /* <![CDATA[ */ "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); /* ]]> */ </script> <script type="text/javascript" id="rocket-preload-links-js-extra"> /* <![CDATA[ */ var RocketPreloadLinksConfig = {"excludeUris":"\/(?:.+\/)?feed(?:\/(?:.+\/?)?)?$|\/(?:.+\/)?embed\/|\/(index.php\/)?(.*)wp-json(\/.*|$)|\/refer\/|\/go\/|\/recommend\/|\/recommends\/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https:\/\/insaindia.org","onHoverDelay":"100","rateThrottle":"3"}; /* ]]> */ </script> <script type="rocketlazyloadscript" data-rocket-type="text/javascript" id="rocket-preload-links-js-after"> /* <![CDATA[ */ (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); /* ]]> */ </script> <script type="text/javascript" id="designer_customscript-js-extra"> /* <![CDATA[ */ var designer_customscript = {"nav_menu":"primary","responsive":"1","layout":"header-default","show":"1","icon":"long-arrow-up"}; /* ]]> */ </script> <script type="rocketlazyloadscript" data-minify="1" data-rocket-type="text/javascript" data-rocket-src="https://insaindia.org/wp-content/cache/min/1/wp-content/themes/mts_designer/js/designer-customscripts.js?ver=1723638073" id="designer_customscript-js" data-rocket-defer defer></script> <script type="rocketlazyloadscript" data-rocket-type="text/javascript" data-rocket-src="https://insaindia.org/wp-content/themes/mts_designer/js/owl.carousel.min.js" id="owl-carousel-js" data-rocket-defer defer></script> <script type="text/javascript" src="https://stats.wp.com/e-202447.js" id="jetpack-stats-js" data-wp-strategy="defer" data-rocket-defer defer></script> <script type="text/javascript" id="jetpack-stats-js-after"> /* <![CDATA[ */ _stq = window._stq || []; _stq.push([ "view", JSON.parse("{\"v\":\"ext\",\"blog\":\"121175569\",\"post\":\"1804\",\"tz\":\"5.5\",\"srv\":\"insaindia.org\",\"j\":\"1:14.0\"}") ]); _stq.push([ "clickTrackerInit", "121175569", "1804" ]); /* ]]> */ </script> <script>window.lazyLoadOptions=[{elements_selector:"img[data-lazy-src],.rocket-lazyload,iframe[data-lazy-src]",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,callback_loaded:function(element){if(element.tagName==="IFRAME"&&element.dataset.rocketLazyload=="fitvidscompatible"){if(element.classList.contains("lazyloaded")){if(typeof window.jQuery!="undefined"){if(jQuery.fn.fitVids){jQuery(element).parent().fitVids()}}}}}},{elements_selector:".rocket-lazyload",data_src:"lazy-src",data_srcset:"lazy-srcset",data_sizes:"lazy-sizes",class_loading:"lazyloading",class_loaded:"lazyloaded",threshold:300,}];window.addEventListener('LazyLoad::Initialized',function(e){var lazyLoadInstance=e.detail.instance;if(window.MutationObserver){var observer=new MutationObserver(function(mutations){var image_count=0;var iframe_count=0;var rocketlazy_count=0;mutations.forEach(function(mutation){for(var i=0;i<mutation.addedNodes.length;i++){if(typeof mutation.addedNodes[i].getElementsByTagName!=='function'){continue} if(typeof mutation.addedNodes[i].getElementsByClassName!=='function'){continue} images=mutation.addedNodes[i].getElementsByTagName('img');is_image=mutation.addedNodes[i].tagName=="IMG";iframes=mutation.addedNodes[i].getElementsByTagName('iframe');is_iframe=mutation.addedNodes[i].tagName=="IFRAME";rocket_lazy=mutation.addedNodes[i].getElementsByClassName('rocket-lazyload');image_count+=images.length;iframe_count+=iframes.length;rocketlazy_count+=rocket_lazy.length;if(is_image){image_count+=1} if(is_iframe){iframe_count+=1}}});if(image_count>0||iframe_count>0||rocketlazy_count>0){lazyLoadInstance.update()}});var b=document.getElementsByTagName("body")[0];var config={childList:!0,subtree:!0};observer.observe(b,config)}},!1)</script><script data-no-minify="1" async src="https://insaindia.org/wp-content/plugins/wp-rocket/assets/js/lazyload/17.8.3/lazyload.min.js"></script><script>function lazyLoadThumb(e,alt,l){var t='<img data-lazy-src="https://i.ytimg.com/vi/ID/hqdefault.jpg" alt="" width="480" height="360"><noscript><img src="https://i.ytimg.com/vi/ID/hqdefault.jpg" alt="" width="480" height="360"></noscript>',a='<button class="play" aria-label="play Youtube video"></button>';if(l){t=t.replace('data-lazy-','');t=t.replace('loading="lazy"','');t=t.replace(/<noscript>.*?<\/noscript>/g,'');}t=t.replace('alt=""','alt="'+alt+'"');return t.replace("ID",e)+a}function lazyLoadYoutubeIframe(){var e=document.createElement("iframe"),t="ID?autoplay=1";t+=0===this.parentNode.dataset.query.length?"":"&"+this.parentNode.dataset.query;e.setAttribute("src",t.replace("ID",this.parentNode.dataset.src)),e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen","1"),e.setAttribute("allow","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"),this.parentNode.parentNode.replaceChild(e,this.parentNode)}document.addEventListener("DOMContentLoaded",function(){var exclusions=[];var e,t,p,u,l,a=document.getElementsByClassName("rll-youtube-player");for(t=0;t<a.length;t++)(e=document.createElement("div")),(u='https://i.ytimg.com/vi/ID/hqdefault.jpg'),(u=u.replace('ID',a[t].dataset.id)),(l=exclusions.some(exclusion=>u.includes(exclusion))),e.setAttribute("data-id",a[t].dataset.id),e.setAttribute("data-query",a[t].dataset.query),e.setAttribute("data-src",a[t].dataset.src),(e.innerHTML=lazyLoadThumb(a[t].dataset.id,a[t].dataset.alt,l)),a[t].appendChild(e),(p=e.querySelector(".play")),(p.onclick=lazyLoadYoutubeIframe)});</script> </body> </html> <!-- This website is like a Rocket, isn't it? Performance optimized by WP Rocket. Learn more: https://wp-rocket.me - Debug: cached@1732447638 -->