Skip to content Skip to sidebar Skip to footer

How to Make Folder Not Read Only


How to Prepare or Unset Read-simply Attribute of Files and Folders in Windows x

In Windows, yous tin ready or unset the read-only attribute for files and folders to requite files write protection.

Folders cannot actual be set every bit read-but though. Only files in the folder volition be set as read-only instead.

When a file (ex: text file) is set as read-merely, the file tin can no longer be altered since it no longer allows write permission. You will still exist able to salvage your changes to the file as a new file though.

This tutorial volition prove you lot different ways on how to set or unset the read-but attribute of files and folders in Windows x.

Set or Unset Read-only Attribute of Files and Folders in Windows 10-neutral.png Read-only box = Neutral setting of a binder that is ever displayed past default.
Set or Unset Read-only Attribute of Files and Folders in Windows 10-checked.png Read-only box = File is currently read-only. Merely displays temporarily for a folder while setting to be practical to files in folder.
Set or Unset Read-only Attribute of Files and Folders in Windows 10-empty.png Read-merely box = File is currently non read-merely. Only displays temporarily for a folder while setting to be applied to files in binder.

Contents


  • Option I: To Set Read-merely Attribute of Files and Folders from Properties
  • Selection Two: To Unset Read-only Attribute of Files and Folders from Properties
  • Option Three: To Prepare Read-only Aspect of File using Command Prompt
  • Option Four: To Unset Read-simply Attribute of File using Command Prompt
  • Option 5: To Set Read-merely Attribute of All Files in Folder and Subfolders using Command Prompt
  • Selection Six: To Unset Read-only Aspect of All Files in Folder and Subfolders using Control Prompt
  • Choice Seven: To Set Read-only Attribute of File using PowerShell
  • Choice Eight: To Unset Read-but Aspect of File using PowerShell
  • Pick Nine: To Gear up Read-only Attribute of All Files in Folder and Subfolders using PowerShell
  • Option Ten: To Unset Read-only Attribute of All Files in Binder and Subfolders using PowerShell

EXAMPLE: File is fix to read-only message
Set or Unset Read-only Attribute of Files and Folders in Windows 10-read-only_message.png

Option ONE

To Set Read-only Attribute of Files and Folders from Properties

1 Open File Explorer (Win+E).

2 Select one or more files and/or folders y'all want to set equally read-simply, right click or press and hold on the selected items, and click/tap on Properties. (see screenshot below)

Set or Unset Read-only Attribute of Files and Folders in Windows 10-read-only_files_folders_properties.jpg

3 In the General tab, cheque the Read-only box in the lesser Attributes section, and click/tap on OK. (come across screenshots below)

Set or Unset Read-only Attribute of Files and Folders in Windows 10-set_read-only_files_folders_properties.jpg

four If you selected a folder, select (dot) to either Utilize changes to this folder simply or Utilize changes to this folder, subfolders and files for what you want, and click/tap on OK. (see screenshots below)

Employ changes to this folder only will only non be grayed out if you selected other files or folders in add-on with this folder.

If you select (dot) Apply changes to this folder only, any selected folders and their contents will be ignored.

Set or Unset Read-only Attribute of Files and Folders in Windows 10-confrim_set_read-only_files_folders.jpg

Selection 2

To Unset Read-only Attribute of Files and Folders from Properties

1 Open File Explorer (Win+E).

ii Select ane or more files and/or folders you want to unset every bit read-only, right click or press and hold on the selected items, and click/tap on Properties. (meet screenshot below)

Set or Unset Read-only Attribute of Files and Folders in Windows 10-read-only_files_folders_properties.jpg

iii In the General tab, uncheck the Read-just box in the bottom Attributes section, and click/tap on OK. (encounter screenshots below)

Set or Unset Read-only Attribute of Files and Folders in Windows 10-unset_read-only_files_folders_properties.jpg

4 If you selected a binder, select (dot) to either Employ changes to this binder but or Apply changes to this folder, subfolders and files for what you desire, and click/tap on OK. (see screenshots below)

Use changes to this folder but will simply non be grayed out if you selected other files or folders in add-on with this folder.

If you select (dot) Utilise changes to this folder only, any selected folders and their contents volition be ignored.

Set or Unset Read-only Attribute of Files and Folders in Windows 10-confrim_unset_read-only_files_folders.jpg

Choice 3

To Set Read-but Attribute of File using Command Prompt

1 Open a command prompt or elevated command prompt based based on the admission permissions you take for the file.

ii Type the control beneath into the control prompt, and printing Enter. (see screenshot below)

attrib +r "total path of file with extension"

Substitute total path of file with extension in the command higher up with the actual full path of the file you want to set every bit read-just.

For example: attrib +r "C:\Users\Brink\Desktop\Folder\File1.txt"

Set or Unset Read-only Attribute of Files and Folders in Windows 10-set_read-only_file_command.png

OPTION Four

To Unset Read-only Attribute of File using Command Prompt

one Open a control prompt or elevated command prompt based based on the access permissions you have for the file.

2 Type the control below into the command prompt, and printing Enter. (see screenshot below)

attrib -r "total path of file with extension"

Substitute total path of file with extension in the command above with the actual total path of the file you want to unset every bit read-only.

For instance: attrib -r "C:\Users\Brink\Desktop\Folder\File1.txt"

Set or Unset Read-only Attribute of Files and Folders in Windows 10-unset_read-only_file_command.png

Selection FIVE

To Prepare Read-merely Attribute of All Files in Binder and Subfolders using Command Prompt

1 Open a command prompt or elevated command prompt based based on the access permissions y'all have for the folder.

2 Type the command below into the command prompt, and press Enter. (see screenshot beneath)

attrib +r "total path of folder\*" /south /d

Substitute full path of folder in the control to a higher place with the actual full path of the folder you lot want to set read-only for all files in this binder and its subfolders.

For instance: attrib +r "C:\Users\Brink\Desktop\Folder\*" /southward /d

Set or Unset Read-only Attribute of Files and Folders in Windows 10-set_read-only_subfolders_and_files_command.png

OPTION SIX

To Unset Read-only Aspect of All Files in Folder and Subfolders using Control Prompt

1 Open a control prompt or elevated command prompt based based on the admission permissions you have for the folder.

2 Type the command beneath into the command prompt, and printing Enter. (see screenshot beneath)

attrib -r "full path of folder\*" /s /d

Substitute full path of folder in the control higher up with the bodily full path of the folder yous want to unset read-only for all files in this folder and its subfolders.

For case: attrib -r "C:\Users\Brink\Desktop\Binder\*" /s /d

Set or Unset Read-only Attribute of Files and Folders in Windows 10-unset_read-only_subfolders_and_files_command.png

OPTION SEVEN

To Set Read-only Attribute of File using PowerShell

To see more than usage options for the Ready-ItemProperty command, see: Set-ItemProperty - Microsoft Docs

ane Open PowerShell or elevated PowerShell based on the access permissions you accept for the file.

2 Type the control below into PowerShell, and press Enter. (meet screenshot below)

Set-ItemProperty -Path "full path of file with extension" -Name IsReadOnly -Value $True

Substitute full path of file with extension in the control to a higher place with the actual total path of the file you want to set as read-simply.

For example: Set-ItemProperty -Path "C:\Users\Brink\Desktop\Folder\File1.txt" -Proper name IsReadOnly -Value $True

Set or Unset Read-only Attribute of Files and Folders in Windows 10-set_read-only_file_powershell.png

OPTION Eight

To Unset Read-only Aspect of File using PowerShell

To come across more usage options for the Set-ItemProperty command, see: Set-ItemProperty - Microsoft Docs

one Open PowerShell or elevated PowerShell based on the admission permissions you have for the file.

2 Type the command below into PowerShell, and press Enter. (see screenshot below)

Set-ItemProperty -Path "full path of file with extension" -Name IsReadOnly -Value $False

Substitute total path of file with extension in the command to a higher place with the actual full path of the file you desire to unset every bit read-merely.

For example: Set-ItemProperty -Path "C:\Users\Brink\Desktop\Folder\File1.txt" -Name IsReadOnly -Value $False

Set or Unset Read-only Attribute of Files and Folders in Windows 10-unset_read-only_file_powershell.png

OPTION Ix

To Ready Read-only Aspect of All Files in Binder and Subfolders using PowerShell

To see more usage options for the Get-ChildItem command, see: Get-ChildItem - Microsoft Docs

1 Open up PowerShell or elevated PowerShell based on the access permissions yous have for the folder.

2 Type the control below into PowerShell, and press Enter. (see screenshot below)

Get-ChildItem -Path "full path of file with extension" -Recurse -File | % { $_.IsReadOnly=$True }

Substitute full path of file with extension in the control higher up with the actual full path of the folder yous desire to set up read-just for all files in this folder and its subfolders.

For case: Get-ChildItem -Path "C:\Users\Brink\Desktop\Folder\File1.txt" -Recurse -File | % { $_.IsReadOnly=$True }

Set or Unset Read-only Attribute of Files and Folders in Windows 10-set_read-only_subfolders_and_files_powershell.png

Choice X

To Unset Read-merely Attribute of All Files in Binder and Subfolders using PowerShell

To see more than usage options for the Get-ChildItem command, see: Get-ChildItem - Microsoft Docs

1 Open PowerShell or elevated PowerShell based on the access permissions you have for the binder.

2 Type the command beneath into PowerShell, and press Enter. (run into screenshot below)

Get-ChildItem -Path "full path of file with extension" -Recurse -File | % { $_.IsReadOnly=$False }

Substitute full path of file with extension in the command above with the bodily total path of the folder you desire to unset read-only for all files in this folder and its subfolders.

For instance: Go-ChildItem -Path "C:\Users\Brink\Desktop\Binder\File1.txt" -Recurse -File | % { $_.IsReadOnly=$Fake }

Set or Unset Read-only Attribute of Files and Folders in Windows 10-unset_read-only_subfolders_and_files_powershell.png

That's it,
Shawn

  • Windows xi Tutorials
  • mcleodfiniz1937.blogspot.com

    Source: https://www.tenforums.com/tutorials/85640-set-unset-read-only-attribute-files-folders-windows-10-a.html

    Enregistrer un commentaire for "How to Make Folder Not Read Only"