Accidently changed security permissions for a file.

Page 1 of 2 12 LastLast

  1. Posts : 3
    Windows 7 Home Premium
       #1

    Accidently changed security permissions for a file.


    When editing permissions in the "Security" tab inside properties I messed up and edited my own to not be able to change the file anymore. Can someone tell me how to fix this.(this is a re-post because I posted in the wrong section before.)
    Attached Thumbnails Attached Thumbnails Accidently changed security permissions for a file.-win-2.png   Accidently changed security permissions for a file.-win-1.png  
      My Computer


  2. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
       #2

    Hi,

    Can you login as adminsitrator, and change the permissions then?

    Regards,
    Golden
      My Computer


  3. Posts : 4,049
    W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
       #3

    Inheritance


    Can you go to a higher level and cascade the permissions down (apply to child objects)?
      My Computer


  4. Posts : 3
    Windows 7 Home Premium
    Thread Starter
       #4

    The account I'm using is already administrator. I tryed "net user administrator /active:yes" in command prompt. Even that administrator account but is unable to change the security setting on the file. If I could go to a higher level of access I would but administrator is the highest state unless there is a higher one I am unaware of.
      My Computer


  5. Posts : 4,049
    W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
       #5

    My Bad


    darksoul5150 said:
    The account I'm using is already administrator. I tryed "net user administrator /active:yes" in command prompt. Even that administrator account but is unable to change the security setting on the file. If I could go to a higher level of access I would but administrator is the highest state unless there is a higher one I am unaware of.
    I explained that poorly.
    I meant higher directory level.

    Oh-oh.
    The etc directory is owned by "Trusted Installer", as a result I don't think that you'll be able to modify the permissions (i.e. add yourself back in again).

    Do not remove "Trusted Installer".
    If you remove "Trusted Installer", you won't be able to add it back in and that will cause trouble.
    You might be able to restore your rights using icacls (Command Prompt) but I've never had any success using it.

    I deleted "Trusted Installer" (when I was messing around with the W7 betas) and I was forced to restore Windows from my backup image.

    It looks like you'll have to hope one of the experts can suggest a solution.
    Sorry.
    Last edited by lehnerus2000; 09 Sep 2011 at 03:49. Reason: Additional
      My Computer


  6. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
       #6

    darksoul5150 said:
    The account I'm using is already administrator.
    Hi,

    Can we just check something quickly? Can you run the following commands in a cmd window, and then take a screencapture of the result and post it here?

    net user

    and also

    net localgroup

    Regards,
    Golden
      My Computer


  7. Posts : 3
    Windows 7 Home Premium
    Thread Starter
       #7

    Here you go Golden, and if I have messed something up terribly bad, restoring my PC won't be so bad just need to back up some of my important files.
    Attached Thumbnails Attached Thumbnails Accidently changed security permissions for a file.-cmd-prompt.png  
      My Computer


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

    Should not have been modifying permissions to begin with...Without knowing exactly what it is you changed, would be hard to give you step by step instructions. Did you set any DENY permissions? Or just removed your accounts?
      My Computer


  9. Posts : 4,049
    W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
       #9

    IMO, that's a bit harsh


    logicearth said:
    Should not have been modifying permissions to begin with...Without knowing exactly what it is you changed, would be hard to give you step by step instructions.
    IMO, that's a bit harsh.
    The OP may have just "twitched" at the wrong moment and clicked on the wrong button.
    It's happened to me.

    It is a bit like Linux forum denizens saying RTFM (which is generally useless anyway).
    Most modern software help assumes that you already know, how to do, what you are asking for help about!
    If I don't know how to do something, I invariably I have to do an Internet search (especially for Linux help).

    The only way to find out what things do, is to try them out.

    Knowing the theory, is only half the battle.
    When I worked as a technician, I used to be sent projects by engineers (that I had to construct) and a lot of them were never going to work.
    Engineers should be well versed in theory (they got paid a lot more than I did, for that very reason).

    IMO, the real lesson is:
    When you are not sure of the outcome,
    ALWAYS make a backup image,
    BEFORE messing around with things.
    Last edited by lehnerus2000; 09 Sep 2011 at 23:16. Reason: Layout
      My Computer


  10. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
       #10

    Mmm. I'm at a loss. Does anyone else have a suggestion...........

    One other thing you might try that I have just thought of:

    In an elevated command prompt, type this:

    sfc /scannow

    and hit enter. Copy and paste the window contents here when it has finished, and then reboot the PC. Is there still a problem? If so, re-run the sfc command another two times, rebooting after each run.

    If that doesn't work, then perhaps a restore might be in order.

    Regards,
    Golden
    Last edited by Golden; 09 Sep 2011 at 23:31. Reason: add sfc suggestion
      My Computer


 
Page 1 of 2 12 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 19:02.
Find Us