how to make files not read only

Break File Read-Only Status: A Simple Guide

By Andrew Jackson
AD

Ever found yourself in a frustrating situation where you need to modify a file, but it's set to read-only? It's a common issue, but don't worry, you're not locked out forever. Today, we're going to explore various methods on how to make files not read-only, ensuring you're back in the driver's seat in no time.

Before we dive into the solutions, let's understand why files become read-only in the first place. This can happen due to various reasons such as file permissions, system settings, or even antivirus software. Now that we've got the basics covered, let's roll up our sleeves and tackle this issue.

Adjusting File Permissions

One of the most common reasons for read-only files is incorrect file permissions. Let's rectify this.

AD
How to Remove Read-Only From All Files in a Folder: PC Tips
How to Remove Read-Only From All Files in a Folder: PC Tips
How to Continue Reading From Where You Left Off in Your PDF Files
How to Continue Reading From Where You Left Off in Your PDF Files
the shortcut way to create a new folder
the shortcut way to create a new folder

In Windows, right-click the file, select 'Properties', then the 'Security' tab. Click 'Edit', select your user account, and then choose 'Full control'. Click 'Apply' and 'OK'.

Using Command Prompt

If you're comfortable with commands, you can use the Command Prompt to change file permissions.

a computer screen with instructions on how to use the keyboard and mouse in windows xp
a computer screen with instructions on how to use the keyboard and mouse in windows xp
How to Edit PDF Files
How to Edit PDF Files
MAKE A booooookkkk!!
MAKE A booooookkkk!!

Right-click the start button and select 'Command Prompt'. Type `takeown /F [file path]` and press Enter. Then, type `icacls [file path] /grant administrators:F` and press Enter. This will give full control to the administrators, allowing you to modify the file.

Using PowerShell

PowerShell offers an easy solution as well. Open PowerShell as an administrator, type `Set-Acl -Path [file path] -AclObject (Get-Acl -Path C:\Windows\System32\drivers\etc\hosts) -ErrorAction SilentlyContinue` and press Enter.

AD

This command sets the file permissions to the same as the hosts file, ensuring it's no longer read-only.

Top 25 Eye-Catching Email Signatures Gmail Users Will Love
Top 25 Eye-Catching Email Signatures Gmail Users Will Love
7 Best Tools to Edit a PDF File Anywhere
7 Best Tools to Edit a PDF File Anywhere
a poster with the words did you know? and other things to do on it
a poster with the words did you know? and other things to do on it
40+ Common File Extensions Explained | Complete Computer File Types Guide
40+ Common File Extensions Explained | Complete Computer File Types Guide
how to make PDF file editable
how to make PDF file editable
6 PDF tricks that can save you time. 📄⚡
6 PDF tricks that can save you time. 📄⚡

Modifying System Settings

Sometimes, system settings can cause files to be read-only. Let's explore how to change these.

Open regedit by typing it in the Windows search bar and press Enter. Navigate to `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer`. In the right pane, create a new DWORD value named 'DisallowSaveAs', set it to 0, and close regedit.

AD

Bypassing Read-Only Files with Attrib.exe

Windows comes with a built-in command-line utility, Attrib.exe, that can help bypass read-only attributes.

Laptop shortcuts
Laptop shortcuts
an ad for microsoft's data recovery tool, with the text how to recover an unsaved draft on microsoft word
an ad for microsoft's data recovery tool, with the text how to recover an unsaved draft on microsoft word
How To Clean Up Computer Files (Digital Declutter 101)
How To Clean Up Computer Files (Digital Declutter 101)

Open Command Prompt, type `attrib -r -a -s -h [file path]` and press Enter. This will remove the read-only attribute (-r), archive (-a), system (-s), and hidden (-h) attributes from the specified file.

Using Third-Party Tools

If all else fails, there are several third-party tools available that can help you modify read-only files. Softland's File browsing tools and Bulk File Changer are a few recommendations.

AD

Remember, always download tools from trusted sources and run them with caution to ensure your computer's security.

Now that you've mastered making files not read-only, you're ready to tackle any locked file situation that comes your way. Happy file modifying!

AD