Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How do I unset the Program folder read-only attribute?

28 May 2009   #1
kebabbaro

Vista Home Premium 32bit
 
 
How do I unset the Program folder read-only attribute?

Hello everybody,

I have a problem with the C:\Programs Files and C:\Program Files (x86) folders under W7 RC 64bit:
these folder have the read-only attribute set on and I can't unset it.

Whenever I tried to unset this attribuite even if W7 seems to comply the folders actually remain in the read-only mode.

Is there a way to unset this attribute?
I need to do that at least for a subfolder, since this contains a program which modifies files every time you open it.

KEB


My System SpecsSystem Spec
.
28 May 2009   #2
DarkXeno

Windows 7 Ultimate x64 SP1
 
 

I think this is s security setting and cant be changed.
I would give the program that keeps changing things Admin rights when it runs inside of the compatibility tab and see if that works before removing the read-only attribute in the Program folder.
My System SpecsSystem Spec
28 May 2009   #3
chev65

Windows 7 Ult, Windows 8.1 Pro,
 
 

Here is a thread which I believe relates to your problem.
read-only files

The last post where he relocates files back to his main directory then reformats the secondary partition worked for him.
My System SpecsSystem Spec
.

28 May 2009   #4
kebabbaro

Vista Home Premium 32bit
 
 
Fixed :-)

Quote   Quote: Originally Posted by DarkXeno View Post
I think this is s security setting and cant be changed.
I would give the program that keeps changing things Admin rights when it runs inside of the compatibility tab and see if that works before removing the read-only attribute in the Program folder.
Thank you very much DarkXeno,
you got it right, in the compatibility tab I set the program to run always with admin privileges and the problem is now solved: the program can modify its files even if the read-only attribute is still intact.

Best Regards
KEB
My System SpecsSystem Spec
28 May 2009   #5
DarkXeno

Windows 7 Ultimate x64 SP1
 
 

That's good to hear that worked for you.
My System SpecsSystem Spec
03 Jan 2010   #6
DaraSmith

windows 7 64 bit
 
 
wheres the compatibility tab?

[QUOTE=kebabbaro;109175]
Quote   Quote: Originally Posted by DarkXeno View Post
I think this is s security setting and cant be changed.
I would give the program that keeps changing things Admin rights when it runs inside of the compatibility tab and see if that works before removing the read-only attribute in the Program folder.
Thank you very much DarkXeno,
you got it right, in the compatibility tab I set the program to run always with admin privileges and the problem is now solved: the program can modify its files even if the read-only attribute is still intact.

Hi
I,m a new to windows seven.
Could some body give me the step by step to what kebabbaro did.
Ie wheres the compatibility tab.
Thanks
Dara
My System SpecsSystem Spec
03 Jan 2010   #7
davehc
Microsoft MVP

Vista and now 7 in 32 and 64 bit.
 
 

Right click the program you wish to run. ( In program files - not the start menu shortcut) Select properties and you will see the compatibility tab. As well as selecting the compatibility, tick, also, the square at the bottom of the wind to run as Administrator.

Compatibility Mode


Name:  compat.png
Views: 740
Size:  25.4 KB


My System SpecsSystem Spec
03 Jan 2010   #8
DaraSmith

windows 7 64 bit
 
 

Thanks Dave
Worked like a charm.
Dara
My System SpecsSystem Spec
05 May 2010   #9
mnky42

Windows 7
 
 
Still not working

Quote   Quote: Originally Posted by davehc View Post
Right click the program you wish to run. ( In program files - not the start menu shortcut) Select properties and you will see the compatibility tab. As well as selecting the compatibility, tick, also, the square at the bottom of the wind to run as Administrator.


Attachment 45385


I've tried this to remedy the same problem, but the Run As Administrator option is grayed out. Any suggestions?

Thanks
My System SpecsSystem Spec
Reply

 How do I unset the Program folder read-only attribute?




Thread Tools




Similar help and support threads
Thread Forum
File and Folder Read only attribute wont disable
When i create a new folder it automatically sets the read only attribute, if i try and turn it off it just turns back on again. I have tried using command prompt to disable it as well as playing with the security settings and account permissions. does any one have any ideas?
System Security
Remove read only attribute of folder.
I have an executable file, which is a windows service. Now I cannot start it from service control management panel. I am the administrator. I guess the readonly attribute effects it. I found that the folder is readonly. I unclick it and apply it and click OK button. However next time when I look...
General Discussion
change Read only attribute
Recently I formatted my hard drive and all my data was again copied from different Hard drive.I use win 7 ultimate .This has resulted in the READ only Tried using properties and attrib command, both failed. How do I change the files to read/write? I have more than 300GB data.Whenever I try to...
General Discussion
File and Folder - Add "Set and Unset as Read-only" to Context Menu
How to Add "Set and Unset as Read-only" to File and Folder Context Menu in Windows 7 and 8 This will add Read-only File Attributes and Read-only Folder Attributes to the context menu of files and folders for all users to be able to set or unset the read-only attribute of one or more selected...
Tutorials
Can't remove 'read-only' attribute from a folder
Things I have tried: 1) Enabled hidden administrator logon and logged onto it. 2) Edited user permission for entire drive and set to 'full control' 3) verified the folder is not locked/in-use even deleted it and then restored Still has the stupid 'read only' box checked when you hit...
General Discussion
Read-only File and Folder Attribute
How to Set and Unset Read-only Attribute of a File or Folder in Windows This tutorial will show you how to set or unset files or all files in folders to be read-only or not in Vista, Windows 7, Windows 8, and Windows 10. In Windows, folders cannot be set as read-only. Only the files in...
Tutorials


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:20.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App