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

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

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

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

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

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
      
My System SpecsSystem Spec
09 Nov 2012   #6

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

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

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

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
 
My System SpecsSystem Spec
09 Nov 2012   #10

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 for2: Files on external drive cannot be accessed (owner + permissions hell!)
Thread Forum
Strange permissions on external drive Hardware & Devices
Sub Folder permissions issue. Owner not displaying Network & Sharing
Folder permissions hell. Network & Sharing
Change back up files from D Partitioned Drive to External Hard Drive? Performance & Maintenance
External HD detected but can't be accessed Hardware & Devices
External Drive cannot be accessed in windows 7 Drivers
Messed up with Permissions on my external drive. Help!! System Security

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 06:40 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33