Remove read only attribute of folder.

Page 1 of 3 123 LastLast

  1. Posts : 15
    Windows 7 Home Prremium 64bit
       #1

    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 Computer


  2. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #2

    What is the name of the service? What error message when you (try to) start it?
      My Computer


  3. Posts : 5,642
    Windows 10 Pro (x64)
       #3

    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 Computer


  4. Posts : 15
    Windows 7 Home Prremium 64bit
    Thread Starter
       #4

    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 Thumbnails Attached Thumbnails Remove read only attribute of folder.-capture1.png   Remove read only attribute of folder.-capture2.png  
      My Computer


  5. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #5

    .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 Computer


  6. Posts : 15
    Windows 7 Home Prremium 64bit
    Thread Starter
       #6

    '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 Computer


  7. Posts : 2,497
    Windows 7 Pro 64 bit
       #7

    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 Computer


  8. Posts : 15
    Windows 7 Home Prremium 64bit
    Thread Starter
       #8

    LMiller7 said:
    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 Computer


  9. Posts : 2,497
    Windows 7 Pro 64 bit
       #9

    Are you logging in with the "Administrator" account or one with administrator privileges? They are not the same.
      My Computer


  10. Posts : 15
    Windows 7 Home Prremium 64bit
    Thread Starter
       #10

    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 Computer


 
Page 1 of 3 123 LastLast

  Related Discussions
Our Sites
Site Links
About 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 15:22.
Find Us