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: Read-only Attribute for a Windows folder

26 Aug 2016   #11
Bontrager

Windows 7 Enterprise 64 bit
 
 

Yes, the path is correct.

c:\>cd "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files"

C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files>

The double quotes are required because of the spaces in the folder name.


My System SpecsSystem Spec
.
26 Aug 2016   #12
Brink

64-bit Windows 10 Pro
 
 

As a test, make sure that the command prompt is dragged wide enough to fit the command in one line before pasting it in case the command is carrying over to the next line and not being properly executed.

Please go ahead and post a screenshot showing the command prompt after using the attrib command to see if anything may stand out.
My System SpecsSystem Spec
28 Aug 2016   #13
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

Thanks Brink.

Quote:
As a test, make sure that the command prompt is dragged wide enough to fit the command in one line before pasting it in case the command is carrying over to the next line and not being properly executed.
I didn't know that might cause a problem. I will store that in one of my brain cells.

Back to watching.
My System SpecsSystem Spec
.

28 Aug 2016   #14
Alejandro85

Windows 7 Ultimate x64
 
 

The read only attribute is in almost every case totally irrelevant and always ignored.
Look again at the error message, I'm pretty sure it clearly refers about permissions and not to "read only". The usual cause of this error is that the web server cannot write to that temporary location, so you must give its user account write permissions there. This often happens when deploying in a real web server, as opposed in development with the Visual Studio toy dev server.
My System SpecsSystem Spec
29 Aug 2016   #15
Bontrager

Windows 7 Enterprise 64 bit
 
 

In response to Brink's suggestion, the command was run again in an expanded command prompt to prevent wrapping of the command. The result was the same though.

C:\>attrib -r +s "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NETFiles"
File not found - C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NETFiles

In response to Alejandro85's comment about the permissions, the scenario I've encountered seems to be identical to that described in the MS Tech Note (https://support.microsoft.com/en-us/kb/326549). Their recommendation is to run the command shown above as an Administrator.

I'll have to find a work-around for the time being and hopefully can address this at a later date. If I come upon a solution, I'll check back and will post the solution on this forum.

Brink - thanks for all of your help on this.
My System SpecsSystem Spec
29 Aug 2016   #16
Brink

64-bit Windows 10 Pro
 
 

If you like, you might see if taking ownership of the folder may help.

Take Ownership Shortcut
My System SpecsSystem Spec
Reply

 Read-only Attribute for a Windows folder




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Read-only Attribute Keeps Reappearing
Hi Folks, This is driving me mad... Tried to edit some songs in iTunes 12 and couldn't. Found that the 'My Music' folder (and also the iTunes and iTunes Media folders) have a 'Read Only' attribute which, even when cleared, re-sets itself immediately. Have even gone into the folder...
Music, Pictures & Video
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
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
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...
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 07:27.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App