Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Files on external drive cannot be accessed (owner + permissions hell!)

08 Nov 2012   #1
zapat3ro

Windows 7 x64
 
 
Files on external drive cannot be accessed (owner + permissions hell!)

Hi there,

I know similar issues have somehow been addressed elsewhere, but it seems my particular problem hasn't quite been faced by many others, so here we go:

I have thousands of files on an external drive. My computer recently crashed, so I had to fresh-install windows 7 (ultimate x64). While some files on the extenal hdd work fine, others won't work given that the owner and permissions are screwed. I can manually right-click any file and go to the properties>security tab and then add "Everyone" or my new user and then add full control and that's it, the file works fine.

BUT I can't be doing this manually for thousands of files!

So I've researched a bit and have installed the registry hack for "Take ownership" on right-clicking a file/folder (Add "Take Ownership" to Explorer Right-Click Menu in Win 7 or Vista - How-To Geek), I've ran a bunch of commands from an admin-level command prompt (icacls, takeown, grant, etc., as per here: Tools to Manage Access Control Lists - Tutorials,Articles,Algorithms,Tips,Examples about Security, Solved changing permissions on multiple files - Vista Forums).

All I now see is some weird user on most files, but no permissions set for me to access them (user is something like S-1-5-123445678890...). And so nothing seems to have been solved. I still have to manually right-click a file and use the security tab to add a new user, set permissions, etc.

How come it works through the gui and not on the command line? My hope is to do it for a whole folder (E:\music) which has literally hundreds and hundreds of folders and mp3 files. It would suck if I'm stuck doing it manually!

Thanks in advance for your help, if any!

:-)


My System SpecsSystem Spec
.
09 Nov 2012   #2
Cymbal Man Freq

Windows 7 Home Premium 64 bit
 
 

I saw some User like S-1-5-... on my XP machine when my Recycle Bin malfunctioned while trying to clear a drive. Had to get bit-unlocker to keep the Recycle Bin from locking up on a folder with that username every time I tried to empty the Recycle Bin. The problem eventually went away, maybe after I repartitioned the other drive.
My System SpecsSystem Spec
09 Nov 2012   #3
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

You want to be able to write/delete/read so have full control of the drive?
Or just a folder (and everything [files/folders]) in it?

Right click the item you want to change permissions for. Then properties, then security. then button advanced.
Post screenshot
My System SpecsSystem Spec
.

09 Nov 2012   #4
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Open elevated command prompt Elevated Command Prompt

Code:
 
TAKEOWN /F  Q:\somefolder  /R  /D  Y
Do this if you wanna be the owner of Q:\somefolder and all objects in it (files/folders, als in subfolders)
Or:

Code:
 
TAKEOWN /F Q:\  /R  /D  Y
If you do that you become owner of all files/folder on Q drive.

Already done that?
My System SpecsSystem Spec
09 Nov 2012   #5
zapat3ro

Windows 7 x64
 
 

Hi all,

Thanks for the replies!

Here are screenshots of the folders. This is just an example, most of the files are organized like this

Oh yeah, and I'd like to eventually have full control of the files (write, copy, erase, etc.).
I'm just running the command you posted, Kaktussoft, I'll check how it turns out!


Attached Images
Files on external drive cannot be accessed (owner + permissions hell!)-main-folder.jpg Files on external drive cannot be accessed (owner + permissions hell!)-sub-folder-level1-.jpg Files on external drive cannot be accessed (owner + permissions hell!)-sub-folder-level2-.jpg Files on external drive cannot be accessed (owner + permissions hell!)-subfolder-level3-.jpg Files on external drive cannot be accessed (owner + permissions hell!)-sub-folder-level4-.jpg Files on external drive cannot be accessed (owner + permissions hell!)-song-level5-.jpg 
My System SpecsSystem Spec
09 Nov 2012   #6
Cymbal Man Freq

Windows 7 Home Premium 64 bit
 
 

I have a Q: drive with 0 bytes on it. What is that?
My System SpecsSystem Spec
09 Nov 2012   #7
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Cymbal Man Freq View Post
I have a Q: drive with 0 bytes on it. What is that?
office 2010 click and run most likely. E is drive letter of external disk

What a mess with permissions!! Most permissions you made are explicit permissions , not inherted from folder above!! And the permissions are for that folder/file only. Not the way to do it!!

Do you want to be able to do everything on that disk? or just music folder and below?
My System SpecsSystem Spec
09 Nov 2012   #8
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Right click on E drive itself. Then properties, then security. then button advanced.
Post screenshot
My System SpecsSystem Spec
09 Nov 2012   #9
zapat3ro

Windows 7 x64
 
 

I know! this is probably the messiest set of files ever

I'd like to keep full use of everything on the disc, but I seem to only have run into problems when using my mp3s on itunes, for example.


Attached Images
Files on external drive cannot be accessed (owner + permissions hell!)-main-drive.jpg 
My System SpecsSystem Spec
09 Nov 2012   #10
Cymbal Man Freq

Windows 7 Home Premium 64 bit
 
 

Speaking as a second poster in this thread.
I tried to Takeown from an Elevated Command Prompt. It gave me an error, invalid argument error/option - 'Eric
Maybe spaces should be underscores? idk
It told me to try TAKOWN /? FOR HELP, and I don't see any Y listed.
This is so DOS and most of that is before my time.

C:\Users\1 Eric Bentsen>TAKEOWN /F C:\Users\1 Eric Bentsen /R /D Y
My System SpecsSystem Spec
Reply

 Files on external drive cannot be accessed (owner + permissions hell!)




Thread Tools




Similar help and support threads
Thread Forum
Can files+folder inherit owner or only permissions?
Assume I have a file D:\aaa\bbb\ccc\ddd.txt Can this file inherit its owner from the wrapping folder? Can folder ccc inherit its owner from the parent folder bbb? Or is inheritance only applicable to access permissions and not to ownership?
System Security
External Hard Drive HELL (Unknown, Not Initialized)
I had a WD 2TB external drive which I transferred successfully to a USB 3.0 enclosure months ago. Then I moved and the drive has been packed away in the trunk of my car since. I just got it out as I need some files on it, and when I hooked it up it didn't work: the computer recognized it as a CD...
Hardware & Devices
Computer Freezes When External Hard Drive is Accessed
I bought an HP v165w 32 GB USB 2.0 flash drive off of Amazon and when I plugged it into my USB port and tried to transfer files to it, my computer froze and I had to hold the power button to shut it down. This happens every time I try to access the flash drive. Additionally I have 2 other...
Hardware & Devices
Folder permissions hell.
From win 7 pro 64bit to win 7 pro 32bit or back constant problems. Seems doing a ton of research and getting the issues solved is only as good as the next update which screws things up to where they were before. The problem was there in xp and it has persisted. I cant believe that one of the...
Network & Sharing
External Drive cannot be accessed in windows 7
Hi. I have a seagate External Hard drive and recently I've upgraded my ASUS K40IN Windows Vista to Windows 7, now I am unable to get my ext Hard drive to be recognised. Someone told me that it could be the USB driver is not updated, Is that true? Can anyone help me please. Thanks
Drivers


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:12.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App