Answered Privileges

  • Tuesday, February 19, 2013 11:54 PM
     
     

    I run Windows 7 Ultimate. I have created a directory of files in "Program Files" and cannot delete it on this frigging system. Back in the XP days I booted the installation disk and then deleted it. Apparently that's no longer possible. The error message tells me to ask the system Administrator. The trouble is that I am the system Administrator for these systems.

    Can anyone tell me how to delete this directory which I created? I don't think it possible under the cmd.exe.

    Renee


    "MODERN PROGRAMMING is deficient in elementary ways BECAUSE of problems INTRODUCED by MODERN PROGRAMMING." Me



    • Edited by Renee Culver Wednesday, February 20, 2013 12:35 AM
    •  

All Replies

  • Wednesday, February 20, 2013 7:33 AM
     
     Answered

    Well rebooting the system several times finally allowed me to delete the directory.

    Renee


    "MODERN PROGRAMMING is deficient in elementary ways BECAUSE of problems INTRODUCED by MODERN PROGRAMMING." Me

    • Marked As Answer by Renee Culver Wednesday, February 20, 2013 7:33 AM
    •  
  • Wednesday, February 20, 2013 9:25 AM
     
     Answered

    Can anyone tell me how to delete this directory which I created? I don't think it possible under the cmd.exe.

    This is a Windows 7 UAC issue. Here are a couple of methods:

    • Open a Command Prompt under elevated privileges, then use rd  /s /q  . . .
    • Turn off UAC, then delete the folder.
  • Wednesday, February 20, 2013 2:53 PM
     
     

    The uac has been off since I installed. I hate the UAC. I deleted the directory after several reboots.

    Thank you for the attribute suggestion.

    Renee


    "MODERN PROGRAMMING is deficient in elementary ways BECAUSE of problems INTRODUCED by MODERN PROGRAMMING." Me


    • Edited by Renee Culver Wednesday, February 20, 2013 2:54 PM
    •  
  • Thursday, February 21, 2013 1:55 AM
    Moderator
     
     

    Hi,

    I would like to explain that windows uses split security tokens when you are logged on with the Administrator account and have UAC on. This means that normal actions will use a standard user token, and only actions that are explicitly marked as needing admin rights will use an Admin token. So, when you open try some permissions, it will use the standard user token. The problem is, the Windows directory is protected from writes unless you have appropriate privileges, and a standard user does not.

    More information:

    User Account Control

    What is User Account Control?

    Regards,

    Vincent Wang

    If you have any feedback on our support, please click here


    Vincent Wang
    TechNet Community Support

  • Thursday, February 21, 2013 3:47 AM
     
     

    I'll repeat one more time. I do not have the UAC on and never have and I do have admin privileges..

    Renee


    "MODERN PROGRAMMING is deficient in elementary ways BECAUSE of problems INTRODUCED by MODERN PROGRAMMING." Me


    • Edited by Renee Culver Thursday, February 21, 2013 3:50 AM
    •