none
How to write to C/Windows folder RRS feed

  • Question

  • I have changed permission and also the Owner of the Windows folder to me but I still cannot write since I get access denied. And also I cannot change the read only flag because I receive access denied again.

    My account belongs to administrator group and UAC has been disabled.
    I searched thru GPEDIT.MSC for something relevant but haven't found anything.
    Saturday, January 17, 2009 7:26 PM

Answers

  • Have you tried to put UAC back on to the first settings and see if that works?  There seems to be some issues with having UAC off and being able to perform some tasks as running Gadgets.  Maybe this is another one of those instances where having the UAC on is needed.

    I jsut checked and i am able to modify files in my C:\Windows folder and i have UAC on the lowest setting before actually having it turned off.

    ~Alex T.~Windows Desktop Experience MVP~
    • Marked as answer by ashrack Saturday, January 17, 2009 10:46 PM
    Saturday, January 17, 2009 7:40 PM
    Moderator

All replies

  • Have you tried to put UAC back on to the first settings and see if that works?  There seems to be some issues with having UAC off and being able to perform some tasks as running Gadgets.  Maybe this is another one of those instances where having the UAC on is needed.

    I jsut checked and i am able to modify files in my C:\Windows folder and i have UAC on the lowest setting before actually having it turned off.

    ~Alex T.~Windows Desktop Experience MVP~
    • Marked as answer by ashrack Saturday, January 17, 2009 10:46 PM
    Saturday, January 17, 2009 7:40 PM
    Moderator
  •  

    What are you trying to write in C:\windows?  Really, that is for the OS and not for everyday users—administrators or not.

     

    However, if you must, then open up a command prompt by selecting “Run as Administrator” from the right-click, context menu.  Navigate to c:\windows and make your modifications.

     

    If you need more control, enable the local administrator account by issuing net user administrator /active:yes.  Switch user to the local admin, make changes, switch back to the user account, and issue net user administrator /active:no.

    Saturday, January 24, 2009 3:05 AM
  • What if you only have one single account ( admin) and it still tells you that you need permission to

    move or copy a folder on the C:\ drive? Is the UAC up for a revamp? or how can we disable it completely?
    Monday, February 9, 2009 1:49 AM
  • dcruse2 said:

    What if you only have one single account ( admin) and it still tells you that you need permission to

    move or copy a folder on the C:\ drive? Is the UAC up for a revamp? or how can we disable it completely?



    I now use the built in administrator account and with it it acts the same way as WinXP did, meaning no problems with permissions.
    Wednesday, February 11, 2009 8:40 AM
  • I just installed this version system. I created a new folder with an account which is in administrater group without any warning or message. And I created a notes in the windows directory it mentioned just needing the administrator permission.
    cooler
    Wednesday, February 11, 2009 4:51 PM
  • Re: DarienHawk67

    Yes, your solution does indeed work - thanks for posting it.

    And remember - sometimes there is a need to write to Windows folders.   We had a software client we installed that could not seem to write a required config file to the Windows\Globalization directory.   So they instruct the user to put the file there for them if their own installation fails to do so.

    There's an example for you of needing to write to the directory.


    Tuesday, August 13, 2019 7:58 PM