Welcome to our series of tutorials on the Microsoft Windows 10 that help you understand the features of the upcoming Windows 10.
This tutorial will show you how to use Microsoft Diskpart feature to enable or disable write protection on a hard drive for all users in Windows 10.
To fix various Windows 10/11 problems, we recommend Outbyte PC Repair:
This software will repair common computer errors, protect you from file loss, malware damage, hardware failure, and optimise your computer for peak performance. In three simple steps, you can resolve PC issues and remove virus damage:
- Download Outbyte PC Repair Software
- Click Start Scan to detect Windows 10/11 issues that may be causing PC issues.
- Click Repair All to fix issues with your computer's security and performance.
This month, Outbyte has been downloaded by 23,167 readers.
This method will also work for older versions of Windows like Vista, Windows 7 and Windows 8.
Write protection (read-only) on a disk prevents anyone from intentionally or accidentally changing its contents. This effectively means you cannot use the drive in any sort of meaningful way.
Open up the elevated command prompt (command prompt with administrator privileges)
- Type diskpart and press Enter.
- Type list disk and press Enter.
- Note the number next to the disc you want to enable or disable write protection for. It would read like this disk 1
- Now type select disk # where # is the number you noted in step above
- To enable write protection for the disk type: attributes disk set readonly
- To disable write protection for the disk type: attributes disk clear readonly
NOTE: You can’t write protect the Windows drive.[thrive_2step id=’39736′][/thrive_2step]