You don’t have permission to access this folder

I’m the admin. I’m logged in as the owner.

Why the fuck don’t I have access to all folders?

Conversation 11 comments

  • hrlngrv

    Premium Member
    07 July, 2017 - 2:30 pm

    <p>Because Administrator doesn't mean what it used to mean in Windows.</p><p><br></p><p>You need to use the following.</p><p><br></p><p>takeown /F C:\X\Y\Z /A /R</p><p>icacls C:\X\Y\Z /grant Administrators:F /T</p><p><br></p><p>Yes, it's a PITA. [Bonus points adding this as a right-click action for directories in File Explorer.]</p>

    • lordbaal1

      07 July, 2017 - 3:08 pm

      <blockquote><a href="#137028"><em>In reply to hrlngrv:</em></a></blockquote><p>I tried doing it through the security tab. But I can't find a way to do the whole drive.</p><p>I have to do each folder separately.</p><p>Admins should have access to everything.</p>

      • rameshthanikodi

        07 July, 2017 - 3:26 pm

        <blockquote><a href="#137045"><em>In reply to lordbaal1:</em></a></blockquote><p>Except that you are <em>not</em> the Admin for System-related folders. The System, along with a hidden admin group (for IT Pros), are the real admins. </p><p>If your user account was the Admin account, any random program can execute under your name and f@*&amp; up the entire system, which is what crippled Windows XP for many people. It's how viruses brought down entire labs of PCs.</p><p>This security model was done way back in Vista dude. But it's nothing new. In fact, all modern operating systems do similar things.</p>

        • lordbaal1

          07 July, 2017 - 3:36 pm

          <blockquote><a href="#137052"><em>In reply to FalseAgent:</em></a></blockquote><p>I have UAC turned all the way up. So nothing can get installed without my permission.</p><p>People get viruses because they do not know what they are doing. And go to shady sites, click on suspicious emails.</p>

          • rameshthanikodi

            07 July, 2017 - 3:44 pm

            <blockquote><a href="#137056"><em>In reply to lordbaal1:</em></a></blockquote><p>Dude. Do you even know how UAC works? When you install a program, UAC asks you to give permission to elevate the authority of the installer to Admin – so that the installer can modify system folders when installing.</p><p>If your own User account has Admin authority then UAC becomes pointless, any installer can f@%$k up your system using your User account because it didn't need to trigger UAC to get permission to access the system folders at all. It's why the feature is called UAC in the first place!</p><p>*facepalm*</p>

            • lordbaal1

              07 July, 2017 - 3:53 pm

              <blockquote><a href="#137058"><em>In reply to FalseAgent:</em></a></blockquote><p>I know how UAC works. Obviously you don't.</p>

              • rameshthanikodi

                07 July, 2017 - 4:13 pm

                <blockquote><a href="#137061"><em>In reply to lordbaal1:</em></a></blockquote><p>LOL.</p><p>i'm fucking done here.</p>

            • skane2600

              07 July, 2017 - 5:03 pm

              <blockquote><a href="#137058"><em>In reply to FalseAgent:</em></a></blockquote><p>Not according to MS documentation: msdn.microsoft.com/en-us/library/dd446675(v=ws.10).aspx The primary difference between UAC operation between a standard user and an Admin is that the former has to enter Admin credentials while an Admin can simply OK the operation. Failure to do either one will not allow the operation to succeed. </p>

              • lordbaal1

                07 July, 2017 - 5:17 pm

                <blockquote><a href="#137461"><em>In reply to skane2600:</em></a></blockquote><p>Yeah, and that's how I have it setup. I have to click yes everytime I change a file, or open task manager.</p><p><br></p>

                • skane2600

                  07 July, 2017 - 5:19 pm

                  <blockquote><a href="#137595"><em>In reply to lordbaal1:</em></a></blockquote><p>Wow, that's a very high setting. I'm probably asking for trouble with my weaker setting. :)</p>

      • hrlngrv

        Premium Member
        07 July, 2017 - 4:45 pm

        <p><a href="#137045"><em>In reply to lordbaal1:</em></a></p><p>This is one case where using the command prompt is MUCH MORE EFFIEICENT.</p><p>Also, note the <strong>/R</strong> option to takeown and the <strong>/T</strong> option to icacls. [Such consistency! /s]</p>

Windows Intelligence In Your Inbox

Sign up for our new free newsletter to get three time-saving tips each Friday

"*" indicates required fields

This field is for validation purposes and should be left unchanged.

Thurrott © 2024 Thurrott LLC