I recently installed a second drive into the PC running Windows 10 Pro. The drive is used for data. I usually work as a non-admin user. I have a couple of top-level folders on that drive (D:) and use read/write data in those folders.
I now needed to create another top-level folder (say, D:\new-folder). As the non-admin user I couldn't do it. When I checked permission on the top-level drive, I can see that my non-admin user only has read/execute permission on the drive.
So I logged in as the local Administrator account - but I can't even read the top level drive. I can't even see the used space on it. As soon as I try to click on it in explorer, I get "Access denied".
If I start powershell or command prompt "run as admin" and attempt to cd into drive D:, I get "access denied" error.
I can probably copy all the data out and then re-format the drive, but there's over a terabyte of data and I don't have anywhere to copy it to. I cannot afford to loose this data at the moment. As a local administrator, no matter what I do, I always get "Access denied". This applies to takeown, get-acl, set-acl, etc.
When I log in as a non-admin user, I can view the content of the drive and I can view the current permissions on the drive, which include "Full control" for members of the "Aministrators" group.
How can I get the Administrator to access the drive and make the relevant changes? Note that I have full administrator access to the PC and can make any changes I need.
UPDATE: per suggestion from another place, here's the output of get-acl:
Owner : NT AUTHORITY\SYSTEM
AccessToString : NT AUTHORITY\Authenticated Users Allow -536805376
NT AUTHORITY\Authenticated Users Allow Modify, Synchronize
NT AUTHORITY\SYSTEM Allow FullControl
NT AUTHORITY\SYSTEM Allow 268435456
BUILTIN\Administrators Allow 268435456
BUILTIN\Administrators Allow FullControl
BUILTIN\Users Allow ReadAndExecute, Synchronize
BUILTIN\Users Allow -1610612736
takeown /a /r /d Y /f "D:\"? – Vomit IT - Chunky Mess Style Sep 09 '20 at 12:43chkdsk D: /ffrom an admin command prompt. – Appleoddity Sep 09 '20 at 15:12takeown /F D:\as user nt authority\system results in the same message "Access is denied" – Aleks G Sep 09 '20 at 15:24whoami /groupsto your question. When logged in as the administrator. – Peter Hahndorf Sep 09 '20 at 19:29