Skip to content

Commit

Permalink
[Hyde]: pipeittodevnull updated factoids/writelock.md
Browse files Browse the repository at this point in the history
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.
60 changes: 31 additions & 29 deletions docs/factoids/writelock.md
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.

0 comments on commit 32f8e06

Please sign in to comment.