Windows seems to be unable to format a USB memory drive. After a lot of testing I found this to work in most cases.

fxv300

Distinguished
Jun 9, 2010
15
0
18,570
unable to format a USB memory drive. After a lot of testing I found this to work in most cases.

When you try to format a USB memory stick you get a message saying "The disk is write protected"This also happens when you do this via
My Computer (right-click)
Manage->Disk Management
Select your USB device and try and format: You get a message saying
"The operation did not complete because the media is write protected".

[video="https://www.youtube.com/watch?v=jZWu7u7Xp5k"][/video]
 
May 30, 2015
3
0
4,510
I'm a Genius!

Think about Micro Adapters. They have this bright-yellow, human skin color, thingy there with a text "Lock" When it's up, then it's unlocked, when it's down, then its write-protected. USBs are different.

Open -> Command Prompt
Click -> Run as Administrator
Type in the command -> attrib -r x:\*.*
X is your USB Drive letter.

- Kristjan
 

fxv300

Distinguished
Jun 9, 2010
15
0
18,570


 
May 30, 2015
3
0
4,510
2185.1.JPG


This is write-protected version, just look at Lock tezxt and there is a switch.
 

fxv300

Distinguished
Jun 9, 2010
15
0
18,570
Hi Kristjan, the question I had for you was "Have you got the attrib command to work ?"
for your USB device. ie were you able to format it etc.
I appreciate that adapter have switches but USB devices do not have write protect switches in most cases ( a few ones do).
Cheers
Frank
 
May 30, 2015
3
0
4,510
Attrib works on my PC:

A C:\Windows\system32\w32tm.exe
A C:\Windows\system32\w32topl.dll
A C:\Windows\system32\WABSyncProvider.dll
A C:\Windows\system32\waitfor.exe
A C:\Windows\system32\WavDest.dll
A C:\Windows\system32\wavemsp.dll
A C:\Windows\system32\wbadmin.exe
A C:\Windows\system32\wbemcomn.dll
A C:\Windows\system32\wbengine.exe
A C:\Windows\system32\wbiosrvc.dll
A C:\Windows\system32\WcnApi.dll
A C:\Windows\system32\wcncsvc.dll
A C:\Windows\system32\WcnEapAuthProxy.dll
A C:\Windows\system32\WcnEapPeerProxy.dll
A C:\Windows\system32\WcnNetsh.dll
A C:\Windows\system32\wcnwiz.dll
A C:\Windows\system32\WcsPlugInService.dll
A C:\Windows\system32\wdc.dll
A C:\Windows\system32\wdi.dll
A C:\Windows\system32\wdiasqmmodule.dll
A C:\Windows\system32\wdigest.dll
A C:\Windows\system32\wdmaud.drv
A C:\Windows\system32\wdscore.dll
A C:\Windows\system32\WdsUnattendTemplate.xml
A C:\Windows\system32\WEB.rs
A C:\Windows\system32\webcheck.dll
A C:\Windows\system32\WebClnt.dll
A C:\Windows\system32\webio.dll
A C:\Windows\system32\webservices.dll
A C:\Windows\system32\wecapi.dll
A C:\Windows\system32\wecsvc.dll
A C:\Windows\system32\wecutil.exe
A C:\Windows\system32\wer.dll
A C:\Windows\system32\werconcpl.dll
A C:\Windows\system32\wercplsupport.dll
A C:\Windows\system32\werdiagcontroller.dll
A C:\Windows\system32\WerFault.exe
A C:\Windows\system32\WerFaultSecure.exe
A C:\Windows\system32\wermgr.exe
A C:\Windows\system32\wersvc.dll
A C:\Windows\system32\werui.dll
A C:\Windows\system32\wevtapi.dll
A C:\Windows\system32\wevtfwd.dll
A C:\Windows\system32\wevtsvc.dll
A C:\Windows\system32\wevtutil.exe
A C:\Windows\system32\wextract.exe
A C:\Windows\system32\WF.msc
A C:\Windows\system32\wfapigp.dll
A C:\Windows\system32\WfHC.dll
A C:\Windows\system32\WFS.exe
A C:\Windows\system32\WFSR.dll
A C:\Windows\system32\whealogr.dll
A C:\Windows\system32\where.exe
A C:\Windows\system32\whhelper.dll
A C:\Windows\system32\whoami.exe
A C:\Windows\system32\wiaacmgr.exe
A C:\Windows\system32\wiaaut.dll
A C:\Windows\system32\wiadefui.dll
A C:\Windows\system32\wiadss.dll
A C:\Windows\system32\WiaExtensionHost64.dll
A C:\Windows\system32\wiarpc.dll
A C:\Windows\system32\wiascanprofiles.dll
A C:\Windows\system32\wiaservc.dll
A C:\Windows\system32\wiashext.dll
A C:\Windows\system32\wiatrace.dll
A C:\Windows\system32\wiavideo.dll
A C:\Windows\system32\wiawow64.exe
A C:\Windows\system32\wimgapi.dll
A C:\Windows\system32\wimserv.exe
A C:\Windows\system32\win32k.sys
A C:\Windows\system32\win32spl.dll
A C:\Windows\system32\winbio.dll
A C:\Windows\system32\winbrand.dll
A C:\Windows\system32\wincredprovider.dll
A C:\Windows\system32\WindowsAccessBridge-64.dll
A C:\Windows\system32\WindowsAnytimeUpgradeResults.exe
A C:\Windows\system32\WindowsCodecs.dll
A C:\Windows\system32\WindowsCodecsExt.dll
A C:\Windows\system32\winethc.dll
A C:\Windows\system32\WinFax.dll
A C:\Windows\system32\winhttp.dll
A C:\Windows\system32\wininet.dll
A C:\Windows\system32\wininit.exe
A C:\Windows\system32\winipsec.dll
A C:\Windows\system32\winload.efi
A C:\Windows\system32\winload.exe
A C:\Windows\system32\winlogon.exe
A C:\Windows\system32\winmm.dll
A C:\Windows\system32\winnsi.dll
A C:\Windows\system32\winresume.efi
A C:\Windows\system32\winresume.exe
A C:\Windows\system32\winrm.cmd
A C:\Windows\system32\winrm.vbs
A C:\Windows\system32\winrnr.dll
A C:\Windows\system32\winrs.exe
A C:\Windows\system32\winrscmd.dll
A C:\Windows\system32\winrshost.exe
A C:\Windows\system32\winrsmgr.dll
A C:\Windows\system32\winrssrv.dll
A C:\Windows\system32\WinSAT.exe
A C:\Windows\system32\WinSATAPI.dll
A C:\Windows\system32\WinSCard.dll
A C:\Windows\system32\winshfhc.dll
A C:\Windows\system32\winsockhc.dll
A C:\Windows\system32\winspool.drv
A C:\Windows\system32\WINSRPC.DLL
A C:\Windows\system32\winsrv.dll
A C:\Windows\system32\winsta.dll
A C:\Windows\system32\WinSync.dll
A C:\Windows\system32\WinSyncMetastore.dll
A C:\Windows\system32\WinSyncProviders.dll
A C:\Windows\system32\wintrust.dll
A C:\Windows\system32\winusb.dll
A C:\Windows\system32\winver.exe
A C:\Windows\system32\wisptis.exe
A C:\Windows\system32\wkscli.dll
A C:\Windows\system32\wksprt.exe
A C:\Windows\system32\wksprtPS.dll
A C:\Windows\system32\wkssvc.dll
A C:\Windows\system32\wlanapi.dll
A C:\Windows\system32\wlancfg.dll
A C:\Windows\system32\WLanConn.dll
A C:\Windows\system32\wlandlg.dll
A C:\Windows\system32\wlanext.exe
A C:\Windows\system32\wlangpui.dll
A C:\Windows\system32\WLanHC.dll
A C:\Windows\system32\wlanhlp.dll
A C:\Windows\system32\wlaninst.dll
A C:\Windows\system32\WlanMM.dll
A C:\Windows\system32\wlanmsm.dll
A C:\Windows\system32\wlanpref.dll
A C:\Windows\system32\wlansec.dll
A C:\Windows\system32\wlansvc.dll
A C:\Windows\system32\wlanui.dll
A C:\Windows\system32\wlanutil.dll
A C:\Windows\system32\Wldap32.dll
A C:\Windows\system32\wlgpclnt.dll
A C:\Windows\system32\wlihvui.dll
A C:\Windows\system32\wlrmdr.exe
A C:\Windows\system32\WlS0WndH.dll
A C:\Windows\system32\WMADMOD.DLL
A C:\Windows\system32\WMADMOE.DLL
A C:\Windows\system32\WMALFXGFXDSP.dll
A C:\Windows\system32\WMASF.DLL
A C:\Windows\system32\wmcodecdspps.dll
A C:\Windows\system32\wmdmlog.dll
A C:\Windows\system32\wmdmps.dll
A C:\Windows\system32\wmdrmdev.dll
A C:\Windows\system32\wmdrmnet.dll
A C:\Windows\system32\wmdrmsdk.dll
A C:\Windows\system32\wmerror.dll
A C:\Windows\system32\wmi.dll
A C:\Windows\system32\wmicmiplugin.dll
A C:\Windows\system32\wmidx.dll
A C:\Windows\system32\WmiMgmt.msc
A C:\Windows\system32\wmiprop.dll
A C:\Windows\system32\WMNetMgr.dll
A C:\Windows\system32\wmp.dll
A C:\Windows\system32\wmpcm.dll
A C:\Windows\system32\WmpDui.dll
A C:\Windows\system32\wmpdxm.dll
A C:\Windows\system32\wmpeffects.dll
A C:\Windows\system32\WMPEncEn.dll
A C:\Windows\system32\WMPhoto.dll
A C:\Windows\system32\wmploc.DLL
A C:\Windows\system32\wmpmde.dll
A C:\Windows\system32\wmpps.dll
A C:\Windows\system32\wmpshell.dll
A C:\Windows\system32\wmpsrcwp.dll
A C:\Windows\system32\wmsgapi.dll
A C:\Windows\system32\WMSPDMOD.DLL
A C:\Windows\system32\WMSPDMOE.DLL
A C:\Windows\system32\WMVCORE.DLL
A C:\Windows\system32\WMVDECOD.DLL
A C:\Windows\system32\wmvdspa.dll
A C:\Windows\system32\WMVENCOD.DLL
A C:\Windows\system32\WMVSDECD.DLL
A C:\Windows\system32\WMVSENCD.DLL
A C:\Windows\system32\WMVXENCD.DLL
A C:\Windows\system32\wow64.dll
A C:\Windows\system32\wow64cpu.dll
A C:\Windows\system32\wow64win.dll
A C:\Windows\system32\wowreg32.exe
A C:\Windows\system32\Wpc.dll
A C:\Windows\system32\wpcao.dll
A C:\Windows\system32\wpccpl.dll
A C:\Windows\system32\wpcmig.dll
A C:\Windows\system32\wpcsvc.dll
A C:\Windows\system32\wpcumi.dll
A C:\Windows\system32\wpdbusenum.dll
A C:\Windows\system32\wpdshext.dll
A C:\Windows\system32\WPDShextAutoplay.exe
A C:\Windows\system32\WPDShServiceObj.dll
A C:\Windows\system32\WPDSp.dll
A C:\Windows\system32\wpdwcn.dll
A C:\Windows\system32\wpd_ci.dll
A C:\Windows\system32\wpnpinst.exe
A C:\Windows\system32\write.exe
A C:\Windows\system32\ws2help.dll
A C:\Windows\system32\ws2_32.dll
A C:\Windows\system32\wscapi.dll
A C:\Windows\system32\wscinterop.dll
A C:\Windows\system32\wscisvif.dll
A C:\Windows\system32\wscmisetup.dll
A C:\Windows\system32\wscproxystub.dll
A C:\Windows\system32\wscript.exe
A C:\Windows\system32\wscsvc.dll
A C:\Windows\system32\wscui.cpl
A C:\Windows\system32\WSDApi.dll
A C:\Windows\system32\wsdchngr.dll
A C:\Windows\system32\WSDMon.dll
A C:\Windows\system32\WSDPrintProxy.DLL
A C:\Windows\system32\WSDScanProxy.dll
A C:\Windows\system32\wsecedit.dll
A C:\Windows\system32\wsepno.dll
A C:\Windows\system32\wshbth.dll
A C:\Windows\system32\wshcon.dll
A C:\Windows\system32\wshelper.dll
A C:\Windows\system32\wshext.dll
A C:\Windows\system32\wship6.dll
A C:\Windows\system32\wshirda.dll
A C:\Windows\system32\wshnetbs.dll
A C:\Windows\system32\wshom.ocx
A C:\Windows\system32\wshqos.dll
A C:\Windows\system32\wshrm.dll
A C:\Windows\system32\WSHTCPIP.DLL
A C:\Windows\system32\wsmanconfig_schema.xml
A C:\Windows\system32\WSManHTTPConfig.exe
A C:\Windows\system32\WSManMigrationPlugin.dll
A C:\Windows\system32\WsmAuto.dll
A C:\Windows\system32\wsmplpxy.dll
A C:\Windows\system32\wsmprovhost.exe
A C:\Windows\system32\WsmPty.xsl
A C:\Windows\system32\WsmRes.dll
A C:\Windows\system32\WsmSvc.dll
A C:\Windows\system32\WsmTxt.xsl
A C:\Windows\system32\WsmWmiPl.dll
A C:\Windows\system32\wsnmp32.dll
A C:\Windows\system32\wsock32.dll
A C:\Windows\system32\wsqmcons.exe
A C:\Windows\system32\WSTPager.ax
A C:\Windows\system32\wtsapi32.dll
A C:\Windows\system32\wuapi.dll
A C:\Windows\system32\wuapp.exe
A C:\Windows\system32\wuauclt.exe
A C:\Windows\system32\wuaueng.dll
A C:\Windows\system32\wucltux.dll
A C:\Windows\system32\WUDFCoinstaller.dll
A C:\Windows\system32\WUDFHost.exe
A C:\Windows\system32\WUDFPlatform.dll
A C:\Windows\system32\WUDFSvc.dll
A C:\Windows\system32\WUDFx.dll
A C:\Windows\system32\wudriver.dll
A C:\Windows\system32\wups.dll
A C:\Windows\system32\wups2.dll
A C:\Windows\system32\wusa.exe
A C:\Windows\system32\wuwebv.dll
A C:\Windows\system32\wvc.dll
A C:\Windows\system32\Wwanadvui.dll
A C:\Windows\system32\WWanAPI.dll
A C:\Windows\system32\wwancfg.dll
A C:\Windows\system32\wwanconn.dll
A C:\Windows\system32\WWanHC.dll
A C:\Windows\system32\wwaninst.dll
A C:\Windows\system32\wwanmm.dll
A C:\Windows\system32\Wwanpref.dll
A C:\Windows\system32\wwanprotdim.dll
A C:\Windows\system32\wwansvc.dll
A C:\Windows\system32\wwapi.dll
A C:\Windows\system32\wzcdlg.dll
A C:\Windows\system32\xcopy.exe
A C:\Windows\system32\XInput9_1_0.dll
A C:\Windows\system32\xmlfilter.dll
A C:\Windows\system32\xmllite.dll
A C:\Windows\system32\xmlprovi.dll
A C:\Windows\system32\xolehlp.dll
A C:\Windows\system32\XpsFilt.dll
A C:\Windows\system32\XpsGdiConverter.dll
A C:\Windows\system32\XpsPrint.dll
A C:\Windows\system32\XpsRasterService.dll
A C:\Windows\system32\xpsrchvw.exe
A C:\Windows\system32\xpsrchvw.xml
A C:\Windows\system32\xpsservices.dll
A C:\Windows\system32\XPSSHHDR.dll
A C:\Windows\system32\xpssvcs.dll
A C:\Windows\system32\xwizard.dtd
A C:\Windows\system32\xwizard.exe
A C:\Windows\system32\xwizards.dll
A C:\Windows\system32\xwreg.dll
A C:\Windows\system32\xwtpdui.dll
A C:\Windows\system32\xwtpw32.dll
A C:\Windows\system32\zgmprxy.dll
A C:\Windows\system32\zipfldr.dll
A C:\Windows\system32\{A6D608F0-0BDE-491A-97AE-5C4B05D86E01}.bat
A C:\Windows\system32\{F33C3B9B-72AF-418A-B3FD-560646F7CDA2}.bat

C:\Windows\system32>attrib -r x:\*.*
Path not found - X:\

C:\Windows\system32>