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: Remove read only attribute of folder.

02 Oct 2013   #1
zhshqzyc

Windows 7 Home Prremium 64bit
 
 
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 at the attribute again, its attribute goes back to readonly again. Why?

Windows 7 64-bit professional edition.


My System SpecsSystem Spec
.
02 Oct 2013   #2
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

What is the name of the service? What error message when you (try to) start it?
My System SpecsSystem Spec
02 Oct 2013   #3
logicearth

Windows 10 Pro (x64)
 
 

Folders have no readonly attribute, the folder properties will always show the readonly check box the same. If you actually read it it clearly states: "Read-only (Only applies to files in folder)". Your problem has to so with something else.
My System SpecsSystem Spec
.

02 Oct 2013   #4
zhshqzyc

Windows 7 Home Prremium 64bit
 
 

The error is:
Windows cannot the 'xxxxx' service on Local Computer. Error 5 : Access is denied.

I am in the administrator group and the full access the bin\debug folder.
Please see the images attached.


Attached Images
Remove read only attribute of folder.-capture1.png Remove read only attribute of folder.-capture2.png 
My System SpecsSystem Spec
02 Oct 2013   #5
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

.net - Windows Service : error 5 :Access Denied - Stack Overflow tells you all. Is it a custom made service?

In screenshot I see "Ivr" but in link you say "xxxxx"
My System SpecsSystem Spec
02 Oct 2013   #6
zhshqzyc

Windows 7 Home Prremium 64bit
 
 

'xxxxx' actually is 'Ivr'. It is for demo purpose. Sorry for confusion. It is the custom service by C# code.
There are three answers in the link, which one is correct?
My System SpecsSystem Spec
02 Oct 2013   #7
LMiller7

Windows 7 Pro 64 bit
 
 

If UAC is enabled you will need to run the service manager as administrator. Otherwise you do not have rights to start or stop services, no matter what permissions you might have to the executable.
My System SpecsSystem Spec
02 Oct 2013   #8
zhshqzyc

Windows 7 Home Prremium 64bit
 
 

Quote   Quote: Originally Posted by LMiller7 View Post
If UAC is enabled you will need to run the service manager as administrator. Otherwise you do not have rights to start or stop services, no matter what permissions you might have to the executable.
But I login the computer as the administrator. I am confused.
My System SpecsSystem Spec
02 Oct 2013   #9
LMiller7

Windows 7 Pro 64 bit
 
 

Are you logging in with the "Administrator" account or one with administrator privileges? They are not the same.
My System SpecsSystem Spec
02 Oct 2013   #10
zhshqzyc

Windows 7 Home Prremium 64bit
 
 

So I have to find the location of services.msc then right click to run it as administrator?
Normally we just run it from cmd.
My System SpecsSystem Spec
Reply

 Remove read only attribute of folder.




Thread Tools Search this Thread
Search this Thread:

Advanced Search




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
Unable to remove Read only attribute
I am a photographer. I use Adobe Lightroom 4 to manage my photos. I had to reload my photos the other day. Today I was making changes in the data in my photos, when I finshed and saved the data I recevied a message that the photo was Read Only. I have tried several remidies posted here and other...
Music, Pictures & Video
"Unable to remove read-only attribute" when install game from CD ROM
Hi all, i running windows 7 64 bit. i am trying to install a Game called "Real Flight G4" From 4 CD Roms, But when i Click "Setup.exe" on th first cd, it comes up with this error "Unable to remove read-only attribute from copied file:...
Gaming
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 18:58.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App