Windows 7 change folder permissions when options are greyed out

  • danny

    Possible Duplicate:
    Basics about file/folder permissions on Win 7

    2I have a laptop that's about a year old, and right after I got it I moved the built-in HDD to be its secondary drive and added an SSD as the primary drive with windows 7 & ubuntu. I kept the OED windows installation on the hdd in case something went wrong, but now the drive is almost full and those are taking up ~ 40GB and I want to delete them.

    When I try to delete them, it just says "You need Administrator access", I click yes, and it fails with another popup whose only option is "try again" (I do have full admin access on this machine). So I right click on one of the folders e.g. Program Files, choose properties -> security -> edit but all the allow & deny checkboxes are greyed out for all of the users.

    Of course all the help menu links are useless, the similar questions on microsoft forums are dead ends that just tell you to use system restore, etc. Is there any way to force delete these folders? It seems like kind of a ridiculous question to have to ask, but then again windows is kind of a ridiculous system and I wouldn't be surprised if there's no way to do this short of reformatting the drive. But if someone does know of a way, I would be very grateful.

  • Answers
  • Moab

    Try the command line of taking ownership and setting permissions.

    a. Go to > Start > All Programs > Accessories

    b. Right-click on Command Prompt, and then click Run as Administrator.

    c. Type the following command and press Enter key:

    takeown /f [path to folder] /r /d y


    if that does not help try resetting permission on the entire drive

    1. For an entire storage drive or partition, do not use this on the system drive

    example is usb drive D: run 2 commands, first sets the target drive, second resets the permissions for the target drive D:



    icacls * /T /Q /C /RESET


    Once permissions are reset see if you can delete or take ownership if needed.


  • Related Question

    windows 7 - Battery and volume icons not showing, greyed out in options
  • KdgDev

    I just started my laptop, running on battery, and these two icons aren't showing up.

    In the settings, they're greyed out.


    enter image description here

    There's probably a registry key controlling this, but I don't know which one that is. Plus, I don't know what caused this.

  • Related Answers
  • Dmatig

    ref: (I've reformatted)

    1. Open the Local Group Policy Editor.

    2. In the left pane, click on an expand User Configuration, Administrative Templates, and Start Menu and Taskbar.

    3. For the Volume Icon - In the right pane, right click on Remove the volume control icon and click on Edit. Select Disabled or Not Configured and click on OK.

    4. For the Power (battery) Icon - In the right pane, right click on Remove the battery meter and click on Edit. Select Disabled or Not Configured and click on OK.

    5. When done, close the Local Group Policy Editor.

    6. Log off and log on, or restart the computer to fully apply.

  • karel

    Chances are your power management settings have been turned off, so...

    1. Click start, in the search bar type msconfig and press Enter.

    2. Select the Startup tab and scroll down until you see power management or anything similar - look for your computer's manufacture name in the manufacturer tab. Tick it and restart your computer.