-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hyde]: pipeittodevnull updated factoids/writelock.md
close #315
- Loading branch information
Hyde
authored and
Hyde
committed
Aug 13, 2024
1 parent
b2845c1
commit 32f8e06
Showing
1 changed file
with
31 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,31 @@ | ||
--- | ||
layout: default | ||
title: Removing write protection on drives | ||
nav_exclude: false | ||
has_children: false | ||
parent: Factoids | ||
search_exclude: false | ||
last_modified_date: 2024-06-28 | ||
--- | ||
|
||
# Removing write protection on drives | ||
|
||
Open CMD with admin privileges and type in the following commands line by line | ||
1. `diskpart` | ||
- Command to open diskpart | ||
|
||
2. `list disk` | ||
- This will show the disks in the system with a numeric number attached to each drive, you can identify the drive with the capacity | ||
|
||
3. `select disk x` | ||
- Where x is the number you get for the drive from the previous command | ||
|
||
4. `attrib disk clear readonly` | ||
- Clears the read-only attribute | ||
|
||
If successful, Command Prompt should output `Disk attibutes cleared successfully`. You can now exit Command Prompt. | ||
|
||
{: .warning .warning-icon } | ||
> Drives are often write-locked because they are failing or dead. In those cases, it's best to back up the data on said drive | ||
--- | ||
layout: default | ||
title: Removing write protection on drives | ||
nav_exclude: false | ||
has_children: false | ||
parent: Factoids | ||
search_exclude: false | ||
last_modified_date: 2024-06-28 | ||
--- | ||
|
||
# Removing write protection on drives | ||
|
||
{: .warning .warning-icon } | ||
> Drives are often write-locked because they are failing or dead. In those cases, it's best to back up the data on said drive. | ||
Open CMD with admin privileges and type in the following commands line by line | ||
1. `diskpart` | ||
- Command to open diskpart | ||
|
||
2. `list disk` | ||
- This will show the disks in the system with a numeric number attached to each drive, you can identify the drive with the capacity | ||
|
||
3. `select disk x` | ||
- Where x is the number you get for the drive from the previous command | ||
|
||
4. `attrib disk clear readonly` | ||
- Clears the read-only attribute | ||
|
||
{: .success .success-icon } | ||
> Command Prompt should output `Disk attibutes cleared successfully`. You can now exit Command Prompt. | ||